<%@ Page Language="C#" AutoEventWireup="true" Inherits="Member_GetPassword" CodeBehind="GetPassword.aspx.cs" %>

<%@ Register Src="../UserControl/Footer.ascx" TagName="Footer" TagPrefix="uc2" %>
<%@ Register Src="../UserControl/Header.ascx" TagName="ChannelHeader" TagPrefix="uc1" %>
<html>
<head>
    <title>
        <%=System.Configuration.ConfigurationManager.AppSettings["SiteName"]%>→ 会员中心 → 取回密码
    </title>
    <link href="{StylePath}/Base.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
    <uc1:ChannelHeader ID="ChannelHeader1" runat="server" />
    <form id="form1" runat="server">
    <table width="984" cellpadding="0" cellspacing="0">
        <tr>
            <td width="947">
                <img src='../Images/arrow.gif' />
                您现在的位置： <a href="../">
                    <%=System.Configuration.ConfigurationManager.AppSettings["SiteName"]%></a> →
                会员中心 →&nbsp; <a href="GetPassword.aspx">取回密码</a>
            </td>
        </tr>
    </table>
    <br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table border="0" cellpadding="0" cellspacing="0" width="984">
                <tr>
                    <td valign="top" width="225" style="width: 984px" align="center">
                        <asp:Wizard ID="Wizard1" runat="server" Width="500px" ActiveStepIndex="2" 
                            OnNextButtonClick="Wizard1_NextButtonClick" 
                            onfinishbuttonclick="Wizard1_FinishButtonClick">
                            <WizardSteps>
                                <asp:WizardStep runat="server" Title="一、选择密码取回方式">
                                    <table style="table-layout: fixed; border-collapse: collapse" cellspacing="0" cellpadding="3"
                                        width="98%" align="center" border="0">
                                        <tbody>
                                            <tr>
                                                <td width="8%" height="32" align="center" background="../Images/demo_53.gif">
                                                    &nbsp;
                                                </td>
                                                <td width="92%" align="center" background="../Images/demo_53.gif">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" valign="top">
                                                    <table border="0" cellpadding="4" style="width: 100%">
                                                        <tr>
                                                            <td width="21%" style="width: 100%">
                                                                <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                                                                    <asp:ListItem Value="0" Selected="True">通过原注册邮箱</asp:ListItem>
                                                                    <asp:ListItem Value="1">通过密码提示问题</asp:ListItem>
                                                                </asp:RadioButtonList>
                                                                <br />
                                                                用户名：<asp:TextBox runat="server" ID="TB_UserName">
                                                                </asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_UserName"
                                                                    ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </asp:WizardStep>
                                <asp:WizardStep runat="server" Title="二、填写必要资料">
                                    <asp:Panel ID="Panel1" runat="server">
                                        原电邮地址：<asp:TextBox ID="TB_eMail" runat="server"></asp:TextBox>
                                    </asp:Panel>
                                    <asp:Panel ID="Panel2" runat="server">
                                        密码问题：<asp:Label ID="LB_Question" runat="server"></asp:Label>
                                        <br />
                                        <br />
                                        密码答案：<asp:TextBox ID="TB_Answer" runat="server"></asp:TextBox>
                                    </asp:Panel>
                                </asp:WizardStep>
                                <asp:WizardStep runat="server" Title="三、取回密码">
                                    <asp:Panel ID="Panel3" runat="server">
                                        点击“完成”将修改密码的邮件已经发往原注册邮箱。</asp:Panel>
                                    <asp:Panel ID="Panel4" runat="server">
                                        　　密码：<asp:TextBox ID="TB_PSW1" runat="server" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="TB_PSW1" ErrorMessage="请输入"></asp:RequiredFieldValidator>
                                        <br />
                                        确认密码：<asp:TextBox ID="TB_PSW2" runat="server"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                            ControlToValidate="TB_PSW2" ErrorMessage="请输入"></asp:RequiredFieldValidator>
                                        &nbsp;请输入要取回密码的用户名</asp:Panel>
                                </asp:WizardStep>
                            </WizardSteps>
                            <SideBarStyle VerticalAlign="Top" Width="200px" />
                        </asp:Wizard>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    <uc2:Footer ID="Footer1" runat="server" />
    </form>
</body>
</html>
