📄 adminadd.asp
字号:
<%dim nowplace
nowplace="faq"
dim dbpath
dbpath="../"
%>
<!--#include file="chk.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加管理员</title>
<link href=AdminStyle.css rel=stylesheet type=text/css>
<SCRIPT language="javascript">
<!--
function checksubmit()
{
if (document.form2.username_m.value == "")
{
window.alert("请输入用户名!");
document.form2.username_m.focus();
return (false);}
if (document.form2.password_m.value == "")
{
window.alert("请输入密码!");
document.form2.password_m.focus();
return (false);}
if (document.form2.password_m2.value == "")
{
window.alert("请输入确认密码!");
document.form2.password_m2.focus();
return (false);}
document.form2.B1.disabled=true
document.form2.B1.value="正在保存数据……"
}
//--></SCRIPT>
</head>
<body>
<div align="center">
<table width="100%" border="0" cellspacing="1" style="border:1px solid #183789; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px; " cellpadding="4">
<form action="save_manager.asp" method="post" name=form2 onsubmit="return checksubmit();">
<tr>
<td width="100%" height="25" colspan="2" background="Image/admin_bg_1.gif">
<font color="#FFFFFF">
<b>新增管理员</b></font></td>
</tr>
<tr>
<td width="353" height="20"><div align="right">用户名:</div></td>
<td width="615" height="20">
<input name="username_m" type="text" id="username_m" maxlength="20" size="38">
*</td>
</tr>
<tr>
<td width="353" height="20"><div align="right">密码:</div></td>
<td width="615" height="20">
<input name="password_m" type="password" id="password_m" maxlength="20" size="43">
*</td>
</tr>
<tr>
<td width="353" height="20"><div align="right">密码确认:</div></td>
<td width="615" height="20%">
<input name="password_m2" type="password" id="password_m2" maxlength="20" size="43">
*</td>
</tr>
<tr>
<td colspan="2" height="20"><div align="center">
<input type="submit" name="B1" value="保存数据">
</div></td>
</tr>
</form>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -