<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Member_AddMember, 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_DMemberLevelID" runat="server" ErrorMessage="会员级别不能为空"
        ControlToValidate="DMemberLevelID" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TLoginName" runat="server" ErrorMessage="登录名称不能为空"
        ControlToValidate="TLoginName" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TPassword" runat="server" ErrorMessage="登录密码不能为空"
        ControlToValidate="TPassword" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TRepeatPassword" runat="server" ErrorMessage="重复密码不能为空"
        ControlToValidate="TRepeatPassword" Display="None"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CV_TPassword" runat="server" ErrorMessage="密码两次结果不同" ControlToCompare="TPassword"
        ControlToValidate="TRepeatPassword"></asp:CompareValidator>
    <asp:RequiredFieldValidator ID="RFV_TEmail" runat="server" ErrorMessage="电子邮件不能为空"
        ControlToValidate="TEmail" Display="None"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REV_TEmail" runat="server" ErrorMessage="会员的电子邮件格式不对"
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="TEmail"
        Display="None"></asp:RegularExpressionValidator>
    <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: 70px">
                                        会员级别：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="DMemberLevelID" 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>
                                <tr>
                                    <th style="width: 70px">
                                        会员名称：
                                    </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" />
                                        会员的登录名，必须4个字符以上，不建议使用汉字
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        登录密码：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TPassword" CssClass="input_1" TextMode="Password" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        登录密码
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 70px">
                                        确认密码：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TRepeatPassword" CssClass="input_1" TextMode="Password" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        确认登录密码
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        电子邮件：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TEmail" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        会员的电子邮件
                                    </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>
