<%@ Page language="c#" Codebehind="MemberLostpass.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.MemberLostpass" %>
<%@ 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("LoginButtonForgotPassword")%>|<%=config.SiteTitle%></title>
		<!--#include file="../../inc/head.inc"-->		
		<script language="javascript">
		function check()
		{
			if(document.getElementById("txtAccount").value=="")
			{
				alert("<%=GetResourceString("UserNameInexistence")%>");
				return false;
			}
			return true;
		}
		</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("LoginButtonForgotPassword")%></div>
			<!--位置导航结束-->
			<div id="content">
		    <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("LoginButtonForgotPassword")%></div></div>
				<div class="ml"></div>
				<div class="mr"></div>
				<div class="mm">
				    <div><%=GetTitle()%></div>
				    <% if(Request.QueryString["Step"] == null) {%>
				    <div style="text-align:center; padding-top:20px; padding-bottom:10px;"><asp:TextBox ID="txtAccount" Runat="server"></asp:TextBox><asp:Button id="btnSubmit" runat="server" Text="Next"></asp:Button></div>
				    <% }%>
					<% if(Request.QueryString["Step"] == "2") {%>
					<table width=100% align="center" class="userinfo">
					    <tr>
						    <th><%=GetResourceString("BuyerMemberName")%>：</th>
						    <td><%=Request.QueryString["UserName"]%></td>
					    </tr>
					    <tr>
						    <th><%=GetResourceString("PasswordQuestion")%>：</th>
						    <td><%=Session["LostPWQuestion"].ToString()%></td>
					    </tr>
					    <tr>
						    <th><%=GetResourceString("PasswordAnswer")%>：</th>
						    <td><asp:TextBox ID="txtAnswer" Runat="server"></asp:TextBox></td>
					    </tr>
					    
					    <tr>
						    <th></th>
						    <td><asp:Button id="btnSend" runat="server" Text="Next"></asp:Button></td>
					    </tr>
				    </table>
				    <% }%>
				</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>
