📄 add_admin.asp
字号:
<%@language=vbscript%>
<%if not session("checked")="yes" then
response.Redirect "error.htm"
else
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添加管理员</title>
<style type="text/css">
<!--
body,td,th {font-size: 12px;}
a {font-size: 12px;}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none;}
a:active {text-decoration: none;}
.style5 {color: #FF0000}
.style6 {font-size: 12px}
-->
</style>
<SCRIPT language=JavaScript>
function check(a,b)
{
{ if(a!==b)
return false;}
return true;
}
function right_pas()
{
if(form.admin.value=='')
{alert("昵称不能为空:-)")
form.admin.focus()
return false;}
if(form.password.value=='')
{alert("密码不能为空:-)")
form.password.focus()
return false;}
if(!check(form.password.value,form.ch_pas.value))
{alert("您两次输入的密码不一样^_^");
form.password.focus()
return false;}
}
</SCRIPT>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" text="#25437C" link="#25437C" alink="#25437C" vlink="#25437C">
<div align="center">
<p><b>添加管理员</b></p>
<table cellpadding="0" cellspacing="0" width="768" height="97">
<!-- MSTableType="nolayout" -->
<tr>
<td height="10" valign="top" width="10" style="font-size: 12px">
<img border="0" src="image/top_left.gif" width="10" height="10"></td>
<td height="10" valign="top" width="748" background="image/top.gif" style="font-size: 12px">
</td>
<td height="10" valign="top" width="10" style="font-size: 12px">
<img border="0" src="image/top_right.gif" width="10" height="10"></td>
</tr>
<tr>
<td height="77" valign="top" width="10" background="image/mid_left.gif" style="font-size: 12px" align="center">
</td>
<td height="77" valign="middle" width="748" bgcolor="#F3F3FF" style="font-size: 12px" align="center">
<br>
<table cellpadding="0" cellspacing="0" width="415">
<tr>
<td height="60" width="66">
<p> </td>
<td height="60" width="298">
<form method="POST" action="add_adm_op.asp" name=form onsubmit=return(right_pas())>
<p align="center">昵称:
<input type="text" name="admin" size="19"></p>
<p align="center">密码: <input type="password" name="password" size="20"></p>
<p align="center">重复密码:<input type="password" name="ch_pas" size="20"></p>
<p align="center">
<input type="submit" value="添加" name="B1" > <input type="reset" value="重置" name="B2"></p>
</form>
</td>
<td height="60" width="50"> </td>
</tr>
</table>
</td>
<td height="77" valign="top" width="10" background="image/mid_right.gif" style="font-size: 12px" align="center">
</td>
</tr>
<tr>
<td height="10" valign="top" width="10" style="font-size: 12px">
<img border="0" src="image/bottom_left.gif" width="10" height="10"></td>
<td height="10" valign="top" width="748" background="image/bottom.gif" style="font-size: 12px">
</td>
<td height="10" valign="top" width="10" style="font-size: 12px">
<img border="0" src="image/bottom_right.gif" width="10" height="10"></td>
</tr>
</table>
</div>
<div align="center">
<table cellpadding="0" cellspacing="0" width="348" height="87">
<!-- MSTableType="nolayout" --><tr>
<td height="12" valign="top" width="348" colspan="3" style="font-size: 12px"></td>
</tr>
<tr>
<td height="63" valign="top" width="48" style="font-size: 12px"> </td>
<td height="63" valign="top" width="251" style="font-size: 12px">
<p align="center"><font face="宋体" size="2">倾听留言本V1.2<br></font>留言本及源程序由
<span lang="en"><font face="宋体" size="2" color="#FF0000">
<a href="QQ:55572687"><font color="#FF0000">冰中使者</font></a></font><a href="QQ:55572687"><font face="宋体" color="#FF0000" size="3">®</font></a><font face="宋体" size="4" color="#FF0000">
</font><font face="宋体" size="2">制作<br></font></span>
<font face="宋体" size="2">
[<a target="_blank" href="http://www.qtice.com">http://www.qtice.com</a>]<br> </font></td>
<td height="63" valign="top" width="49" style="font-size: 12px"> </td>
</tr>
<tr>
<td height="12" valign="top" width="348" colspan="3" style="font-size: 12px"></td>
</tr>
</table></div>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -