?? admin_index.asp
字號:
<!--#include file="admin_is.ini"-->
<%db="data/etaodu.mdb"%><!--#include file="conn.ini"-->
<%
if request("Submit")<>"" then
set rs=server.createobject("adodb.recordset")
sql="SELECT * from admin"
rs.open sql,conn,1,3
rs("password")=request("password")
rs.update
rs.close
end if
%>
<%
set rs=server.createobject("adodb.recordset")
sql="SELECT username,password from admin where username='"&session("board_admin")&"'"
rs.open sql,conn,1,3
pwd=rs("password")
rs.close
call connclose
%>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理面板</title>
<LINK href="style.css" rel=Stylesheet type=text/css>
</head>
<body leftmargin="0" topmargin="0">
<form name="form1" method="post" action="">
<table>
<tr>
<td colspan="2"><!--#include file="top.ini"--></td>
</tr>
<tr>
<td width="72">密碼重設:</td>
<td width="582"><input name="password" type="password" id="password" value="<%=pwd%>" maxlength="10"></td>
</tr>
<tr>
<td>動 作:</td>
<td><input type="submit" name="Submit" value="設定">
<input type="reset" name="Submit2" value="重置">
<input type="button" name="Submit3" value="退出" onclick="location.href='admin_out.asp'">
要更多的權限和更好性能請登錄 WWW.PGCN.NET 購買“商業(yè)版盤古留言板”。</td>
</tr>
</table>
</form>
</body>
</html>
<script language = "JavaScript" src = "bottom.js"/></script>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -