<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="changeInfo.aspx.cs" Inherits="_changeInfo" %>
<%@ Register TagPrefix="anthem" Namespace="Anthem" Assembly="Anthem" %>
<!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>
    <title>修改资料</title>
<script language="javascript" type="text/javascript">
<!--
function popWinUpdate()
{
    return confirm('是否要修改您的资料?');
}
//--> 
</script>

    <link href="" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
    <form id="form1" runat="server" >
    <anthem:Panel runat=server AutoUpdateAfterCallBack=true ID="ChangeInfoPanel">
<asp:LoginView ID="LoginView1" runat="server">
            <LoggedInTemplate>
<table border="1" cellpadding="0" bordercolor="#CCCCCC" style="width: 311px ; border-style:solid">
                                <tr>
                                    <td align="center" colspan="2" style="height: 28px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; " atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" bgcolor="#507cd1">
                                        <span style="color: #ffffff">
                                        修改资料</span></td>
                                </tr>
                                <tr>
                                    <td align="right" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >电子邮件：</td>
                                    <td align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid" >
                                        &nbsp;<asp:TextBox ID="Email" runat="server" Width="185px" MaxLength="50" ></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="CurrentPasswordRequired" runat="server" ControlToValidate="Email"
                                            ToolTip="电子邮件地址不能为空。" ValidationGroup="post" Display="Dynamic">*</asp:RequiredFieldValidator><anthem:RegularExpressionValidator AutoUpdateAfterCallBack=true ID="emailValidator" runat="server" ControlToValidate="Email"
                ErrorMessage="*Email格式有误，请重新输入!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="post" SetFocusOnError="True" Display="Dynamic"></anthem:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >个人主页：</td>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        &nbsp;<asp:TextBox ID="Homepage" runat="server" Width="185px" MaxLength="50"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="right" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >
                                        MSN：</td>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        &nbsp;<asp:TextBox ID="msn" runat="server" Width="185px" MaxLength="50"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" align="right" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >
                                        Q Q：</td>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        &nbsp;<asp:TextBox ID="qq" runat="server" Width="185px" MaxLength="20"></asp:TextBox>
                                        <anthem:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
                                            AutoUpdateAfterCallBack="true" ControlToValidate="qq" Display="Dynamic" ErrorMessage="*QQ号码必须是数字!"
                                            SetFocusOnError="True" ValidationExpression=".*[0-9]" ValidationGroup="post"></anthem:RegularExpressionValidator></td>
                                </tr>
                                <tr>
                                    <td align="right" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >
                                        国 家：</td>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        &nbsp;<asp:TextBox ID="country" runat="server" Width="185px" MaxLength="20"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="right" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; width: 81px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" height="30" >
                                        城 市：</td>
                                    <td style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" align="left" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        &nbsp;<asp:TextBox ID="city" runat="server" Width="185px" MaxLength="20"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc" >
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" colspan="2" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid; height: 32px;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc">
                                        <anthem:Button ID="ChangeButton" runat="server" OnClick="ChangeButton_Click" Text="修改资料" PreCallBackFunction="popWinUpdate" ValidationGroup="post" />&nbsp;&nbsp;&nbsp;
                                        <asp:Button ID="CancelButton" runat="server" OnClientClick="window.close();" CausesValidation="False" Text="关 闭" /></td>
                                </tr>
    <tr>
        <td align="center" colspan="2" style="border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" atomicselection="false" bordercolordark="#cccccc" bordercolorlight="#cccccc">
        </td>
    </tr>
                            </table>
</LoggedInTemplate>
            <AnonymousTemplate>
                请先登录!
            </AnonymousTemplate>
        </asp:LoginView>
</anthem:Panel>
    </form>
</body>
</html>
