<%@ page language="C#" autoeventwireup="true" inherits="Admins_Admins, App_Web_gnqjln3d" enableviewstatemac="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>账号管理</title>
    <link href="images/main.css" rel="stylesheet" type="text/css" />
    <%--Message--%>
    <link href="images/msg.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>

    <script type="text/javascript" src="js/jquery.validate.min.js"></script>

    <script type="text/javascript" src="js/messages_cn.js"></script>

    <script type="text/javascript" src="js/function.js"></script>

    <script type="text/javascript">
        $(function() {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function(label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>

    <%--Message--%>
</head>
<body>
    <form id="form1" runat="server">
    <asp:Panel ID="MyPanel" runat="server" Width="100%">
        <table align="center" border="0" cellpadding="3" cellspacing="1" width="100%">
            <tbody>
                <tr>
                    <td class="td_title" colspan="2" height="25">
                        账号管理
                    </td>
                </tr>
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        姓 名：
                    </td>
                    <td>
                        <asp:TextBox ID="txtUserName" runat="server" Width="150px" MaxLength="50" CssClass="input required"
                        HintTitle="人员姓名" HintInfo="请填写人员姓名，至少1个字符，小于50个字符。"></asp:TextBox>
                    </td>
                </tr>
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        登录账号：
                    </td>
                    <td>
                        <asp:TextBox ID="txtAdminName" runat="server" Width="150px" MaxLength="50"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtAdminName"
                            Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        登录密码：
                    </td>
                    <td>
                        <asp:TextBox ID="txtAdminPwd" runat="server" TextMode="Password" Width="150px" MaxLength="50" minLength="6" ></asp:TextBox>
                        <asp:HiddenField ID="hffPwd" runat="server" />
                    </td>
                </tr>
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        确认密码：
                    </td>
                    <td>
                        <asp:TextBox ID="txtfPwd2" runat="server" TextMode="Password" Width="150px" MaxLength="50" minLength="6"  equalTo="#txtAdminPwd"></asp:TextBox>
                    </td>
                </tr>
                <asp:Panel ID="Panel1" runat="server" Width="100%">
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        权限：
                    </td>
                    <td>
                        <asp:CheckBoxList ID="chkAdminPurview" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Text="系统管理" Value="0"></asp:ListItem>
                            <asp:ListItem Text="账号管理" Value="2"></asp:ListItem>
                            <asp:ListItem Text="企业信息" Value="3"></asp:ListItem>
                            <asp:ListItem Text="新闻管理" Value="4"></asp:ListItem>
                            <asp:ListItem Text="产品管理" Value="6"></asp:ListItem>
                            <%--<asp:ListItem Text="招聘管理" Value="5"></asp:ListItem>
                            <asp:ListItem Text="留言管理" Value="6"></asp:ListItem>
                            <asp:ListItem Text="友情链接管理" Value="7"></asp:ListItem>--%>
                        </asp:CheckBoxList>
                    </td>
                </tr>
                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        开启：
                    </td>
                    <td>
                        <asp:CheckBox ID="chkWorking" Text="开启后方可登录" ForeColor="Red" runat="server" />
                    </td>
                </tr>
                                </asp:Panel>

                <tr class="tr1" onmouseover="this.className='tr2'" onmouseout="this.className='tr1'">
                    <td align="right">
                        备注：
                    </td>
                    <td>
                        <asp:TextBox ID="txtExplain" runat="server" TextMode="MultiLine" MaxLength="100" CssClass="textarea"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="padding-left: 200px;">
                        <asp:Button ID="btn_Save" CssClass="submit" runat="server" Text=" 保 存 " OnClick="btn_Save_Click" />&nbsp;<input
                            id="Reset1" type="reset" value=" 清 空 " class="submit" />
                    </td>
                </tr>
            </tbody>
        </table>
    </asp:Panel>
    </form>
</body>
</html>
