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

📄 admpwd.asp

📁 京云下载系统
💻 ASP
字号:
<!--#include file="admcheck.asp"-->
<!--#include file="dbpath.asp"-->
<%
if request("d")="save" then
if request.form("pwd")="" or request.form("user")="" then
response.write "<b>错误:</b>不能有空项!"
else
set rs=server.CreateObject("ADODB.RecordSet")
			rs.open "select * from admin",conn,1,3
				rs("pwd")=request.form("pwd")
				rs("user")=request.form("user")
				rs.Update
    response.write "操作成功!"
end if
end if
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta copy="程序制作 [惊云,网址www.65658.com] ; 盗版必究!">
<title>留言本-修改密码</title>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #333333; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" height="80%">
  <tr>
    <td width="100%"><form name=pwd method="post" action="admpwd.asp?d=save">
  <div align="center">
    <center>
  <table border="1" width="30%" cellspacing="0" cellpadding="0" bordercolor="#99CCFF" style="border-collapse: collapse">
    <%
dim rs

	set rs=server.CreateObject("ADODB.RecordSet")
	    rs.open "select * from admin",conn,1
%> 
    <tr> 
      <td width="50%" bgcolor="#D5EAFF">
        <p align="center"><b>修改密码 </b>[<a href="admindex.asp">返回</a>]</td>   
    </tr>   
    <tr>    
      <td width="50%" height="26" bgcolor="#FFFFFF">
        <table border="0" width="100%" cellspacing="1" cellpadding="0">
          <tr>
            <td nowrap align="right">用户名:</td>
            <td nowrap>     
        <input type="text" size=12 name="user" value="<%=rs("user")%>" maxlength="12">    
            </td>
          </tr>
          <tr>
            <td nowrap align="right">管理密码:</td>
            <td nowrap>      
        <input type="password" size=12 name="pwd" value="<%=rs("pwd")%>" maxlength="12">     
            </td>
          </tr>
          <tr>
            <td nowrap colspan="2">
              <p align="center">    
    <input name="change" class=buttonface value="修改" type='submit'> <input type="reset" value="还原" name="B2"></td>
          </tr>
        </table>
      </td>    
    </tr>    
        
  </table>    
    </center>
  </div>
   </form>        
<div align="center"></div> </td>
  </tr>
</table>
      
</body>
<%rs.close
set rs=nothing  
conn.close  
set conn=nothing%>        
</html>

⌨️ 快捷键说明

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