<%@ page language="C#" autoeventwireup="true" inherits="Passport_forget_password, WebApp_deploy" title="找回密码" %>

<!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>忘记密码</title>
    <link href="Css/PassportStyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="../Skin/CommStyle/js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <link href="../Skin/CommStyle/main.css" rel="stylesheet" type="text/css" />
    <script src="Js/passport.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <!-- new add  -->
    <hl:Top ID="top1" runat="server" />
    <div id="main" class="main">
        <div style="width: 400px; margin-left: auto; margin-right: auto">
            <asp:Panel ID="Step1" runat="server" Width="400px">
                <div class="Login_Main">
                    <div class="login_form">
                        <div class="login_form_top">
                        </div>
                        <div class="login_form_body">
                            <div style="width: 340px; margin-left: 20px;">
                                <asp:RequiredFieldValidator ID="err1" runat="server" ErrorMessage="请输入会员名" CssClass="login_err"
                                    Display="Dynamic" ControlToValidate="UserName" />&nbsp;
                                <asp:Label ID="login_err_show" runat="server" CssClass="login_readme" Visible="true"
                                    Text="第1步,请输入会员名" />
                            </div>
                            <div class="login_input">
                                <span>帐 号：</span><asp:TextBox ID="UserName" runat="server" MaxLength="20" Width="200px" />
                            </div>
                            <div class="login_button">
                                <asp:LinkButton ID="forgetPasswordSubmit" runat="server" Text="下 一 步" Width="130px" Height="34px"
                                    OnClientClick="return chklogin();" CssClass="login_submit" />
                            </div>
                            <div class="login_bottom">
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Panel ID="Step2" runat="server" Width="400px" Visible="false">
                <div class="Login_Main">
                    <div class="login_form">
                        <div class="login_form_top">
                        </div>
                        <div class="login_form_body">
                            <div style="width: 340px; margin-left: 20px;">
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入会员名"
                                    CssClass="login_err" Display="Dynamic" ControlToValidate="UserName" />&nbsp;
                                <asp:Label ID="answer_err" runat="server" CssClass="login_readme" Visible="true"
                                    Text="第2步,请填写答案和邮箱名称" />
                            </div>
                            <div class="login_input" style="text-align: center;">
                                密码保护问题：<b><asp:Literal ID="Question" runat="server" /></b>
                            </div>
                            <div class="login_input" style="text-align: center;">
                                <span>问题答案：</span><asp:TextBox ID="Answer" runat="server" MaxLength="20" Width="200px" />
                            </div>
                            <div class="login_input" style="text-align: center;">
                                <span>安全邮箱：</span><asp:TextBox ID="UserEmail" runat="server" MaxLength="50" Width="200px" />
                            </div>
                            <div class="login_button">
                                <asp:LinkButton ID="ConfirmAnswerBtn" runat="server" CssClass="login_submit" Text="下 一 步"
                                    Width="130px" Height="34px" />
                            </div>
                            <div class="login_input">
                                <ul style="padding-right: 10px;">
                                    <li>如果该电子邮箱地址不正确，或者您已经忘记注册时填写的邮箱地址，那我们无法帮您找回密码。你可以<a href="UserReg.aspx" target="_self">点击这里</a>重新进行注册。</li><li>
                                        如果您忘记了密码保护答案，请通过留言的方式将您的真实姓名、联系电话以及身份证的原件扫描件发送给客服中心。我们会尽快与您取得联系。</li></ul>
                            </div>
                            <div style="height: 60px;" class="login_bottom">
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:Panel ID="Step3" runat="server" Width="400px" Visible="false">
                <div class="Login_Main">
                    <div class="login_form">
                        <div class="login_form_top">
                        </div>
                        <div class="login_form_body">
                            <div style="width: 340px; margin-left: 20px;">
                                <asp:Label ID="pwd_err" runat="server" CssClass="login_readme" Text="第3步,请输入新的密码" />
                            </div>
                            <div class="login_input" style="text-align: center;">
                                <span>新密码：</span><asp:TextBox ID="userSetNewPassword" TextMode="Password" runat="server" />
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="userSetNewPassword"
                                    ValidationExpression="\S{6,16}" ErrorMessage="密码不能太短或太长"></asp:RegularExpressionValidator>
                            </div>
                            <div class="login_input" style="text-align: center;">
                                <span>确认密码：</span><asp:TextBox ID="userSetNewPassword1" TextMode="Password" runat="server" /><asp:CompareValidator
                                    ID="CompareValidator1" runat="server" ControlToValidate="userSetNewPassword1"
                                    ControlToCompare="userSetNewPassword" ErrorMessage="两次的密码不一致"></asp:CompareValidator>
                            </div>
                            <div class="login_button">
                                <asp:LinkButton ID="ConfirmNewPasswrodBtn" runat="server" CssClass="login_submit"
                                    Text="下 一 步" Width="130px" Height="34px" />
                            </div>
                            <div class="login_bottom">
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
        </div>
    </div>
    <hl:Foot ID="Foot1" runat="server" />
    </form>
</body>
</html>
