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

📄 getpass4.asp

📁 查询,基于ASP的开发环境!数据库是ACCESS [成绩查询.rar] - 网上成绩查询系统 把学生姓名成绩输入数据库...[
💻 ASP
字号:
<!--#include file="top.asp"-->
<!--#include file="conn.asp"-->   

<html>
<%Set rs = Server.CreateObject("ADODB.Recordset")
if Request.form("number")="" then
response.redirect "error.asp?id=070"
response.end
end if
number=Request.form("number")
sql="select * from admin1 where number='"&number&"'"
rs.open sql,conn,3,3
if rs.eof then
response.redirect "error.asp?id=033"
response.end
end if

%> 

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body stylesrc="index.asp">
<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-bottom: 1px solid #CCCCCC" width="772" align="center"  id="AutoNumber1" height="159">
  <tr>
    <td height="136">
    <div align="center">
      <center>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="142">
        <tr>
          <td width="100%" height="142" align="center">
          <form method="POST" action="getpass3.asp">
 <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="749" id="AutoNumber3" height="8">
            <tr>
              <td width="146" height="31"> </td>
              <td width="489" height="31" colspan="2">
              <p align="center"><b><font color="#FF0000">找 回 密 码</font></b></td>
              <td width="114" height="31"> </td>
            </tr>
            <tr>
              <td width="146" height="31"> </td>
              <td width="489" height="31" colspan="2">
              <font color="#FF0000">第三步:恭喜你!学生的密码顺利找回。</font></td>
              <td width="114" height="31"> </td>
            </tr>
            <tr>
              <td width="146" height="31"> </td>
              <td width="131" height="31">
              <p align="center"> </td>
              <td width="358" height="31">
              <font size="2">
              <font color="#FF0000">学生学号: <%=rs("number")%></font></b></font></td>
              <td width="114" height="31"> </td>
            </tr>
            <tr>
              <td width="146" height="31"> </td>
              <td width="131" height="31">
              <p align="center"> </td>
              <td width="358" height="31">
              <font size="2">
              <font color="#FF0000">学生密码: <%=rs("passwd")%></font></b></font></td>
              <td width="114" height="31"> </td>
            </tr>
            <tr>
              <td width="146" height="30"> </td>
              <td width="489" height="30" colspan="2">
              <p align="center">为了保障学生安全使用,请通知学生操作完成后退出登录,提醒学生经常修改密码。</td>
              <td width="114" height="30"> </td>
            </tr>
            <tr>
              <td width="146" height="31"> </td>
              <td width="489" height="31" colspan="2">
               </td>
              <td width="114" height="31"> </td>
            </tr>
            <tr>
              <td width="146" height="31"> </td>
              <td width="489" height="31" colspan="2">
              <p align="center">
<input type="button" name="ok" value="关 闭" onclick=javascript:window.close() style="border:1px solid #CCCCCC; width:60;height:18; color:#666666; font-size:9pt; background-color:#F1F1F1" onmouseover="style.backgroundColor='#FFFFFF'"  onmouseout="style.backgroundColor='#F1F1F1'"></td>
              <td width="114" height="31"> </td>
            </tr>
          </table>
          </form>
          </td>
        </tr>
      </table>
      </center>
    </div>
    </td>
  </tr>
</table>
<%rs.close%>
  </center>
</div>

</body>
<!--#include file="bottom.asp"-->   
</html>

⌨️ 快捷键说明

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