<%@ page language="C#" autoeventwireup="true" inherits="RemPassword, App_Web_flu4wwrf" enableEventValidation="false" %>

<%@ Register src="inc/PageHead.ascx" tagname="PageHead" tagprefix="uc1" %>
<%@ Register src="inc/PageSearchBox.ascx" tagname="PageSearchBox" tagprefix="uc2" %>
<%@ Register src="inc/PageFooter.ascx" tagname="PageFooter" tagprefix="uc3" %>
<%@ Register src="inc/NewsRight.ascx" tagname="NewsRight" tagprefix="uc4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    
    <title>找回密码_<%= ConfigurationManager.AppSettings["app_name"] %>_<%= ConfigurationManager.AppSettings["app_domain"] %></title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/front.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    <script type="text/javascript" src="js/data.js"></script>
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/utils.js"></script>
    <script type="text/javascript" src="/Js/_effect.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapper">
            <uc1:PageHead ID="PageHead1" runat="server" />
            
            <div class="body">
                <!-- 主要内容开始 -->
                
                
                <div class="login">
                    <div class="big_tit">找回密码</div>
                    
                    <div class="loginbox" style="height:250px;">
                        <asp:Panel ID="Panel1" runat="server" DefaultButton="btnOK">
                        <% if(Request.QueryString["act"] != null){ %>
                            <div class="tit">已成功重设新密码</div>
                            <div class="cnt">
                                <span class="cap">新随机密码已发送到您注册时的邮箱。</span>
                            </div>
                        <%}else{ %>
                            <div class="tit">请输入注册时的帐号</div>
                            <div class="cnt">
                                <span class="cap">登录帐号：</span>
                                <span class="input"><asp:TextBox ID="txtUname" runat="server" CssClass="textbox"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入用户名" ControlToValidate="txtUname"  ForeColor="#404040" CssClass="err" Display="Dynamic"></asp:RequiredFieldValidator></span>
                            </div>
                        <%} %>
                        <div class="mg_top">
                            <asp:LinkButton ID="btnOK" runat="server" CssClass="loginbtn" 
                                onclick="btnOK_Click" >下一步</asp:LinkButton>
                        </div>
                        <div class="mg_top bor_top">
                            服务热线：<%= ConfigurationManager.AppSettings["service_tel"]%> &nbsp;&nbsp;&nbsp;&nbsp;帮助 | 投诉 | 建议
                        </div>
                        </asp:Panel>
                    </div>
                    
                    <div class="infos">
                        <div class="regs">
                            <div class="a">友情提醒：</div>
                            <div class="c" style=" color:#aaa; font-weight:normal; line-height:150%;">
                            完成找回密码后，系统将自动生成新随机密码发送到注册时的<b>电子邮箱</b>中，您在电子邮件中收到密码后，可登录后进行重设。
                            <br />
                            <%= ConfigurationManager.AppSettings["app_name"]%>真诚为您服务。</div>
                        </div>
                    </div>
                </div>
                
                <!-- 主要内容结束 -->
                <uc3:PageFooter ID="PageFooter1" runat="server" />
            </div>
        </div>
    </form>
    <%if(Err!="") {%>
    <script type="text/javascript">
        alert("<%= Err %>");
    </script>
    <%} %>
</body>
</html>
