<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_Password_Manage, V5Shop.Member" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>

<!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 runat="server">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <title>威博单用户系统</title>

    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
          <table border="0" cellpadding="5" cellspacing="0" class="membertable">
            <tr>
              <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A"><font color="FFFFFF"><strong>
                <asp:Label ID="Label5" runat="server" Text="- 密码修改 -" />
              </strong> </font> </td>
            </tr>
            <tr>
              <td colspan="2" align="center" bgcolor="#FFFFFF">&nbsp;</td>
            </tr>
            <tr>
              <td width="20%" height="30" align="right" bgcolor="#FAFAFA"><asp:Label ID="Label1" runat="server" Text="原始密码：" /></td>
              <td width="80%" align="left" bgcolor="#FAFAFA">&nbsp;&nbsp;
                  <asp:TextBox ID="txtOldPass" runat="server" TextMode="Password" ValidationGroup="Psw" Width="100px" CssClass="input2" />
                  <span style="color: #009900">*
                    <asp:RequiredFieldValidator ID="rfvOldPass" runat="server" ControlToValidate="txtOldPass" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Green"></asp:RequiredFieldValidator>
              </span></td>
            </tr>
            <tr>
              <td height="30" align="right" bgcolor="#FFFFFF"><asp:Label ID="Label2" runat="server" Text="新密码：" /></td>
              <td bgcolor="#FFFFFF" align="left">&nbsp;&nbsp;
                  <asp:TextBox ID="txtPass01" runat="server" TextMode="Password" ValidationGroup="Psw" Width="100px" CssClass="input2" />
                  <span style="color: #009900">*
                    <asp:RequiredFieldValidator ID="rfvPass01" runat="server" ControlToValidate="txtPass01" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Green"></asp:RequiredFieldValidator>
                  </span></td>
            </tr>
            <tr>
              <td height="30" align="right" bgcolor="#FAFAFA">&nbsp;</td>
              <td bgcolor="#FAFAFA" align="left">&nbsp;&nbsp;
                  <asp:Label ID="Label4" runat="server" Text="建议：在设置密码时为了考虑密码的安全性请使用英文字母加数字或符号的组合密码。" /></td>
            </tr>
            <tr>
              <td height="30" align="right" bgcolor="#FFFFFF"><asp:Label ID="Label3" runat="server" Text="再输一次新密码：" /></td>
              <td bgcolor="#FFFFFF" align="left">&nbsp;&nbsp;
                  <asp:TextBox ID="txtPass02" runat="server" TextMode="Password" ValidationGroup="Psw" Width="100px" CssClass="input2" />
                  <span style="color: #009900">*
                    <asp:RequiredFieldValidator ID="rfvPass02" runat="server" ControlToValidate="txtPass02" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Green"></asp:RequiredFieldValidator>
                </span>
                <asp:CompareValidator ID="cpvPass" runat="server" Display="Dynamic" ErrorMessage="两次输入密码不一致！" ValidationGroup="Psw" ControlToCompare="txtPass01" ControlToValidate="txtPass02" ForeColor="Green"></asp:CompareValidator></td>
            </tr>
            <tr>
              <td height="30" align="right" bgcolor="#FAFAFA">&nbsp;</td>
              <td bgcolor="#FAFAFA" align="left">&nbsp;&nbsp;
                  <asp:Button ID="btnChgPsw" runat="server" Text="修改" OnClick="btnChgPsw_Click" ValidationGroup="Psw" CssClass="input" /></td>
            </tr>
          </table>
        </div>
    </form>
</body>
</html>
