<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Setting_AddAdmin, ECMe_Deploy" %>

<!-- Put IE into quirks mode -->
<!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 runat="server">
    <title>添加管理员</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body63.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:RequiredFieldValidator ID="RFV_TLoginName" runat="server" ErrorMessage="登陆名不能为空"
        ControlToValidate="TLoginName" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TPassword" runat="server" ControlToValidate="TPassword"
        Display="None" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TPasswordTwo" runat="server" ControlToValidate="TPasswordTwo"
        Display="None" ErrorMessage="重复密码不能为空"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CV_TPassword" runat="server" ControlToCompare="TPasswordTwo"
        ControlToValidate="TPassword" Display="None" ErrorMessage="两次输入的密码不同,请重新输入"></asp:CompareValidator>
    <div class="header">
        <h2>
            网站设置 &gt; <a href="#" class="admin_blue">添加管理员</a>
        </h2>
    </div>
    <div class="container">
        <div class="title">
            所属权限组</div>
        <asp:ValidationSummary ID="MainValidationSummary" DisplayMode="List" CssClass="error"
            runat="server" />
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 80px">
                                        所属权限组：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="DRoleID" CssClass="input_1" Height="20px" Width="200px" runat="server">
                                        </asp:DropDownList>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        此管理员所属于的权限组
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="title">
            重要信息</div>
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 80px">
                                        登陆账号：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TLoginName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        管理员登陆账号，不能超过50个字符
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        登陆密码：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TPassword" TextMode="Password" CssClass="input_1" Width="200px"
                                            runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        重复密码：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TPasswordTwo" TextMode="Password" CssClass="input_1" Width="200px"
                                            runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="footer_button">
            <asp:Button ID="BSubmit" runat="server" Text="保存当前操作" CssClass="footer_but" OnClick="BSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
