<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_Password_Manage, V5Shop.Member" title="修改密码" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="float: left; width: 759px">
        <div>
            <img src="images/list/top-1.gif" /></div>
        <div style="border-right: #c5dce7 1px solid; padding-right: 3px; padding-left: 3px;
            padding-bottom: 3px; width: 753px; padding-top: 3px; height: 464px">
            <div style="background: url(images/list/a-1.gif); width: 738px; line-height: 30px;
                height: 30px">
                <div style="padding-left: 10px; font-weight: bold; font-size: 14px; float: left;
                    color: #014d7f">



修改密码</div>
                <div style="padding-right: 10px; float: right">
                    <font color="#ff0000">*</font>表示该项必填</div>
            </div>
            <div class="account">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th width="19%">
                            <span>*</span> 旧密码：</th>
                        <td width="81%">
                               <asp:TextBox ID="txtOldPass" runat="server" TextMode="Password" ValidationGroup="Psw" Width="200px" CssClass="input2" />
                  <span style="color: Red">*
                    <asp:RequiredFieldValidator ID="rfvOldPass" runat="server" ControlToValidate="txtOldPass" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Red"></asp:RequiredFieldValidator>
              </span>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <span>*</span> 新密码：</th>
                        <td>
                          <asp:TextBox ID="txtPass01" runat="server" TextMode="Password" ValidationGroup="Psw" Width="200px" CssClass="input2" />
                  <span style="color: Red">
                    <asp:RequiredFieldValidator ID="rfvPass01" runat="server" ControlToValidate="txtPass01" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Red"></asp:RequiredFieldValidator>
                  </span></td>
                    </tr>
                    <tr>
                        <th>
                            <span>*</span> 确认新密码：</th>
                        <td>
                                <asp:TextBox ID="txtPass02" runat="server" TextMode="Password" ValidationGroup="Psw" Width="200px" CssClass="input2" />
                  <span style="color: Red">
                    <asp:RequiredFieldValidator ID="rfvPass02" runat="server" ControlToValidate="txtPass02" Display="Dynamic" ErrorMessage="必须输入！" ValidationGroup="Psw" ForeColor="Red"></asp:RequiredFieldValidator>
                </span>
                <asp:CompareValidator ID="cpvPass" runat="server" Display="Dynamic" ErrorMessage="两次输入密码不一致！" ValidationGroup="Psw" ControlToCompare="txtPass01" ControlToValidate="txtPass02" ForeColor="Red"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            <asp:Button ID="btnChgPsw" runat="server" Text="修改" OnClick="btnChgPsw_Click" ValidationGroup="Psw" CssClass="input_bg" />
                            <input class="input_bg" type="reset" value="取消"  />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div>
            <img src="images/list/bottom-1.gif" /></div>
    </div>






  <script language="javascript" type="text/javascript">ShowOrHidden(3);</script>
  

<asp:Label ID="lblOldWrong" runat="server" Text="输入的旧密码不正确" Visible="false" ></asp:Label>
<asp:Label ID="lblSuccess" runat="server" Text="密码修改成功" Visible="false" ></asp:Label>








</asp:Content>

