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

📄 pass.asp

📁 SEO过的带数据库的NBA直播程序!解压到根目录更换banner即可!后台admin 密码zidane
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "../0_1.htm"
end if
username=request.form("username")
oldpass=request.form("oldpass")
newpass=request.form("newpass")
confirmpass=request.form("confirmpass")
if username<>"" and newpass=confirmpass then
sql="select * from admin where 帐号='"&username&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,3,2
if not rs.eof then
	if oldpass=rs("密码") then
	rs("密码")=newpass
	rs.update
	response.redirect "ook.asp"
	end if
	end if
end if
%>
<html>
<head>
<style type="text/css">
<!-- 
td           { font-size: 12px; line-height: 17px }
body         { font-size: 12px; line-height: 17px }
p            { margin-top: 1; margin-bottom: 1 }
a:link       { text-decoration: none; color: black }
a:visited    { text-decoration: none; color: black }
a:active     { text-decoration: none }
a:hover      { text-decoration: underline; color: red }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>修改密码</title>
</head>
<body>                                                                 
<div align="center">
  <center>
  <table border="0" width="725">
    <tr>
      <td width="100%">
        <div align="center">
          <center>
          <table border="0" width="300" cellspacing="0" cellpadding="0" height="177">
          <form action="" method="post">
            <tr>
              <td width="100%" background="images/bg1.gif" height="11">
                <p align="center"> </td>
            </tr>
          </center>
  </center>
            <tr>
              <td width="100%" height="166">
                <table border="0" width="100%">
                  <tr>
                    <td width="28%" valign="bottom">
                      <p align="right">原始帐号:</td>
          <td width="72%"><input type="text" name="username" size="17"></td>
  </tr>
                  <tr>
                    <td width="28%" align="right" valign="bottom">
                      原始密码:</td>
          <td width="72%"><input type="password" name="oldpass" size="17"></td>
  </tr>
                  <tr>
                    <td width="28%" align="right" valign="bottom">
                      新设密码:</td>
          <td width="72%"><input type="password" name="newpass" size="17"></td>
  </tr>
                  <tr>
                    <td width="28%" align="right" valign="bottom">
                      确认密码:</td>
          <td width="72%"><input type="password" name="confirmpass" size="17"></td>
  </tr>
  <tr>
    <td width="100%" colspan="2">
      <p align="center"><input type="submit" value="修改" name="edit"> <input type="reset" value="取消" name="reset"> 
      <input type="button" value="返回" name="back" onclick="javascript:history.back()"></p>                     
    </td>                    
  </tr></form>                    
                    </table>                    
                  </td>                    
            </tr>                    
          </table>                    
        </div>                    
      </td>                    
    </tr>                    
  </table>                    
</div>                                      
</body>                    
                    
</html>                    

⌨️ 快捷键说明

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