<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_Informaion_Manage, V5Shop.Member" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <font color="#FFFFFF"><strong></strong></font>
            <table border="0" cellpadding="5" cellspacing="0" class="membertable">
                <tr>
                    <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A">
                        <font color="#FFFFFF"><strong>
                            <asp:Label ID="Label15" runat="server">- 个人信息 -</asp:Label>
                        </strong></font>
                    </td>
                </tr>
                <tr>
                    <td height="20" colspan="2" align="center" bgcolor="#FFFFFF">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td width="20%" align="right" bgcolor="#FAFAFA" style="height: 30px">
                        <asp:Label ID="Label1" runat="server" Text="会员名："></asp:Label></td>
                    <td bgcolor="#FAFAFA" align="left" style="height: 30px">
                        &nbsp;
                        <asp:Label ID="lblName" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px">
                        <asp:Label ID="Label4" runat="server" Text="性别："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px">
                        &nbsp;
                        <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                            <asp:ListItem Selected="True" Value="0">保密</asp:ListItem>
                            <asp:ListItem Value="1">男</asp:ListItem>
                            <asp:ListItem Value="2">女</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FAFAFA" height="30">
                        <asp:Label ID="Label9" runat="server" Text="出生日期："></asp:Label></td>
                    <td align="left" bgcolor="#FAFAFA">
                        &nbsp;
                        <asp:TextBox ID="txtBirthDay" runat="server" Width="100px" CssClass="input2"></asp:TextBox>
                        <img id="ImgBirthDay" alt="打开日历" src="images/calendar1.gif" title="打开日历" />
                        <asp:RegularExpressionValidator ID="revBirthDay" runat="server" ControlToValidate="txtBirthDay" ErrorMessage="必须输入日期。" Display="Dynamic" ForeColor ="Green"
                            ValidationExpression="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$( (20|21|22|23|[0-1]?\d):[0-5]?\d:[0-5]?\d$)*" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" height="30">
                        <asp:Label ID="Label10" runat="server" Text="身份证号："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff">
                        &nbsp;
                        <asp:TextBox ID="txtIdentityCard" runat="server" Width="200px" CssClass="input2" MaxLength="50" ReadOnly="True"></asp:TextBox></td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FAFAFA">
                        <asp:Label ID="Label3" runat="server" Text="电子邮箱："></asp:Label></td>
                    <td bgcolor="#FAFAFA" align="left">
                        &nbsp;
                        <asp:TextBox ID="txtEmail" runat="server" CssClass="input2" Width="200px" MaxLength="50"></asp:TextBox>
                        <span style="color: #009900">* </span>
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="必须输入！" ForeColor="Green"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FFFFFF">
                        <asp:Label ID="Label2" runat="server" Text="真实姓名："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left">
                        &nbsp;
                        <asp:TextBox ID="txtTrueName" runat="server" CssClass="input2" Width="200px" MaxLength="50"></asp:TextBox>
                        <span style="color: #009900">*
                            <asp:RequiredFieldValidator ID="rfvTrueName" runat="server" ControlToValidate="txtTrueName" Display="Dynamic" ErrorMessage="必须输入！" ForeColor="Green"></asp:RequiredFieldValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FAFAFA">
                        <asp:Label ID="Label5" runat="server" Text="联系地址："></asp:Label></td>
                    <td width="80%" bgcolor="#FAFAFA" align="left">
                        &nbsp;
                        <cc1:AreaBox ID="ddlAreaID" runat="server" />
                        <asp:TextBox ID="txtAddress" runat="server" Width="200px" CssClass="input2" MaxLength="150"></asp:TextBox>
                        <span style="color: #009900">*
                            <asp:RequiredFieldValidator ID="rfvAddress" runat="server" ControlToValidate="txtAddress" Display="Dynamic" ErrorMessage="必须输入！" ForeColor="Green"></asp:RequiredFieldValidator>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FFFFFF">
                        <asp:Label ID="Label6" runat="server" Text="邮编 ："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left">
                        &nbsp;
                        <cc1:NumberBox ID="txtPostCode" runat="server" IsInt="True" Width="200px" />
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FAFAFA">
                        <asp:Label ID="Label7" runat="server" Text="联系电话："></asp:Label></td>
                    <td bgcolor="#FAFAFA" align="left">
                        <font color="#999999">&nbsp;
                            <asp:TextBox ID="txtTelephone" runat="server" Width="200px" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" MaxLength="12" />
                        </font>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FFFFFF">
                        <asp:Label ID="Label8" runat="server" Text="手机号码："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left">
                        <font color="#425669"><strong>&nbsp;
                            <cc1:NumberBox ID="txtPhone" runat="server" IsInt="True" Width="200px" MaxLength="11" />
                        </strong></font>
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FAFAFA" height="30">
                        <asp:Label ID="Label11" runat="server" Text="QQ："></asp:Label></td>
                    <td align="left" bgcolor="#FAFAFA">
                        &nbsp;
                        <cc1:NumberBox ID="txtQQ" runat="server" IsInt="True" Width="200px" MaxLength="12" />
                    </td>
                </tr>
                        <asp:Repeater ID="rptUserFields" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td align="right" style="width: 20%; height: 30px;">
                                        <%#Eval("Name") %>：
                                        <input type=hidden name="userFields" value='<%#Eval("keyword") %>' />
                                        <input type=hidden name="userFieldsName" value='<%#Eval("Name") %>' />
                                    </td>
                                    <td align="left" bgcolor="#ffffff" style="width: 80%; height: 30px;">
                                    &nbsp;
                                        <%#Eval("Value") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                <tr>
                    <td align="right" bgcolor="#ffffff" height="30">
                        <asp:Label ID="Label12" runat="server" Text="注册时间："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff">
                        &nbsp;
                        <asp:Label ID="lblRegDate" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FAFAFA" height="30">
                        <asp:Label ID="Label13" runat="server" Text="最后登录时间："></asp:Label></td>
                    <td align="left" bgcolor="#FAFAFA">
                        &nbsp;
                        <asp:Label ID="lblLoginDate" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" height="30">
                        <asp:Label ID="Label14" runat="server">登录次数：</asp:Label></td>
                    <td align="left" bgcolor="#ffffff">
                        &nbsp;
                        <asp:Label ID="lblLoginTimes" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FAFAFA" height="30">
                        <asp:Label ID="Label16" runat="server">最后登录IP：</asp:Label></td>
                    <td align="left" bgcolor="#FAFAFA">
                        &nbsp;
                        <asp:Label ID="lblLoginIP" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <td height="30" colspan="2" align="center" bgcolor="#FFFFFF">
                        <asp:Button ID="btnEdit" runat="server" OnClick="btnEdit_Click" Text="确 定" CssClass="input" /></td>
                </tr>
            </table>
        </div>
    </form>
    <script language="javascript" type="text/javascript">
        Calendar.setup({
            inputField     :    "txtBirthDay",
            ifFormat       :    "%Y-%m-%d", 
            button         :    "ImgBirthDay",
            align          :    "Br",
            singleClick    :    true
        });
    </script>
</body>
</html>
