?? lookpwdok.asp
字號(hào):
<!--#include file="Conn.asp"-->
<%
txtid=Request("txtid")
pwdanswer=trim(request("pwdanswer"))
set recCheckUser=server.CreateObject("ADODB.recordset")
strSQL="select * from userinfo where txtId='" & txtid & "' "
recCheckUser.Open strSQL,conn,1,1
if recCheckUser("txtAnswer")=pwdanswer then
else
recCheckUser.Close
set recCheckUser=nothing
set conn=nothing
Response.Write "<script language=JavaScript>{window.alert('您輸入的問(wèn)題答案錯(cuò)誤,請(qǐng)重新輸入!');window.history.go(-1);}</script>"
end if
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<STYLE TYPE="text/css">
<!--
td.grzmRow
{
padding:0px 4px 0px 4px;
}
td.grzmList
{
padding:0px 4px 0px 0px;
}
-->
</style>
<title>密碼取回成功!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></HEAD>
<BODY leftmargin="0" topmargin="0" oncontextmenu=self.event.returnValue=false>
<div id="proc" name="proc">
</div>
<div class="TitleBar">
</div>
<div align="center"> <center>
<!--#include file="top.htm"-->
<table border="0" cellpadding="0" cellspacing="0" width="300" height="180">
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="298" height="178" >
<tr>
<td valign="top">
<div align="center">
<table border="0" cellpadding="0" cellspacing="4" width="100%" height="55">
<tr>
<td width="100%" height="39" colspan="2">
<p align="center"></td>
</tr>
</center>
<tr>
<td width="36%" height="27" align="right" style="font-size: 14px">
您的密碼是:</td>
<center>
<td width="64%" height="27"> <font color="#FF0000"><%=recCheckUser("txtpass")%></font>
</td>
</tr>
<tr>
<td width="100%" height="51" colspan="2">
<p align="center">
<INPUT class=button1 name=login2 onclick=" window.location='default.asp'" type=button value='返 回'>
</td>
</tr>
</table>
</div>
</center>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<!--#include file="copyright.htm"-->
</div>
</BODY>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -