<%@ Page language="c#" Codebehind="MemberRegister.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.MemberRegister" %>
<%@ Register TagPrefix="uc1" TagName="Bulletin" Src="Modules/Bulletin.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LoginForm" Src="Modules/LoginForm.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SmallCart" Src="Modules/SmallCart.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftNavTop2Level" Src="Modules/LeftNavTop2Level.ascx" %>
<%@ Register TagPrefix="uc1" TagName="CommendProduct" Src="Modules/CommendProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="SpecialProduct" Src="Modules/SpecialProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="HotProduct" Src="Modules/HotProduct.ascx" %>
<%@ Register TagPrefix="uc1" TagName="NewProduct" Src="Modules/NewProduct.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" %>
<!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("Register")%>|<%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->		
		<script src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>inc/formValidator.js" type="text/javascript"></script>
		<script src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>inc/formValidatorRegex.js" type="text/javascript"></script>
		<script src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>Template/<%=config.TemplateFolder%>/inc/custom_register.js" type="text/javascript"></script>
		<link rel="stylesheet" href="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>Template/<%=config.TemplateFolder%>/style/validator.css"></link>
	    <script type="text/javascript">
			var address="<%=GetResourceString("SelectArea")%>";
			var Required="<%=GetResourceString("Required")%>";
			var UserName="<%=GetResourceString("UserName")%>";
			var UserNameRegister="<%=GetResourceString("UserNameRegister")%>";
			var UserNameFormatIncorrect="<%=GetResourceString("UserNameFormatIncorrect")%>";
			var PasswordLength="<%=GetResourceString("PasswordLength")%>";
			var FillCorrect="<%=GetResourceString("FillCorrect")%>";
			var PasswordSymbols="<%=GetResourceString("PasswordSymbols")%>";
			var ReqeatPasswordEntere="<%=GetResourceString("ReqeatPasswordEntere")%>";
			var TwoPaddword="<%=GetResourceString("TwoPaddword")%>";
			var EmailFormat="<%=GetResourceString("EmailFormat")%>";
			var EmailLength="<%=GetResourceString("EmailLength")%>";
			var EmailLength1="<%=GetResourceString("EmailLength1")%>";
			var PasswordProblems="<%=GetResourceString("PasswordProblems")%>";
			var PasswordProblems1="<%=GetResourceString("PasswordProblems1")%>";
			var PasswordProblems2="<%=GetResourceString("PasswordProblems2")%>";
			var PasswordAnswers="<%=GetResourceString("PasswordAnswers")%>";
			var PasswordAnswers1="<%=GetResourceString("PasswordAnswers1")%>";
			var PasswordAnswers2="<%=GetResourceString("PasswordAnswers2")%>";
			var PasswordAnswers3="<%=GetResourceString("PasswordAnswers3")%>";
			var Optional="<%=GetResourceString("Optional")%>";
			var Register1="<%=GetResourceString("Register1")%>";
			var Register2="<%=GetResourceString("Register2")%>";
			var Register3="<%=GetResourceString("Register3")%>";
			var Register4="<%=GetResourceString("Register4")%>";
			var Register5="<%=GetResourceString("Register5")%>";
			var Register6="<%=GetResourceString("Register6")%>";
			var Register7="<%=GetResourceString("Register7")%>";
			var Register8="<%=GetResourceString("Register8")%>";
			var Register9="<%=GetResourceString("Register9")%>";
        </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("Register")%></div>
			<!--位置导航结束-->
			<div id="content">
			<!--内容开始-->
		    <form id="form1" name="form1" method="post" runat="server">
			<div class="mframe">
				<div class="tl"></div>
				<div class="tr"></div>
				<div class="tm"><div class="on"><%=GetResourceString("Register")%></div></div>
				<div class="ml"></div>
				<div class="mr"></div>
				<div class="mm">
					<div id="register">
						<div class="info">
						    <div style="margin-bottom:5px;"><font color="#c05c5c"><%=GetResourceString("NotFull")%></font> </div>
							<table cellpadding="0" cellspacing="0" border="0" class="userinfo">
								<tr>
									<th><%=GetResourceString("BuyerMemberName")%>：</th>
									<td class="content"><asp:TextBox id="txtName" MaxLength="50" Size="20" runat="server" /></td>
									<td class="tip1"><div id="txtNameTip"></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberPassword")%>：</th>
									<td class="content"><asp:TextBox TextMode="Password" id="txtPassword" MaxLength="50" Size="20" runat="server" /></td>
									<td class="tip1"><div id="txtPasswordTip"></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberPasswordConfirm")%>：</th>
									<td class="content"><asp:TextBox TextMode="Password" id="txtPassword2" MaxLength="50" Size="20" runat="server" /></td>
									<td class="tip1"><div id="txtPassword2Tip"></div></td>
								</tr>
								<tr>
									<th>邮箱：</th>
									<td class="content"><asp:TextBox id="txtEmail" MaxLength="80" Size="20" runat="server" />&nbsp; 
									<br>
									<asp:CheckBox id="cbxHideEmail" Text="JoinOurMailList" runat="server" Checked="True" /></td>
									<td class="tip1"><div id="txtEmailTip"></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberQuestion")%>：</th>
									<td class="content"><asp:TextBox id="txtQuestion" MaxLength="100" Size="50" runat="server" /></td>
									<td class="tip1"><div id="txtQuestionTip" ></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("MemberAnswer")%>：</th>
									<td class="content"><asp:TextBox id="txtAnswer" MaxLength="100" Size="50" runat="server" /></td>
									<td class="tip1"><div id="txtAnswerTip" ></div></td>
								</tr>
							</table>
						</div>
						<div style="margin:5px;"><input type="checkbox" id="cbFull"/><label for="cbFull" class="lbfull pointer"><%=GetResourceString("Full")%></label></div>  
						<div id="full_info" class="info hidden">
							<table cellpadding="0" cellspacing="0" border="0" class="userinfo">
								<tr>
									<th><%=GetResourceString("Names")%>：</th>
									<td class="content"><input type="text" id="txtNames" name="txtNames" /></td>
									<td class="tip"><div id="txtNamesTip" ></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("PhoneNumber")%>：</th>
									<td class="content"><input type="text" id="txtPhone" name="txtPhone" /></td>
									<td class="tip"><div id="txtPhoneTip" ></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("Mobile")%>：</th>
									<td class="content"><input type="text" id="txtMobile" name="txtMobile" /></td>
									<td class="tip"><div id="txtMobileTip"></div></td>
								</tr>
								<tr>
									<th><%=GetResourceString("OrderEmail_Postalcode")%>：</th>
									<td class="content"><input type="text" id="txtZip" name="txtZip" size="20" /></td>
									<td class="tip"><div id="txtZipTip" ></div></td>
								</tr>
								<tr>
									<th>地区：</th>
									<td class="content">
									    <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>
									<td class="tip">
										<div id="ddlTopAreasTip"></div>
									</td>
								</tr>
								<tr>
									<th><%=GetResourceString("DetailAddress")%>：</th>
									<td class="content"><input type="text" id="txtAddress" name="txtAddress" size="50" /></td>
									<td class="tip"><div id="txtAddressTip" ></div></td>
								</tr>
								<!--
								<tr>
									<th>QQ：</th>
									<td class="content"><asp:TextBox id="txtQQ" MaxLength="20" Size="20" runat="server" /></td>
									<td class="tip"><div id="txtQQTip" ></div></td>
								</tr>
								<tr>
									<th>ICQ：</th>
									<td class="content"><asp:TextBox id="txtICQ" MaxLength="20" Size="20" runat="server" /></td>
									<td class="tip"><div id="txtICQTip" ></div></td>
								</tr>
								<tr>
									<th>MSN：</th>
									<td class="content"><asp:TextBox id="txtMSN" MaxLength="100" Size="20" runat="server" /></td>
									<td class="tip"><div id="txtMSNTip" ></div></td>
								</tr>
								-->
							</table>
						</div>
						<div class="accept">
							<asp:Button id="btnRegister" class="btnreg" runat="server" Text="RegisterButton"></asp:Button>
						</div>
						<div class="agreement"></div>
					</div>
				</div>
			    <div class="bl"></div>
			    <div class="br"></div>
			    <div class="bm"></div>
			</div>
			</form>
			<!--内容结束-->
			</div>
			<div style="clear:both;"></div>
			<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
			<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
		</div>
	</body>
</HTML>
