<%@ Page Language="C#" AutoEventWireup="true"  Codebehind="GetUserPassword.aspx.cs" Inherits="PPFOR.User.GetUserPassword" Title="会员密码找回" %>
<%@ Register Src="~/User/UserCenter/PopupMessage.ascx" TagName="popupMessage" TagPrefix="popup" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员密码找回</title>
<link href="/User/Css/global.css" rel="stylesheet" type="text/css" />
<script src="/Admin/JS/ajax.js" type="text/javascript" ></script>
</head>
<body>
<center>
<form id="form1" runat="server">   
    <asp:Label ID="PPFOR_step" runat="server" Enabled="false" Visible="false"></asp:Label>     
    <popup:popupMessage ID="PPFOR_popupMessage" runat="server" />
    <table width="100%" cellpadding="0" cellspacing="0" border="0" class="fortable">
    <thead>
    <tr>
        <td colspan="2"><%=languageMessage.GetMessage("userGetPwdTitle", "会员密码找回")%></td>
    </tr>
    </thead> 
    <tbody style="display:<%=PPFOR_displayOfStep1 %>">
    <tr>
        <td style="width: 15%" align="right"><%=languageMessage.GetMessage("userMemberName", "会员账号：")%></td>
        <td>
            <asp:TextBox ID="PPFOR_memberName" AutoCompleteType="none" runat="server" MaxLength="20" Width="150px"></asp:TextBox>
             <asp:RegularExpressionValidator ValidationGroup="step1" ID="RegularExpressionValidator1" runat="server" SetFocusOnError="true" ValidationExpression="^[A-Za-z0-9\u4e00-\u9fa5]{3,20}$" Display="Dynamic" ControlToValidate="PPFOR_memberName"><br /><%=languageMessage.GetMessage("userNameForamtError", "会员账号不能包含特殊字符（如@，#，$，%，^，&amp;，*，(，)，'，?，{，}，[，]，;，:等），<br />会员账号长度必须在3-20个字符之间！")%></asp:RegularExpressionValidator>
              <asp:RequiredFieldValidator ValidationGroup="step1" ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true" Display="Dynamic" ControlToValidate="PPFOR_memberName"><br /><%=languageMessage.GetMessage("userNameEmptyError", "会员账号不能为空")%></asp:RequiredFieldValidator>                                
        </td>
    </tr> 
    <tr>
        <td>&nbsp;</td>
        <td align="left">
            <asp:Button ID="PPFOR_checkUserName" ValidationGroup="step1" CssClass="blueinput" runat="server" Width="100px" OnClick="PPFOR_checkUserNameClick"/>
            <input name="reset" type="reset" id="reset1" class="blueinput" value="<%=languageMessage.GetMessage("userResetButton", "重置")%>" />            
        </td>
    </tr>
    </tbody>
    <tbody style="display:<%=PPFOR_displayOfStep2 %>">
     <tr>
        <td style="width: 15%" align="right"><%=languageMessage.GetMessage("userEmail", "电子邮箱：")%></td>
        <td>
            <asp:TextBox ID="PPFOR_memberEmail" runat="server" Width="150px" MaxLength="100" TabIndex="2"></asp:TextBox>
            <asp:RegularExpressionValidator ValidationGroup="step2" ID="RegularExpressionValidator4" runat="server" Display="Dynamic" SetFocusOnError="true" ControlToValidate="PPFOR_memberEmail" ValidationExpression="^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"><br /><%=languageMessage.GetMessage("userEmailFormatError", "电子邮箱地址格式不对")%></asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ValidationGroup="step2" ID="RequiredFieldValidator2" runat="server" SetFocusOnError="true" Display="Dynamic" ControlToValidate="PPFOR_memberEmail"><br /><%=languageMessage.GetMessage("userEmailEmptyError", "电子邮箱地址不能为空")%></asp:RequiredFieldValidator>                  
        </td>
    </tr>    
    <tr>
        <td>&nbsp;</td>
        <td align="left">
            <asp:Button ID="PPFOR_checkUserEmail" ValidationGroup="step2" CssClass="blueinput" runat="server" Width="100px" OnClick="PPFOR_checkUserEmailClick"/>
            <input name="reset" type="reset" id="reset2" class="blueinput" value="<%=languageMessage.GetMessage("userResetButton", "重置")%>" />            
        </td>
    </tr>
    </tbody>
    <tbody style="display:<%=PPFOR_displayOfStep3 %>">
     <tr>
        <td style="width: 15%" align="right"><%=languageMessage.GetMessage("userNewPwd", "新密码：")%></td>
        <td>
            <asp:TextBox ID="PPFOR_memberPassword" runat="server" TextMode="Password" Maxlength="20" Width="150px" TabIndex="3"></asp:TextBox>
            <asp:RegularExpressionValidator ValidationGroup="step3" ID="RegularExpressionValidator3" runat="server" SetFocusOnError="true" ValidationExpression="^[^\u4e00-\u9fa5]{6,20}$" Display="Dynamic" ControlToValidate="PPFOR_memberPassword"><br /><%=languageMessage.GetMessage("userNewPwdForamtError", "新密码长度必须在6-20个字符之间，新密码不能使用中文字符")%></asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ValidationGroup="step3" ID="RequiredFieldValidator3" runat="server" SetFocusOnError="true" Display="Dynamic" ControlToValidate="PPFOR_memberPassword"><br /><%=languageMessage.GetMessage("userNewPwdForamtError", "新密码不能为空")%></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
          <td align="right"><%=languageMessage.GetMessage("userCfmNewPwd", "确认新密码：")%></td>
          <td><asp:TextBox ID="PPFOR_confirmMemberPassword" runat="server" TextMode="Password" Maxlength="20" Width="150px" TabIndex="4"></asp:TextBox>
              <asp:CompareValidator ValidationGroup="step3" ID="CompareValidator1" ControlToCompare="PPFOR_memberPassword" ControlToValidate="PPFOR_confirmMemberPassword" runat="server" SetFocusOnError="true" Display="Dynamic"><br /><%=languageMessage.GetMessage("userNewPwdsNoSame", "两次新密码输入不一致")%></asp:CompareValidator>              
          </td>
    </tr>  
    <tr>
        <td>&nbsp;</td>
        <td align="left">
            <asp:Button ID="PPFOR_getUserNewPwd" ValidationGroup="step3" CssClass="blueinput" runat="server" Width="100px" OnClick="PPFOR_getUserNewPwdClick"/>
            <input name="reset" type="reset" id="reset3" class="blueinput" value="<%=languageMessage.GetMessage("userResetButton", "重置")%>" />            
        </td>
    </tr>
    </tbody>
    </table>    
</form>
</center>
</body>
</html>