<%@ Page Language="c#" Inherits="WebApp.ChangePwd" CodeBehind="ChangePwd.aspx.cs" %>   
<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
 <title>修改密码</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/adminCssEdit.htm" -->
</head>
<body>
    <div class="edit-func-box func-box">
        <div class="hd">
            修改密码
        </div>
        <form id="frmChangePwd" method="post" runat="server">
        <div class="bd">
            <table class="edit-table">
                <tr>
                    <th width="25%">
                        用户名：
                    </th>
                    <td width="75%">
                        <asp:Label ID="lblUser" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th width="25%">
                        原密码：
                    </th>
                    <td width="75%">
                        <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password" CssClass="input-txt input-txt1"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                            ControlToValidate="txtOldPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th width="25%">
                        新密码：
                    </th>
                    <td width="75%">
                        <asp:TextBox ID="txtNewPwd" runat="server" CssClass="input-txt input-txt1"
                            TextMode="Password" onkeyup="changePwdRank(this);"></asp:TextBox>
                        <span id="PasswordCheck" style="position: relative; top: -5px; display: none; background-position: 0px 0px;
                            background-image: url(images/password_check_bk.gif); width: 225px; background-repeat: no-repeat;
                            height: 15px; overflow: hidden"></span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                            ControlToValidate="txtNewPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th width="25%">
                        确认密码：
                    </th>
                    <td width="75%">
                        <asp:TextBox ID="txtConfirmPwd" runat="server" CssClass="input-txt input-txt1" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                            ControlToValidate="txtConfirmPwd" Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
            <div class="ft">
                <div class="action-field txt-c">
                    <asp:Button ID="btnSave" runat="server" Text="更改" OnClientClick="if (!CheckPassword()){return false;};"
                        OnClick="btnSave_Click" CssClass="btn"></asp:Button>
                    <asp:Label ID="lblInfo" runat="server" ForeColor="Red"></asp:Label>
                </div>
                <!--/action-field-->
            </div>
        </div>
        </form>
    </div>
</body>
</html>
