<%@ page language="C#" autoeventwireup="true" inherits="Passport_UserReg, WebApp_deploy" enableeventvalidation="false" debug="true" %>

     <form id="form1" runat="server">
        <div id="Reg_form"> 
          <table class="reg_table"  cellpadding="0" cellspacing="0" border="0">
         
             <tr>
                 <th height="50px"><span>*</span>通行证用户名：</th>
                 <td height="50px"><asp:TextBox ID="H_UserName" runat="server" CssClass="reg_textbox"  MaxLength="20"/></td>
                 <td height="50px"><span id="reg_UserName" class="reg_tips_onclick"><asp:literal ID="RegNameLength" runat="server" />个字符(<asp:Literal ID="RegNameFormat" runat="server" />)，注册之后用户名不能修改。</span>
                     
                 </td>
             </tr>
             <tr>
                 <th><span>*</span>通行证密码：</th>
                 <td><asp:TextBox ID="H_UserPassword" runat="server" CssClass="reg_textbox" TextMode="Password" MaxLength="16" onblur="check_RegPassword();"/>
  
                 </td>
                 <td><div id="reg_UserPassword" class="reg_tips_onclick"> 密码长度至少由6个字符组成，密码强度：
                    <asp:Panel ID="ShowPasswordCheck" runat="server">
                         
                       </asp:Panel></div>
                    
                 </td>
             </tr>
             <tr>
                 <th>请再输入一次密码：</th>
                 <td><asp:TextBox ID="RePassword" runat="server" CssClass="reg_textbox" TextMode="Password" onblur="check_RePassword()"/></td>
                 <td><div id="reg_RePassword" class="reg_tips_onclick">请再输入一遍您上面输入的密码。 </div>
                    
                 </td>
             </tr>
             <tr>
                 <th><span>*</span>接收邮件地址：</th>
                 <td><asp:TextBox ID="H_UserEmail" runat="server" CssClass="reg_textbox" onblur="check_RegEmail();"/></td>
                 <td><div id="reg_UserEmail" class="reg_tips_onclick">当你忘记密码时用于将密码发回你所填写的邮件另外还将用于注册验证</div>
                     
                 </td>
             </tr>
             <tr>
                 <th><span>*</span>密码提示问题：</th>
                 <td><asp:DropDownList ID="H_UserQuestion" runat="server" CssClass="reg_textsel" DataTextField="Name" onchange="check_RegQuestion();">
                         </asp:DropDownList></td>
                 <td><div id="reg_UserQuestion" class="reg_tips_onclick">请选择问题</div></td>
             </tr>
             <tr>
                 <th><span>*</span>密码提示答案：</th>
                 <td><asp:TextBox ID="H_UserAnswer" runat="server" CssClass="reg_textbox" onblur="check_RegAnswer()"/></td>
                 <td><div id="reg_UserAnswer" class="reg_tips_onclick">6个字符、数字或3个汉字以上（包括6个）。</div></td>
             </tr>
             <asp:PlaceHolder ID="RegProtected" runat="server" Visible="false">
               <tr>
                 <td colspan="3">
                        <div class="reg_row">
                           <div class="reg_div_left">注册回答问题：</div>
                           <div class="reg_div_right">
                              <div style="float:left;"><asp:Literal ID="RegCheckQuestion" runat="server" /></div>                  
                           </div>   
                        </div>
                        <div class="reg_row">
                           <div class="reg_div_left">注册回答答案：</div>
                           <div class="reg_div_right">
                              <div style="float:left;"><asp:TextBox ID="ReqCheckAnswer" CssClass="reg_textbox" runat="server" /></div>                  
                           </div>   
                        </div>
                 </td>               
              </tr>
             </asp:PlaceHolder>
                
             <tr>
                 <th>性别：</th>
                 <td><asp:RadioButtonList ID="H_UserSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                           <asp:ListItem Text="男" Value="0" Selected="True" />
                           <asp:ListItem Text="女" Value="1" />
                         </asp:RadioButtonList></td>
                 <td></td>
             </tr>
             <tr id="EnableRegCheckCode" runat="server">
                 <th style="height: 24px"><span>*</span>校验码：</th>
                 <td style="height: 24px">
                     <div style="float:left"><asp:TextBox ID="CheckCode" runat="server" Width="100px" CssClass="reg_textbox" MaxLength="5"/></div>
                     <div id="ImgCheckCode" style="float:left"></div>
                 </td>
                 <td style="height: 24px">                  
                     <div id="W_CheckCode" >请输入右侧字符，<a href="javascript:refreshCode();">看不到图片？点击这里。</a></div>
                 </td>
             </tr>         
         </table>  
         <!--注册认证方式-->
         <div id="reg_identiy"></div>       
         <!--注册选填项，后台控制--->
         <div style="width:100%; padding-top:10px;display:none">
             <input type="checkbox" value="1"  onclick="readagreement();" runat="server"  id="read_agreement"/>阅读注册服务协议
         </div>       
         <div  align="center">
             <asp:Literal ID="wait" runat="server" />
        </div>
        <div style="text-align:center; padding:10px 0">
          <asp:Button ID="RegSubmitButton" runat="server" Text="同意以下条款，提交注册信息"  OnClientClick="return validateAll()" OnClick="RegSubmitButton_Click"  />
        </div>
     
      <!--注册协议区-->
      <div id="reg_agreement" >
         <div class="regtitle_style">
            <label>阅读<asp:literal ID="reg_title" runat="server" />服务协议</label>
         </div>
         <div id="content">
             <asp:TextBox ID="reg_content" runat="server" ReadOnly="true" TextMode="MultiLine" CssClass="regcontent" Height="200px" />
         </div>
      </div>  
    </div>
   
            
      <asp:HiddenField ID="H_Other" runat="server" />
      <asp:HiddenField ID="H_ComeUrl" runat="server" />

       
    </form>
   
