<%@ page language="C#" autoeventwireup="true" inherits="Admin_Member_Operate, GroupTGWeb_deploy" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ShopNum1" %>
<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="uc1" %>
<!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>Untitled Page</title>
    <link type="text/css" rel="Stylesheet" href="css/index.css" />
</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;">
    <form id="form1" runat="server">
    <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="True"
        EnableScriptLocalization="True" />
    <div class="navigator">
        <asp:Label ID="LabelPageTitle" runat="server" Text="【 新增会员 】"></asp:Label>
    </div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr>
            <td align="right" width="20%">
                &nbsp;
            </td>
            <td align="left">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelMemLoginID" runat="server" Text="会员ID："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxMemLoginID" runat="server" CssClass="input2"></asp:TextBox>
                <asp:Label ID="Label3" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorMemLoginID" runat="server"
                    ControlToValidate="TextBoxMemLoginID" Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxMemLoginID"
                    Display="Dynamic" ErrorMessage="会员ID格式不正确" ValidationExpression="^(([\u4e00-\u9fa5]{2,12})|([a-zA-Z0-9_@]{5,24})|([a-zA-Z0-9_@\u4e00-\u9fa5]{5,24}))$">
                </asp:RegularExpressionValidator>
                <asp:Button ID="ButtonCheckName" runat="server" OnClick="ButtonCheckName_Click" Text="检测会员名"
                    Width="125px" CausesValidation="False" />
                <br />
                <span id="MemberRegister1">由英文字母、数字中文或下划线组成，长度在5-24位</span>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelPwd" runat="server" Text="登录密码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPwd" runat="server" CssClass="input2" TextMode="Password"></asp:TextBox>
                <asp:Label ID="Label4" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>               
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorPwd" runat="server"
                    ControlToValidate="TextBoxPwd" Display="Dynamic" ErrorMessage="密码长度限制为6-30位"
                    ValidationExpression="^[\s\S]{6,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelPwd2" runat="server" Text="登录密码确认："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPwd2" runat="server" CssClass="input2" TextMode="Password"></asp:TextBox>
                <asp:Label ID="Label5" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBoxPwd"
                    ControlToValidate="TextBoxPwd2" ErrorMessage="登录密码输入不一致"></asp:CompareValidator>              
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorPwd2" runat="server"
                    ControlToValidate="TextBoxPwd2" Display="Dynamic" ErrorMessage="密码长度限制为6-30位"
                    ValidationExpression="^[\s\S]{6,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelPayPwd" runat="server" Text="支付密码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPayPwd" runat="server" CssClass="input2" TextMode="Password"></asp:TextBox>
                <asp:Label ID="Label6" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorPayPwd" runat="server"
                    ControlToValidate="TextBoxPayPwd" Display="Dynamic" ErrorMessage="密码长度限制为6-30位"
                    ValidationExpression="^[\s\S]{6,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelPayPwd2" runat="server" Text="支付密码确认："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPayPwd2" runat="server" CssClass="input2" TextMode="Password"></asp:TextBox>
                <asp:Label ID="Label7" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="TextBoxPayPwd"
                    ControlToValidate="TextBoxPayPwd2" ErrorMessage="支付密码输入不一致"></asp:CompareValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorPayPwd2" runat="server"
                    ControlToValidate="TextBoxPayPwd2" Display="Dynamic" ErrorMessage="密码长度限制为6-30位"
                    ValidationExpression="^[\s\S]{6,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelMemberRankGuid" runat="server" Text="会员等级："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelMemberRankGuidValue" runat="server" CssClass="input2"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelCreditMoney" runat="server" Text="信用额度："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxCreditMoney" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorCreditMoney" runat="server"
                    ControlToValidate="TextBoxCreditMoney" Display="Dynamic" ErrorMessage="输入格式不正确"
                    ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelRealName" runat="server" Text="会员姓名："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxRealName" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorRealName" runat="server"
                    ControlToValidate="TextBoxRealName" Display="Dynamic" ErrorMessage="姓名最多50个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelSex" runat="server" Text="性别："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListSex" runat="server" CssClass="select2">
                    <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                    <asp:ListItem Value="0">女</asp:ListItem>
                    <asp:ListItem Value="2">保密</asp:ListItem>
                </asp:DropDownList>
                <asp:Label ID="Label8" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelBirthday" runat="server" Text="出生日期："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxBirthday" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorBirthday" runat="server"
                    ControlToValidate="TextBoxBirthday" Display="Dynamic" ErrorMessage="时间格式不正确"
                    ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                <img id="imgBirthday" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                    align="absmiddle" />
                <ShopNum1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="TextBoxBirthday"
                    PopupButtonID="imgBirthday" CssClass="ajax__calendar">
                </ShopNum1:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelAge" runat="server" Text="年龄："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxAge" runat="server" CssClass="input2" MaxLength="3"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorAge" runat="server"
                    ControlToValidate="TextBoxAge" ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelArea" runat="server" Text="所在地区："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxArea" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle6" runat="server"
                    ControlToValidate="TextBoxArea" Display="Dynamic" ErrorMessage="地区最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelVocation" runat="server" Text="从事行业："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxVocation" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorVocation" runat="server"
                    ControlToValidate="TextBoxVocation" Display="Dynamic" ErrorMessage="行业最多50个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelAddress" runat="server" Text="家庭住址："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxAddress" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle8" runat="server"
                    ControlToValidate="TextBoxAddress" Display="Dynamic" ErrorMessage="住址最多250个字符"
                    ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelPostalcode" runat="server" Text="邮政编码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPostalcode" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle10" runat="server"
                    ControlToValidate="TextBoxPostalcode" Display="Dynamic" ErrorMessage="编码最多20个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelEmail" runat="server" Text="电子邮件："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="input2"></asp:TextBox>
                <asp:Label ID="Label9" runat="server" ForeColor="#FF0066" Text="*"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorEmail" runat="server" ControlToValidate="TextBoxEmail"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle9" runat="server"
                    ControlToValidate="TextBoxEmail" Display="Dynamic" ErrorMessage="邮件最多100个字符"
                    ValidationExpression="^[\s\S]{0,100}$"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail"
                    Display="Dynamic" ErrorMessage="邮箱格式不正确！" ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelMobile" runat="server" Text="手机号码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxMobile" runat="server" CssClass="input2"></asp:TextBox><span
                    style="color: Red">*</span>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle15" runat="server"
                    ControlToValidate="TextBoxMobile" Display="Dynamic" ErrorMessage="手机号最多20个字符"
                    ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxMobile"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelOfficeTel" runat="server" Text="办公电话："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxOfficeTel" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle11" runat="server"
                    ControlToValidate="TextBoxOfficeTel" Display="Dynamic" ErrorMessage="电话最多20个字符"
                    ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelHomeTel" runat="server" Text="家庭电话："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxHomeTel" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle12" runat="server"
                    ControlToValidate="TextBoxHomeTel" Display="Dynamic" ErrorMessage="家庭电话最多20个字符"
                    ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelFax" runat="server" Text="传真号码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxFax" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle13" runat="server"
                    ControlToValidate="TextBoxFax" Display="Dynamic" ErrorMessage="传真号最多20个字符" ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelQQ" runat="server" Text="腾讯QQ："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxQQ" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle14" runat="server"
                    ControlToValidate="TextBoxQQ" Display="Dynamic" ErrorMessage="QQ最多15个字符" ValidationExpression="^[\s\S]{0,15}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelMsn" runat="server" Text="MSN帐号："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxMsn" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle16" runat="server"
                    ControlToValidate="TextBoxMsn" Display="Dynamic" ErrorMessage="MSN最多20个字符" ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelCardType" runat="server" Text="证件类型："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListCardType" runat="server" CssClass="select2">
                    <asp:ListItem>身份证</asp:ListItem>
                    <asp:ListItem>军人证</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelCardNum" runat="server" Text="证件号码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxCardNum" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle17" runat="server"
                    ControlToValidate="TextBoxCardNum" Display="Dynamic" ErrorMessage="身份证号最多50个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelWebSite" runat="server" Text="个人博客或网站："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxWebSite" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle18" runat="server"
                    ControlToValidate="TextBoxWebSite" Display="Dynamic" ErrorMessage="网站最多250个字符"
                    ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <%--<tr>
            <td align="right">
                <asp:Label ID="LabelQuestion" runat="server" Text="取回密码问题："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListQuestion" runat="server" CssClass="select2">
                    <asp:ListItem> 你爱她吗？</asp:ListItem>
                    <asp:ListItem>你的名字叫什么</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelAnswer" runat="server" Text="取回密码答案："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxAnswer" runat="server" CssClass="input2"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle19" runat="server"
                    ControlToValidate="TextBoxAnswer" Display="Dynamic" ErrorMessage="答案最多50个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>--%>
        <tr>
            <td align="right">
                <asp:Label ID="LabelIsForbid" runat="server" Text="禁用状态："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListIsForbid" runat="server" CssClass="select2">
                    <asp:ListItem Value="1">禁用</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">启用</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelRegDate" runat="server" Text="注册日期："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelRegDateValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelLastLoginDate" runat="server" Text="最后登录日期："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelLastLoginDateValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelLastLoginIP" runat="server" Text="最后登录IP："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelLastLoginIPValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelLoginTime" runat="server" Text="登录次数："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelLoginTimeValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelAdvancePayment" runat="server" Text="当前预存款："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelAdvancePaymentValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelScore" runat="server" Text="当前积分："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelScoreValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelLockAdvancePayment" runat="server" Text="当前冻结预存款："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelLockAdvancePaymentValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelLockSocre" runat="server" Text="当前冻结积分："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelLockSocreValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelCostMoney" runat="server" Text="总消费金额："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelCostMoneyValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelTradeCount" runat="server" Text="交易量："></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="LabelTradeCountValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #EEEEEE;">
            <td>
            </td>
            <td>
                <asp:Button ID="ButtonConfirm" runat="server" OnClick="ButtonConfirm_Click" Text="确定"
                    CausesValidation="true" ToolTip="Submit" CssClass="bt2" />
                <input id="inputReset" runat="server" type="reset" value="重置" class="bt2" />
                <a href="Member_List.aspx">
                    <img src="images/back.png" border="0" align="top" /></a>
                <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hiddenGuid" runat="server" Value="0" />
    </form>
</body>
</html>
