📄 changepwd.asp
字号:
<!--#include file="dbpath/dbpath.asp"-->
<%
if request.cookies("adminok")="" then
response.redirect "login.asp"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改密码</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div align="center">修改密码</div>
<form name=pwd method="post" action="savepwd.asp">
<table border="1" width="30%" bordercolorlight="#FFFFFF" cellspacing="3" cellpadding="0"
bordercolordark="#FFFFFF" align="center">
<%
dim rs
set rs=server.CreateObject("ADODB.RecordSet")
rs.open "select * from admin",conn,1
%>
<tr>
<td width="50%" align="center">
<input type="hidden" name=method value="chan">
<input type="hidden" name=id value="<%=rs("id")%>">
名字:
<input type="text" size=12 name="name" value="<%=rs("username")%>" maxlength="10" style="BACKGROUND-COLOR:#FFE7B3;font-family: 宋体; font-size: 9pt">
</td>
</tr>
<tr>
<td width="50%" align="center" height="26">密码:
<input type="text" size=12 name="pass" value="<%=rs("password")%>" maxlength="10" style="BACKGROUND-COLOR:#FFE7B3;font-family: 宋体; font-size: 9pt">
</td>
</tr>
</table>
<div align="center"><br>
<input name="change" class=buttonface value="修改" type='submit' style="BACKGROUND-COLOR:#AB6C00;font-family: 宋体; font-size: 9pt;">
<% rs.close
set rs=nothing
conn.close
set conn=nothing
%> </div>
</form>
<div align="center"></div>
<div align="center"><!--#include file="function/ads.inc"--></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -