<%@ Page language="c#" Codebehind="Resetpassword.aspx.cs" AutoEventWireup="true" Inherits="XpShop.WebUI.Resetpassword" %>
<%@ Register TagPrefix="uc1" TagName="MemberMenu" Src="Modules/MemberMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Modules/Header.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>重置密码,<%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->
        <script language="javascript">
			$(document).ready(function(){
				$('#txtPassWord1').blur(function(){if($(this).val() == '' || $(this).val().length < 6)$('#span_0').show();else $('#span_0').hide()});
				$('#txtPassWord2').blur(function(){if($(this).val() != $('#txtPassWord1').val())$('#span_1').show();else $('#span_1').hide()});
				$('#txtLogincode').blur(function(){if($(this).val() == '')$('#span_2').show();else $('#span_2').hide()});
			});
		</script>
	</HEAD>
	<body>
		<uc1:Header id="Header1" runat="server"></uc1:Header>
		<div class="xp-w clear">
			<!--位置导航开始-->
			<div class="path"><a href="<%=webSite %><%if(config.html==""){%>default.aspx<%}else{%>Index.<%=config.html%><%}%>"><%=GetResourceString("Home")%></a>&nbsp;&gt;&nbsp;重置密码</div>
			<!--位置导航结束-->
		    <form id="Form1" method="post" runat="server">
			    <div class="mframe">
				    <div class="tl"></div>
				    <div class="tr"></div>
				    <div class="tm">
				         <div class="mframetitle">
                            重置密码
                        </div>
				    </div>
				    <div class="ml"></div>
				    <div class="mr"></div>
				    <div class="mm">
				        <div style="color:red;">请设置新的登录密码，这次一定要记牢哦！</div>
				        <div style="margin-top:20px; margin-bottom:10px; padding-left:50px;">&nbsp;&nbsp;&nbsp;&nbsp;设置新密码：<asp:TextBox ID="txtPassWord1" Runat="server" Width="150px" TextMode="Password" MaxLength="16"></asp:TextBox><span id="span_0" style="color:red;padding-left:5px;display:none;">长度为6-16位字符，可由英文字母及阿拉伯数字组成</span></div>
				        <div style="margin-top:20px; margin-bottom:10px; padding-left:50px;">再次输入密码：<asp:TextBox ID="txtPassWord2" Runat="server" Width="150px" TextMode="Password" MaxLength="16"></asp:TextBox><span id="span_1" style="color:red;padding-left:5px;display:none;">两次输入密码不一致</span></div>
                        <div style="margin-top:20px; margin-bottom:10px; padding-left:50px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;验证码：<asp:TextBox ID="txtLogincode" Runat="server" Width="150px"></asp:TextBox><span id="span_2" style="color:red;padding-left:5px;display:none;">请填写验证码</span></div>
                        <div style="margin-bottom:10px; padding-left:130px;"><IMG alt="" src="image.aspx?type=8" align="absMiddle"></div>
                        <div style="text-align:center;"><asp:Button ID="btnSubmit" OnClick="btnSubmit_Click" runat="server" Text="" style="background:url(Images/achieve.gif); cursor:pointer;" Width="126px" Height="36px" BorderStyle="none"></asp:Button></div>
				    </div>
			        <div class="bl"></div>
			        <div class="br"></div>
			        <div class="bm"></div>
			    </div>
		    </form>
		</div>
		<uc1:Helper id="Helper1" runat="server"></uc1:Helper>
		<uc1:Footer id="Footer1" runat="server"></uc1:Footer>
	</body>
</HTML>
