⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mm_find.asp

📁 机票预定系统 各个模块的设计-ticket reservation systems detailed design system modules of the design
💻 ASP
字号:
<!-- #include file="../manager/function/conn.asp" -->
<!--#include file="../../client_infor.asp"-->
<!--#include file="../../config.asp"-->

<%if request("action")="find" then

mem_loginname=request("mem_loginname")
mem_email=request("mem_email")

if mem_loginname="" or mem_email="" then
	response.write "<script>alert('用户和邮箱不正确,请重新输入!');history.go(-1);</Script>"
	Response.End 
end if

set rs=server.createobject("adodb.recordset")
sql="select * from tmember where Mem_LoginName='"&mem_loginname&"'"
	rs.open sql,conn,1,3
 	if not(rs.bof and rs.eof) then
		if mem_email<>rs("mem_email") then
	response.write "<script>alert('邮箱地址不正确,请重新输入!');history.go(-1);</Script>"
	Response.End 
 		else
			Mem_LoginPasd=rs("Mem_LoginPasd")
			%>
	<!--#include file="find_jmail.asp"--><!--发送邮件-->	
			<%
			
			rs.close
			set rs=nothing
	response.write "<script>alert('密码已经发送到您的信箱,请您及时收取!');history.go(-1);</Script>"
	Response.End 
 		end if
	else
	response.write "<script>alert('用户名不正确,请重新输入');history.go(-1);</Script>"
	Response.End 
	end if



end if%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=ZXLCompanyStr%></title>
<link rel="stylesheet" type="text/css" href="../../system_manage/style/comm.css" />
<link rel="stylesheet" type="text/css" href="../../system_manage/style/skin0.css" />
<style type="text/css">
<!--
.addr_line {font:bold 14px Verdana;padding:10px 0 3px 5px;margin-top:22px}
.addr_line_top {margin-top:10px}
.addr_line1 {font:bold 14px Verdana;padding:10px 0 3px 5px;margin-top:22px}
-->
</style>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<FORM action="mm_find.asp?action=find" method="post" name="pwdform">
<table width="98%" border="0" cellspacing="0" cellpadding="12" align="center">
  <tr>
    <td colspan="2" style="padding:0;"><div class="addr_line addr_line_top">找回密码</div></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="4" cellspacing="0" class="settingtable">
  <tr class="normal black" >
    <td width="257" style="text-align:right;">请输入用户名:</td>
    <td><input name="mem_loginname" type="text" class="txt" id="mem_loginname" size="28" maxlength="20" /></td>
  </tr>
  <tr class="normal black" >
    <td style="text-align:right;"><font color="#FF0000">&nbsp;</font>请输入邮箱地址:</td>
    <td><input name="mem_email" type="text" class="txt" id="mem_email" size="28" maxlength="120" />
      找回的密码将发送到该邮箱。</td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="0" class="toolbg">
            <tr>
              <td nowrap class="barspace toolbgline"><input name=btnSubmit class=btn type=submit value=" 找回密码 ">
			  </td>
            </tr>
</table>
</FORM>
</body>
</html>
<%call conn_close()%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -