<%@ page language="C#" autoeventwireup="true" inherits="Admin_UserManagement_AddUser, ShopWe" %>

<!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/my.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="all">
            <div class="validate">
                <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="val_ys" runat="server"
                    DisplayMode="List" ForeColor="#FF6600" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" ErrorMessage="用户名不能为空"
                    ControlToValidate="UserName" Display="None"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorPrice" runat="server" ControlToValidate="Email"
                    Display="None" ErrorMessage="用户邮件不能为空"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorPassword" runat="server" ControlToValidate="UserPassword"
                    Display="None" ErrorMessage="用户密码不能为空"></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                        ID="RequiredFieldValidatorValidPssword" runat="server" ControlToValidate="UserPassword2"
                        Display="None" ErrorMessage="重复密码不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                            ID="RegularExpressionValidatorPrice" runat="server" ControlToValidate="Email"
                            Display="None" ErrorMessage="电子邮件格式错误" ForeColor="#FF6600" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                <asp:CompareValidator ID="CompareValidator" runat="server" ControlToCompare="UserPassword2"
                    ControlToValidate="UserPassword" Display="None" ErrorMessage="两次输入的密码不同,请重新输入"></asp:CompareValidator>
                     <asp:RequiredFieldValidator ID="CompareValidatorUserGroup" runat="server" ForeColor="OrangeRed"
                ErrorMessage="会员级别不能为空" ControlToValidate="DropDownListSelectGroupName" Display="None"></asp:RequiredFieldValidator>
            </div>
            <div class="come_title">
                <h2>
                    必填信息</h2>
                <div class="title_help">
                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                    <a href="http://help.shopwe.cn/video/user_demo/user_demo.htm" target="_blank">
                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                    <a href="http://help.shopwe.cn/help/Show.asp?id=23" target="_blank">
                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            用户名：</td>
                        <td>
                            <input class="input" id="UserName" runat="server" style="width: 150px" name="newmessage2" /><h4>
                                <img src="../css/images/help.png" />
                                <span style="color: #999999">用户名不能超过20个字符。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            用户邮件：</td>
                        <td>
                            <input class="input" id="Email" runat="server" style="width: 150px" name="newmessage222" /><h4>
                                <img src="../css/images/help.png" />
                                <span style="color: #999999">用户的联系邮件地址。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            用户密码：</td>
                        <td>
                            <input type="password" class="input" id="UserPassword" runat="server" style="width: 220px"
                                name="newmessage2" /></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            确认密码：</td>
                        <td>
                            <input type="password" class="input" id="UserPassword2" runat="server" style="width: 220px"
                                name="newmessage2" /></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            用户等级：</td>
                        <td>
                            <asp:DropDownList ID="DropDownListSelectGroupName" runat="server"
                                Style="width: 100px; height: 20px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="come_title_bai">
                <h2>
                    选填信息</h2>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            真实姓名：</td>
                        <td colspan="3">
                            <input class="input" id="RealName" runat="server" style="width: 150px" name="newmessage2" /><h4>
                                <img src="../css/images/help.png" />
                                <span style="color: #999999">用户的真实姓名。</span></h4>
                        </td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            联系地址：</td>
                        <td class="bg_1" style="width: 250px">
                            <input class="input4" id="Address" runat="server" style="width: 220px" name="newmessage222" /></td>
                        <td class="bg_1" style="width: 65px">
                            所在地区：</td>
                        <td class="bg_1">
                            <input class="input4" id="Area" runat="server" style="width: 220px" name="newmessage2" /></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            联系电话：</td>
                        <td>
                            <input class="input4" id="Phone" runat="server" style="width: 220px" name="newmessage2" /></td>
                        <td class="bg_1">
                            联系手机：</td>
                        <td class="bg_1">
                            <input class="input4" id="Mobile" runat="server" style="width: 220px" name="newmessage2" /></td>
                    </tr>
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 75px; height: 36px;">
                            邮政编码：</td>
                        <td colspan="3">
                            <input class="input" id="ZipCode" runat="server" style="width: 220px" name="newmessage2" /></td>
                    </tr>
                </table>
            </div>
            <div class="sub">
                <asp:Button ID="Submit" runat="server" Text="确认提交" OnClick="Submit_Click" CssClass="but_add" />
            </div>
        </div>
    </form>
</body>
</html>
