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

📄 forgetok.asp

📁 一个漂亮的网络工作室源码 后台地址:/admin 用户名:admin 密码:admin888
💻 ASP
字号:
<!--#include file="top.asp" -->
<%
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="100%"  cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="801" align="right" cellpadding="0"  cellspacing="0">
      <tr>
        <td width="181" rowspan="2" valign="top"><!--#include file="left.asp" --></td>
        <td width="1" bgcolor="#D7D7D7"></td>
        <td height="314" valign="top"><!--#include file="body.asp" --></td>
        </tr>
      <tr>
        <td bgcolor="#D7D7D7"></td>
        <td height="630" valign="top"><table width="618"  cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/tt_gpass.gif" width="618" 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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;恭喜您!密码找回成功...</span></td>
                </tr>
                <tr>
                  <td bgcolor="#FFFFFF"><span style="font-weight: bold">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>用户名:<%=rs("userid")%></td>
                </tr>
                <tr>
                  <td bgcolor="#FFFFFF"><span style="font-weight: bold">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>密&nbsp;&nbsp;码:<font color=red><%=rs("password")%></font></td>
                </tr>
                <tr>
                  <td bgcolor="#FFFFFF"><span style="font-weight: bold">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>&gt;&gt;请记住以上帐户信息,以造成不必要的损失,本站不承担由用户自己造成的一切后果!</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="1" bgcolor="#D7D7D7"></td>
    <td width="206" background="images/right_bg2.gif">&nbsp;</td>
  </tr>
</table>
<!--#include file="end.asp" -->
<!--#include file="ad.asp" -->

⌨️ 快捷键说明

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