<%@ page language="C#" autoeventwireup="true" inherits="Passport_PasswordManager, WebApp_deploy" title="密码设置" enableEventValidation="false" %>

<form id="form1" runat="server">
    <br />
    <!--修改问题答案区-->
    <asp:Panel ID="ModifyQuestionZone" runat="server" >
    <div class="div_middle_content">
        <fieldset>
            <legend><strong>设置密码保护</strong></legend>
            <br />
            <asp:Panel ID="NoSetQuestionMsg" runat="server" Visible="false">
               <div style="padding:15px; background:#fff7d9; width:450px; height:16px;">
                   提醒：您还<strong>没有</strong>设置密码保护，为了您的帐号安全，请尽快在下面设置。                       
               </div>                    
            </asp:Panel>
            <asp:Panel ID="ModifyQuestionMsg" runat="server" Visible="false" Width="393px">
                需要修改密码保护问题和答案<a href="PasswordManager.aspx?action=edit" target="_self" >请点此处</a>。
            </asp:Panel>
            <br />
            
            <!--修改问题答案-->
            <asp:Panel ID="SaveQuestionZone" runat="server" Visible="false">
            <div style="width:98%">
                <div class="div_row">
                   <div class="div_left">选择问题：</div>
                   <div   class="div_right">
                      <asp:DropDownList ID="H_SaveQuestion" runat="server" Width="157px" DataTextField="Name" >
                            <asp:ListItem Text="请选择" Value="" />
                         </asp:DropDownList>
                   </div>
                </div>
                <div class="div_row"> 
                 <div class="div_left">答案：</div>
                   <div class="div_right">
                       <asp:TextBox ID="H_SaveAnswer" runat="server"/>
                   </div>
                </div>
                <div class="div_row">
                 <div class="div_left">安全电子邮箱地址：</div>
                   <div class="div_right">
                        <asp:TextBox ID="H_UserEmail" runat="server"/>
                   </div>
                </div>
                <div class="div_row" >
                   <asp:Label ID="ChangeQuestionAnswer_tips" runat="server" />
                </div>
                <div class="div_row">
                    <br />
                   <asp:Button ID="Submit1" runat="server" Text="确 定" CausesValidation="False" />
                    <br />
                </div>
                <div class="div_row" style="text-align: left">
                    <p ><strong>温馨提示</strong>：</p>
                        <ul>
                            <li>密码保护功能可以保障您的会员名更安全，当密码发生问题时，能帮您更安全快捷的取回。 </li>
                            <li>请一定要填写并牢记您的安全邮箱以便接收您的密码。包括安全邮箱在内的密码保护信息，系统不会对外公开。 </li>
                            <li>请您认真填写密码保护的问题，要牢记填写的每项内容，以便系统将根据该资料为您提供“修改密码”、“取回密码”服务。 </li>
                        </ul>
                </div>
            </div>
            </asp:Panel>
            
            <!--保存问题答案-->
            <asp:Panel ID="EditQuestionZone" runat="server">
               <div style="width:98%">
                    <div class="div_row">
                       <div class="div_left">密码保护问题：</div>
                       <div class="div_right">
                         <asp:Literal runat="server" ID="H_UserQuestion" />
                       </div>
                    </div>
                    <div class="div_row">
                       <div class="div_left">答案：</div>
                       <div class="div_right"><asp:TextBox runat="server" ID="H_UserAnswer" /></div>
                    </div>
                    <div class="div_row">
                        <div class="div_left"></div>
                        <div class="div_right"><asp:Label runat="server" ID="err_tips"/></div>
                    </div>
                    <div class="div_row" style="margin:10px 0 10px 0;">
                       <asp:Button ID="ConfirmAnswerRight" runat="server" Text="确 定" CausesValidation="False"/>&nbsp;&nbsp;<input type="button" value="返 回" onclick="javascript:history.go(-1);" />
                    </div>
               </div>
            </asp:Panel>
        </fieldset>               
    </div> 
    </asp:Panel>
    
    <!--修改密码区-->
    <asp:Panel ID="ChangePasswordZone" runat="server">
    <div class="div_middle_content">      
        <fieldset>
            <legend><strong>修改密码</strong></legend>                   
            <div style="width:98%">
            <asp:Panel ID="CheckUserIdentify" runat="server" Visible="false">
                <div class="div_row">
                   <div class="div_left">输入认证时使用的身份证号码：</div>
                   <div class="div_right"><asp:TextBox ID="IDNum" runat="server"  MaxLength="18"/></div>
                </div>  
             </asp:Panel> 
                <div class="div_row">
                   <div class="div_left">现在密码：</div>
                   <div class="div_right">
                      <asp:TextBox ID="H_OldPassword" runat="server" TextMode="Password" MaxLength="20"/></div>
                </div>  
                <div class="div_row">
                   <div class="div_left">新密码：</div>
                   <div class="div_right">
                      <asp:TextBox ID="H_NewPassword" runat="server" TextMode="Password" MaxLength="20"/><br />
                   </div>
                </div>  
                <div class="div_row">
                   <div class="div_left">再输一遍新密码：</div>
                   <div class="div_right">
                      <asp:TextBox ID="H_RePassword" runat="server" TextMode="Password" MaxLength="20"/>
                   </div>
                </div>
                <div class="div_row">
                   <asp:Label ID="ChangePassword_err_tips" runat="server" />
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入新密码" ControlToValidate="H_OldPassword"/>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次输入密码不相同" ControlToValidate="H_RePassword" ControlToCompare="H_NewPassword"/>
                  
                 </div>
                 <div class="div_row">                    
                    <asp:Button ID="ChangePassword" runat="server" Text=" 确 定 " />&nbsp;&nbsp;<input type="button" onclick="history.go(-1)" value=" 返 回 " /> 
                     <br />
                 </div>
                 <div class="div_row" style="text-align: left">
                   <span  style="color: #ff5500"><strong>提示：</strong></span>
                        <ul>
                            <li>密码由6-16个字符组成，请使用英文字母加数字或符号的组合密码，不能单独使用英文字母、数字或符号作为您的密码。 </li>
                            <li>如果您忘记了密码保护答案，请通过留言的方式将您的真实姓名、联系电话以及身份证的原件扫描件发送给 <a href="#"
                                target="_blank"><span style="color: #0044dd">客服中心</span></a>。我们会尽快与您取得联系。 </li>
                        </ul>
                 </div>  
             </div> 
        </fieldset>
    </div>
    <br />
    </asp:Panel>
    
    </form>


