<%@ page language="C#" masterpagefile="~/manage/Main.master" autoeventwireup="true" inherits="manage_ChangeMyInformation, App_Web__x3qmtgh" title="我的资料" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MidContent" runat="Server">
    <div id="main">
        <asp:UpdatePanel ID="MsgUpdatePanel" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                <asp:Label ID="Msg" runat="server" Text="" CssClass="msg" Visible="False" EnableViewState="False"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdatePanel ID="ChangeMyInformationSaveUpdatePanel" UpdateMode="Conditional"
            runat="server">
            <ContentTemplate>
                <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D7D7D7">
                    <tr>
                        <td colspan="2" bgcolor="#FFFFFF" class="mainTitle">
                            我的资料&nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF" class="mainLeftTd">
                            登陆帐号:
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:Label ID="ManagerName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF">
                            用户笔名:
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:TextBox ID="PenName" runat="server"></asp:TextBox><span class="explain">&nbsp;
                                用于网站信息编辑等</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF">
                            旧密码:
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:TextBox ID="OldPassword" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:CustomValidator ID="CustomValidator1" runat="server" Display="Dynamic" ErrorMessage="旧密码错误！"
                                OnServerValidate="CustomValidator1_ServerValidate" ControlToValidate="OldPassword"></asp:CustomValidator><span
                                    class="explain">不修改密码请留空</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF">
                            新密码:
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Password"
                                Display="Dynamic" ErrorMessage="密码至少六位" ValidationExpression="\w{6,32}"></asp:RegularExpressionValidator><span
                                    class="explain">不修改密码请留空</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF">
                            确认新密码:
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:TextBox ID="AffirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="AffirmPassword"
                                ControlToValidate="Password" Display="Dynamic" ErrorMessage="两次密码不一致"></asp:CompareValidator><span
                                    class="explain">不修改密码请留空</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" bgcolor="#FFFFFF">
                        </td>
                        <td bgcolor="#FFFFFF">
                            &nbsp;<asp:Button ID="Chanage" runat="server" Text="修改资料" CssClass="inputBt" OnClick="Chanage_Click" />
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
