📄 forgetok.asp
字号:
<!--#include file="head.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" background="/imgs/beijing.png">
<!--DWLayoutTable-->
<tr>
<td width="6" height="800"></td>
<td width="184" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="181" valign="top" height="800"><!--#include file="left.asp"--></td>
<td width="1" bgcolor="#D7D7D7"></td>
</tr>
</table></td>
<td width="585" valign="top"><table width="584" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="584" height="800"><%
dim rs,username,password
username=Trim(Request("username"))
password=Trim(Request("password"))
if trim(request("username"))="" then
response.Write("<script>alert('用户名不能为空!');history.back()</script>")
end if
if trim(request("ans"))="" or trim(request("qus"))="" then
response.Write("<script>alert('提示问题和答案不能为空!');history.back()</script>")
end if
set rs=server.CreateObject("Adodb.recordset")
rs.open "select * from users where userid='"&trim(request("username"))&"'",conn,1,3
if rs.bof and rs.eof then
response.Write("<script>alert('用户名不存在!');history.back()</script>")
end if
if ""&rs("ans")&""="" or ""&rs("qus")&""="" then
response.Write("<script>alert('您没有填写完整,所以无法使用此功能!');history.back()</script>")
response.End()
end if
if Request("ans")<>rs("ans") or Request("qus")<>rs("qus") then
response.Write("<script>alert('提示问题和答案错误');history.back()</script>")
response.End()
end if
%>
<table width="584" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1" bgcolor="#D7D7D7"></td>
<td width="551" height="145"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="580" height="160">
<param name="movie" value="/mb/kehu.swf">
<param name="quality" value="high">
<embed src="/mb/kehu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="580" height="160"></embed>
</object></td>
</tr>
<tr>
<td bgcolor="#D7D7D7"></td>
<td valign="top">
<table width="584" cellspacing="0" cellpadding="0">
<tr>
<td width="578"><table width="539" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="1" bgcolor="#D7D7D7"></td>
<td width="589" height="630" valign="top"><table width="579" cellspacing="0" cellpadding="0">
<tr>
<td width="577"><img src="images/tt_gpass.gif" width="584" height="35"></td>
</tr>
<tr>
<td align="center"><br>
<table width="96%" cellpadding="3" cellspacing="1" bgcolor="#e7e7e7">
<tr>
<td bgcolor="#f7f7f7"><span style="font-weight: bold"> 恭喜您!密码找回成功...</span></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><span style="font-weight: bold"> </span>用户名:<%=rs("userid")%></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><span style="font-weight: bold"> </span>密 码:<font color=red><%=rs("password")%></font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><span style="font-weight: bold"> </span>>>请记住以上帐户信息,以造成不必要的损失,本站不承担由用户自己造成的一切后果!</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" bgcolor="#D7D7D7"></td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="1" bgcolor="#D7D7D7"></td>
</table>
</td>
<td width="3"> </td>
</tr>
</table>
<!--#include file="foot.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -