<%@ Control  Language="C#"%>
<%@ Import Namespace="ShopNum1.Common"%>
 
<style>
.aa {height:30px; overflow:hidden;}
.bb {}
</style>
<script language="javascript">
function aa(obj)
{
 if(obj.className == "aa")
 {
  obj.className = "bb";
 }
 else
  obj.className = "bb";
}
</script>

<div class="us_join" style="width:100%">
	  <h5>注册新会员</h5>
	  <div  class="us_joinMar  clearfix">
      <table width="100%"  border="0" cellpadding="5" cellspacing="3">
        <tr>
          <td width="40%" align="right">用户名：</td>
          <td width="60%" align="left">
                              <asp:TextBox ID="TextBoxMemLoginIDValue" runat="server" CssClass="regist_input"></asp:TextBox>
                              
                            <asp:Label ID="Label7" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:Label ID="Labelshow" runat="server" Text="" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorMemLoginIDValue" 
                            runat="server" ControlToValidate="TextBoxMemLoginIDValue" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorMemLoginIDValue" 
                            runat="server" ControlToValidate="TextBoxMemLoginIDValue" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>                            
 
<asp:Button ID="ButtonConfirmMemberID" runat="server"  Text="检测用户名" CausesValidation="False" CssClass="botton1" />
                      </td>
        </tr>
        <tr>
          <td align="right">电子邮件：</td>
          <td align="left">
                              <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="regist_input"></asp:TextBox>
       
                            <asp:Label ID="Label8" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorEmail" 
                            runat="server" ControlToValidate="TextBoxEmail" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" 
                            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">密码：</td>
          <td align="left">
                              <asp:TextBox ID="TextBoxPwd1" runat="server" TextMode="Password" CssClass="regist_input"></asp:TextBox>
                            <asp:Label ID="Label9" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorPwd1" 
                            runat="server" ControlToValidate="TextBoxPwd1" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorPwd1" 
                            runat="server" ControlToValidate="TextBoxPwd1" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>           </td>
        </tr>
        <tr>
          <td align="right">确认密码：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxPwd2" runat="server" TextMode="Password" CssClass="regist_input"></asp:TextBox>
                            <asp:Label ID="Label10" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorPwd2" 
                            runat="server" ControlToValidate="TextBoxPwd2" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorPwd2" 
                            runat="server" ControlToValidate="TextBoxPwd2" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>          
                    <asp:CompareValidator ID="CompareValidatorPwd" runat="server" 
                        ControlToCompare="TextBoxPwd1" ControlToValidate="TextBoxPwd2" 
                        ErrorMessage="登录密码输入不一致"></asp:CompareValidator>
                      </td>
        </tr>
        <tr>
          <td align="right">会员名称：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxRealName" runat="server" CssClass="regist_input"></asp:TextBox>
                            <asp:Label ID="Label11" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRealName" 
                            runat="server" ControlToValidate="TextBoxRealName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <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">取回密码问题：</td>
          <td align="left">
                                        <asp:DropDownList ID="DropDownListQuestion" runat="server" CssClass="regist_input1">
                        <asp:ListItem> 你爱她吗？</asp:ListItem>
                        <asp:ListItem>你的名字叫什么</asp:ListItem>
                    </asp:DropDownList>  <font color="red">*</font>         </td>
        </tr>
      <tr>
          <td align="right">取回密码答案：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxAnswer" runat="server" CssClass="regist_input"></asp:TextBox>
                            <asp:Label ID="Label12" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorAnswer" 
                            runat="server" ControlToValidate="TextBoxAnswer" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorAnswer" 
                            runat="server" ControlToValidate="TextBoxAnswer" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>           </td>
        </tr>

        </table>
      <div class="aa" onclick="aa(this);">
        <table cellpadding="2" cellspacing="3" width="100%" border="0" class="undis" >
            <tr><td align="right"></td><td style="font-size:13px;color:red">
             高级选项，您可以选择高级选项来完善您的相关信息。</td></tr>
        <tr>
          <td align="right" width="40%">出生年月：</td>
          <td align="left" width="60%">
                    <asp:TextBox ID="TextBoxBirthday" runat="server" CssClass="regist_input"></asp:TextBox>
                    <asp:Label ID="Label13" runat="server" Text="格式如(2001-1-1)" ForeColor="red"></asp:Label>
                        <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>
           </td>
        </tr>
                <tr>
          <td align="right">性别：</td>
          <td align="left">
                       <asp:DropDownList ID="DropDownListSex" runat="server" CssClass="regist_input1">
                            <asp:ListItem Selected="True" Value="1">男</asp:ListItem>
                            <asp:ListItem Value="0">女</asp:ListItem>
                            <asp:ListItem Value="2">保密</asp:ListItem>
                        </asp:DropDownList>           </td>
        </tr>
 
        <tr>
          <td align="right">年龄：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxAge" runat="server" CssClass="regist_input"></asp:TextBox>

                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorAge" 
                            runat="server" ControlToValidate="TextBoxAge" Display="Dynamic" 
                            ErrorMessage="输入格式不正确" 
                            
                            ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>

          </td>
        </tr>
        <tr>
          <td align="right">所在地区：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxArea" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorArea" 
                            runat="server" ControlToValidate="TextBoxArea" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
        <tr>
          <td align="right">从事职业：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxVocation" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorVocation" 
                            runat="server" ControlToValidate="TextBoxVocation" Display="Dynamic" 
                            ErrorMessage="只能输入100个字符" 
                            
                            ValidationExpression="^[\s\S]{0,100}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
        <tr>
          <td align="right">家庭地址：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxAddress" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorAddress" 
                            runat="server" ControlToValidate="TextBoxAddress" Display="Dynamic" 
                            ErrorMessage="只能输入250个字符" 
                            
                            ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
        <tr>
          <td align="right" class="style1">邮政编码：</td>
          <td align="left" class="style1">
                    <asp:TextBox ID="TextBoxPostalcode" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorPostalcode" 
                            runat="server" ControlToValidate="TextBoxPostalcode" Display="Dynamic" 
                            ErrorMessage="只能输入20个字符" 
                            
                            ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
        <tr>
          <td align="right">办公电话：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxOfficeTel" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorOfficeTel" 
                            runat="server" ControlToValidate="TextBoxOfficeTel" Display="Dynamic" 
                            ErrorMessage="只能输入20个字符" 
                            
                            ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
        <tr>
          <td align="right">家庭电话：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxHomeTel" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorHomeTel" 
                            runat="server" ControlToValidate="TextBoxHomeTel" Display="Dynamic" 
                            ErrorMessage="只能输入20个字符" 
                            
                            ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">手机号码：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxMobile" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorMobile" 
                            runat="server" ControlToValidate="TextBoxMobile" Display="Dynamic" 
                            ErrorMessage="只能输入20个字符" 
                            
                            ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">传真号码：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxFax" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorFax" 
                            runat="server" ControlToValidate="TextBoxFax" Display="Dynamic" 
                            ErrorMessage="只能输入20个字符" 
                            
                            ValidationExpression="^[\s\S]{0,20}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">QQ号码：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxQQ" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorQQ" 
                            runat="server" ControlToValidate="TextBoxQQ" Display="Dynamic" 
                            ErrorMessage="只能输入15个字符" 
                            
                            ValidationExpression="^[\s\S]{0,15}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">MSN账号：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxMsn" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorMsn" 
                            runat="server" ControlToValidate="TextBoxMsn" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">证件类型：</td>
          <td align="left">
                 <asp:DropDownList ID="DropDownListCardType" runat="server" CssClass="regist_input1">
                        <asp:ListItem>身份证</asp:ListItem>
                        <asp:ListItem>军人证</asp:ListItem>
                    </asp:DropDownList>
           </td>
        </tr>
      <tr>
          <td align="right" class="style2">证件号码：</td>
          <td align="left" class="style2">
                    <asp:TextBox ID="TextBoxCardNum" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorCardNum" 
                            runat="server" ControlToValidate="TextBoxCardNum" Display="Dynamic" 
                            ErrorMessage="只能输入50个字符" 
                            
                            ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      <tr>
          <td align="right">个人博客或网站：</td>
          <td align="left">
                    <asp:TextBox ID="TextBoxWebSite" runat="server" CssClass="regist_input"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorWebSite" 
                            runat="server" ControlToValidate="TextBoxWebSite" Display="Dynamic" 
                            ErrorMessage="只能输入250个字符" 
                            
                            ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
           </td>
        </tr>
      </table>
      </div>
      <table cellpadding="5" cellspacing="3" width="100%" border="0">
        <tr>
          <td width="40%" align="right">阅读注册协议：</td>
          <td align="left">
                    <asp:CheckBox ID="CheckBoxIfAgree" runat="server" Text="" /><a href="ShopRegProtocol.aspx" target="_blank">我已看过并接受《用户协议》</a></td>
        </tr>
        <tr>
        <td align="right">   <div id="divVerifyCode" runat="server">   
          <asp:Label ID="LabelCheckCode" runat="server" Text="验证码：" ></asp:Label></td>
        <td> <input name="verifycode" type="text" value="请输入验证码"  onfocus="this.value=''" style=" width:115px; " />
         <asp:Image ID="VerifyImg" runat="server"/> </div></td></tr>
        <tr>
          <td>&nbsp;</td>
          <td align="left">      

            
<asp:Button ID="ButtonConfirm" runat="server"  Text="" 
             ToolTip="Submit"  CssClass="regist" />
          </td>
        </tr>
        <tr>
        <td>
              
        </td></tr>
      </table>
 
		</div>
		
