<%@ Page language="c#" Codebehind="MyInfo.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.MyInfo" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NavBar" Src="Modules/NavBar.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Link" Src="Modules/Link.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Helper" Src="Modules/Helper.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="Modules/Footer.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Bulletin" Src="Modules/Bulletin.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="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>inc/Address.js" type="text/javascript"></script>
		<script type="text/javascript">
		    //以下变量在MyAddresses.js中用到
		    var strSelectArea = '<%=GetResourceString("SelectArea")%>';
		    var strPleaseLogin = '<%=GetResourceString("MsgPleaseSignInFirst")%>';
		    var strNewAddressAlert = '<%=GetResourceString("NewAddressAlert")%>';
		    var strCheckOut_Alert1 = '<%=GetResourceString("CheckOut_Alert1")%>';
		</script>	
	</HEAD>
	<body>
			<div id="container">
			<uc1:Header id="Header1" runat="server"></uc1:Header>
		    <!--位置导航开始-->
			<div class="path"><a href="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>default.aspx<%}else{%>Index.<%=config.html%><%}%>"><%=GetResourceString("Home")%></a> > <%=GetResourceString("MemberCenter")%> > <%=GetResourceString("MemberInfomations")%></div>
			<!--位置导航结束-->
			<div id="content">
				<div id="content_left_side">
					<!--会员中心导航开始-->
					<uc1:MemberMenu id="MemberMenu1" runat="server"></uc1:MemberMenu>
					<!--会员中心导航结束-->
				</div>
				<div id="content_middle_side">
					<!--内容开始-->
		            <form id="Form1" method="post" runat="server">
					<div class="mframe">
						<div class="tl"></div>
						<div class="tr"></div>
						<div class="tm"><div class="on"><%=GetResourceString("MemberInfomations")%></div></div>
						<div class="ml"></div>
						<div class="mr"></div>
						<div class="mm">
							<table cellpadding="0" cellspacing="0" border="0">
								<tr>
									<td><%=GetResourceString("MemberLevel")%>： </th>
									<td align="left"><font color="#00cc99"><%=GetLevel(user.GroupId)%></font></td>
									<td width="150"></td>
									<td><%=GetResourceString("Credit")%>： </td>
									<td><font color="#ff66cc"><%=user.Score%></font></td>
									<td width="150"></td>
									<td><%=GetResourceString("AdvancePayment")%>： </td>
									<td><font color="#ff66cc"><%=string.Format("{0:f}",user.AdvancePayment)%></font></td>
								</tr>
							</table>
					        <table cellpadding="0" cellspacing="0" border="0" class="userinfo">
								<tr>
									<th><%=GetResourceString("MemberName")%>： </th>
									<td><%=user.Name%></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberQuestion")%>： </th>
									<td><asp:textbox id="txtQuestion" runat="server" Size="50" MaxLength="100"></asp:textbox><FONT color="red">*</FONT></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberAnswer")%>： </th>
									<td><asp:TextBox id="txtAnswer" MaxLength="100" Size="50" runat="server" /><FONT color="red">*</FONT></td>
								</tr>
								<tr>
									<th>   EMAIL： </th>
									<td><asp:TextBox id="txtEmail" MaxLength="80" Size="20" runat="server" /><FONT color="red">*</FONT></td>
								</tr>
								<tr>
									<th>昵    称： </th>
									<td><asp:TextBox id="txtNickName" MaxLength="80" Size="20" runat="server" /></td>
								</tr>
								<tr>
									<th>真实姓名： </th>
									<td><asp:TextBox id="txtRealName" MaxLength="80" Size="20" runat="server" /></td>
								</tr>
								<tr>
									<th>固定电话： </th>
									<td><asp:TextBox id="txtPhone" MaxLength="80" Size="20" runat="server" /></td>
								</tr>
								<tr>
									<th>手    机： </th>
									<td><asp:TextBox id="txtMobile" MaxLength="80" Size="20" runat="server" /></td>
								</tr>
								<tr>
									<th>邮    编： </th>
									<td><asp:TextBox id="txtZip" MaxLength="80" Size="20" runat="server" /></td>
								</tr>
								<tr>
									<th>地    区： </th>
									<td>
										<asp:dropdownlist id="ddlTopAreas" name="ddlTopAreas" runat="server" AutoPostBack="false">
											<asp:ListItem Value="0">选择地区</asp:ListItem>
										</asp:dropdownlist>
										<asp:dropdownlist id="ddlSubAreas" name="ddlSubAreas" runat="server" AutoPostBack="false">
										    <asp:ListItem Value="0">选择地区</asp:ListItem>
										</asp:dropdownlist>
										<asp:dropdownlist id="ddlThirdAreas" name="ddlThirdAreas" runat="server" AutoPostBack="false">
										    <asp:ListItem Value="0">选择地区</asp:ListItem>
										</asp:dropdownlist>
									</td>
								</tr>								
								<tr>
									<th>详细地址： </th>
									<td><asp:TextBox id="txtAddress" MaxLength="80" 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>ICQ： </th>
									<td><asp:TextBox id="txtICQ" 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>
									<td colspan="2" style="text-align:center;">
										<asp:Button id="btnRegister" runat="server" Text="Submit"></asp:Button>
									</td>
								</tr>
							</table>
							<div style="clear:both;"></div>
						</div>
					    <div class="bl"></div>
					    <div class="br"></div>
					    <div class="bm"></div>
					</div>
		            </form>
					<!--内容结束-->
				</div>
				<div style="clear:both;"></div>
			</div>
			<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
			<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
		</div>
	</body>
</HTML>