<%
    //-----------------------------------------------------------
    // 文件名称: Tool_ChangePassword_Manage.aspx
    // 页面名称: 后台登录密码修改
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-07-10
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Tool_ChangePassword_Manage, V5Shop.Shop.Tool" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/ManageHeader.ascx" TagName="ManageHeader" TagPrefix="uc3" %>

<!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">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />

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

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <uc3:ManageHeader ID="PageHead" runat="server"/>
            <div id="content">
                <asp:Panel runat="server" ID="PanelShow" Height="104px" Width="100%">
                    <div style="text-align: center; background: #F7F7F7">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                            <!-- 用户名 -->
                            <tr class="FFtr">
                                <td align="right" style="height: 40px; width:20% ">
                                <asp:Label ID="lblOldPass" runat="server" Text="旧密码：" Width="88px">
                                </asp:Label>
                                </td>
                                <td align="left" style="height: 40px;">
                                <asp:TextBox ID="txtOldPass" runat="server" Width="300px" TextMode="Password" MaxLength="50"></asp:TextBox>
                                <span class="NeedMsg">*</span>
                                <asp:CustomValidator ID="cvOldPass" runat="server" ControlToValidate="txtOldPass" Display="Dynamic" ErrorMessage="不能为空" OnServerValidate="ValidateTextBox" ValidateEmptyText="True">
                                </asp:CustomValidator>
                                </td>
                            </tr>
                            <!-- 密码 -->
                            <tr class="F7tr">
                                <td align="right" style="height: 40px;">
                                <asp:Label ID="lblPass01" runat="server" Text="密码：">
                                </asp:Label>
                                </td>
                                <td align="left" style="height: 40px;">
                                <asp:TextBox ID="txtPass01" runat="server" TextMode="Password" Width="300px" MaxLength="50"></asp:TextBox>
                                <span class="NeedMsg">*</span>
                                <asp:CustomValidator ID="cvPass01" runat="server" ControlToValidate="txtPass01" Display="Dynamic" ErrorMessage="不能为空" OnServerValidate="ValidatePass" ValidateEmptyText="True">
                                </asp:CustomValidator>
                                </td>
                            </tr>
                            <!-- 确认密码 -->
                            <tr class="FFtr">
                                <td align="right" style="height: 40px;">
                                <asp:Label ID="lblPass02" runat="server" Text="确认密码：">
                                </asp:Label>
                                </td>
                                <td align="left" style="height: 40px;">
                                <asp:TextBox ID="txtPass02" runat="server" TextMode="Password" Width="300px" MaxLength="50"></asp:TextBox>
                                &nbsp; <span class="NeedMsg">*<asp:CustomValidator ID="cvPassEquls" runat="server" ControlToValidate="txtPass02" Display="Dynamic" ErrorMessage="两次输入的密码不一致." ValidateEmptyText="True" OnServerValidate="cvPassEquls_ServerValidate">
                                </asp:CustomValidator>
                                <asp:CustomValidator ID="cvPass02" runat="server" ControlToValidate="txtPass02" Display="Dynamic" ErrorMessage="不能为空" OnServerValidate="ValidatePass" ValidateEmptyText="True">
                                </asp:CustomValidator>
                                </span></td>
                            </tr>
                            <!-- 确定/更新/重置 -->
                            <tr class="F7tr">
                                <td align="center" style="height: 36px;" colspan="2">
                                <asp:Button ID="btnOK" runat="server" meta:resourcekey="btnAddResource1" OnClick="btnOK_Click" Text="确定" CssClass="button" />&nbsp; &nbsp;<input id="iptReset" runat="server" type="reset" value="重置" class="button" /></td>
                            </tr>
                        </table>
                    </div>
                </asp:Panel>
                &nbsp;</div>
            <uc2:PageBottom ID="PageBottom1" runat="server" />
            <div id="hiddenfield">
                <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                <cc1:ActiveControl ID="ActiveControl" runat="server" Width="1px" />
            </div>
        </div>
    </form>
</body>
</html>
