📄 admin_password.asp
字号:
<%' ==================================================
'// 粑粑工作室留言本
'// 程序版本: 粑粑工作室留言本 v2.1
'// 技术支持: www.gongliyi.cn
'// 程序演示: www.gongliyi.cn/book2
'// 作 者: 龚礼仪(粑粑)
'// 文件信息: admin_password.asp(管理员密码修改文件)
'// 最后修改: 2008.11.23
'// 升级修改: 2009.04.05
' ==================================================
%>
<%
if session("adminname")="" then
response.redirect "admin_login.asp"
response.end
end if
%>
<!--#include file="include/conn.asp"-->
<!--#include file="include/system.asp"-->
<!--#include file="include/function.asp"-->
<!--#include file="head.asp"-->
<div id="main">
<script language="JavaScript" type="text/javascript">
function FrontPage_Form1_Validator(theForm)
{
if (theForm.admin.value == "")
{
alert("请输入管理员帐号!");
theForm.admin.focus();
return (false);
}
if (theForm.password.value == "")
{
alert("请输入管理员密码!");
theForm.password.focus();
return (false);
}
return (true);
}
</script>
<div id="submit">
<form action="admin_post.asp?action=password_edit" method="post" name="form1" id="form1" onsubmit="return FrontPage_Form1_Validator(this)">
<p><img src="images/i3.gif" /><img src="images/password.gif" /><br />
</p>
<div id="submit_div">
<label for="admin">管理帐号:</label>
<input name="admin" type="text" id="admin" value="<%=session("adminname")%>" />
<br />
<label for="password">管理密码:</label>
<input name="password" type="password" id="password" />
<br />
<label for="password">确认密码:</label>
<input name="password2" type="password" id="password2" />
<br />
<input type="submit" id="sbutton" value="确 定" />
<br />
<input name="action" type="hidden" value="adminlogin"/>
</div>
</form>
</div>
</div>
<!--#include file="foot.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -