<%@ Page language="c#" Codebehind="MyInfo.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.MyInfo" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="MemberHelper" Src="Modules/MemberHelper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="memberfooter" Src="Modules/memberfooter.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
		<!--#include file="../../inc/encoding.inc"-->
		<title><%=GetResourceString("MemberInfomations")%>,<%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->
		<script src="<%=webSite %>inc/Address.js" type="text/javascript"></script>
		<link href="<%=webSite %>Template/<%=config.TemplateFolder%>/style/member.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript">
		    //以下变量在MyAddresses.js中用到
		    var strSelectArea = '<%=GetResourceString("SelectArea")%>';
		    var strPleaseLogin = '<%=GetResourceString("MsgPleaseSignInFirst")%>';
		</script>
	</HEAD>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>
		<div class="xp-qgw clear">
		    <!--位置导航开始-->
		    <div class="path"><a href="<%=webSite %>Index.<%=config.html%>"><%=GetResourceString("Home")%></a> &nbsp;&gt;&nbsp;<a href="<%=webSite %>Center.<%=config.html %>"><%=GetResourceString("MemberCenter")%></a>&nbsp;&gt;&nbsp;<%=GetResourceString("MemberInfomations")%></div>
		    <!--位置导航结束-->
			<div class="member_left">
				<!--会员中心导航开始-->
				<uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
				<!--会员中心导航结束-->
			</div>
			<div class="member_middle_right">
			    <!--内容开始-->
			    <div class="mframe">
		            <div class="tl"></div>
		            <div class="tr"></div>
		            <div class="tm"><%=GetResourceString("MemberInfomations")%></div>
		            <div class="ml"></div>
		            <div class="mr"></div>
		            <div class="mm">
	                    <form id="Form1" method="post" runat="server">
				        <table cellpadding="0" cellspacing="0" class="tableinfo">
							<tr>
							    <th class="th_title" colspan="2">基本资料</th>
							</tr>
							<tr>
								<th><%=GetResourceString("MemberLevel")%>： </th>
								<td><font color="#00cc99"><%=GetLevel(user.GroupId)%></font></td>
							</tr>
							<tr>
								<th><%=GetResourceString("Credit")%>： </th>
								<td><font color="#ff66cc"><%=user.Score%></font></td>
							</tr>
							<tr>
								<th><%=GetResourceString("AdvancePayment")%>： </th>
								<td><font color="#ff66cc"><%=string.Format("{0:f}",user.AdvancePayment)%></font></td>
							</tr>
							<tr>
								<th><%=GetResourceString("MemberName")%>： </th>
								<td><%=user.Name%></td>
							</tr>
							<tr style="display:none;">
								<th><%=GetResourceString("MemberQuestion")%>： </th>
								<td><asp:textbox id="txtQuestion" runat="server" Size="50" MaxLength="100"></asp:textbox><FONT color="red">*</FONT></td>
							</tr>
							<tr style="display:none;">
								<th><%=GetResourceString("MemberAnswer")%>： </th>
								<td><asp:TextBox id="txtAnswer" MaxLength="100" Size="50" runat="server" /><FONT color="red">*</FONT></td>
							</tr>
							<tr>
								<th>e-mail： </th>
								<td><asp:TextBox id="txtEmail" MaxLength="80" Size="20" runat="server" /><FONT color="red">*</FONT></td>
							</tr>
							<tr>
							    <th class="th_title" colspan="2">详细资料</th>
							</tr>
							<tr>
								<th>
									姓名：
								</th>
								<td><asp:TextBox id="txtRealName" MaxLength="20" Size="20" runat="server" /></td>
							</tr>
							<tr>
								<th>固定电话： </th>
								<td><asp:TextBox id="txtPhone" MaxLength="20" Size="20" runat="server" /></td>
							</tr>
							<tr>
								<th>手机： </th>
								<td><asp:TextBox id="txtMobile" MaxLength="20" Size="20" runat="server" /></td>
							</tr>
							<tr>
								<th>QQ： </th>
								<td><asp:TextBox id="txtQQ" MaxLength="20" Size="20" runat="server" /></td>
							</tr>
							<tr>
								<th>MSN： </th>
								<td><asp:TextBox id="txtMSN" MaxLength="100" Size="20" runat="server" /></td>
							</tr>
							<tr>
								<th>
									性别：
								</th>
								<td>
									<asp:RadioButtonList id="rblSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="flow">
										<asp:ListItem Value="1" Selected="True">男</asp:ListItem>
										<asp:ListItem Value="0">女</asp:ListItem>
									</asp:RadioButtonList>
								</td>
							</tr>
							<tr>
								<th>
									出生日期：
								</th>
								<td>
									<asp:TextBox id="txtBirthday" runat="server"></asp:TextBox>(格式:1990-1-1)</td>
							</tr>
							<tr>
								<th>
									地区：
								</th>
								<td>
									<asp:DropDownList id="ddlTopAreas" runat="server"><asp:ListItem Value="0">选择地区</asp:ListItem></asp:DropDownList>
									<asp:DropDownList id="ddlSubAreas" runat="server"><asp:ListItem Value="0">选择地区</asp:ListItem></asp:DropDownList>
									<asp:dropdownlist id="ddlThirdAreas" runat="server"><asp:ListItem Value="0">选择地区</asp:ListItem></asp:dropdownlist>
								    <input type="hidden" id="hideAddressIDs" name="hideAddressIDs" runat="server" />
								</td>
							</tr>
							<tr>
							    <th>详细地址：</th>
							    <td><asp:TextBox id="txtAddress" runat="server" MaxLength="255" Size="60"></asp:TextBox></td>
							</tr>
							<tr>
								<th>邮政编码：</th>
								<td>
									<asp:TextBox id="txtPostCode" runat="server" MaxLength="50"></asp:TextBox></td>
							</tr>
							<tr>
								<th>&nbsp;</th>
								<td style="border-left:0 none;"><asp:Button id="btnRegister" OnClick="btnRegister_Click" runat="server" Text="修 改"></asp:Button></td>
							</tr>
						</table>
	                    </form>
					</div>
		            <div class="bl"></div>
		            <div class="br"></div>
		            <div class="bm"></div>
		        </div>
				<!--内容结束-->
			</div>
			<div style="clear:both;"></div>
		</div>
		<uc1:MemberHelper id="Helper1" runat="server"></uc1:MemberHelper>
		<uc1:memberfooter id="Footer1" runat="server"></uc1:memberfooter>
	</body>
</HTML>