📄 admin_msg.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 is_number(str)
{
exp=/[^0-9()-]/g;
if(str.search(exp) != -1)
{return false;}
return true;
}
function CheckInput()
{
if(form.nick_name.value==''){
alert("请填写您的管理员昵称^_^");
form.nick_name.focus();
return false;
}
if(form.nick_name.value.length>30){
alert("昵称不能超过30个字符!");
form.nick_name.focus();
return false;
}
if(!is_number(document.form.oicq.value)){
alert("QQ号只能是数字哦^_^");
form.oicq.focus();
return false;
}
if(form.title.value==''){
alert("请您填写留言标题^_^");
form.title.focus();
return false;
}
if(form.title.value.length>50){
alert("留言标题不能超过50个字符哦^_^");
form.title.focus();
return false;
}
if(form.contents.value==''){
alert("您没有填写留言内容^_^");
form.contents.focus();
return false;
}
return true;
}
</SCRIPT>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" text="#25437C" link="#25437C" alink="#25437C" vlink="#25437C">
<div align="center">
<br>
<b>管理员留言</b><table cellpadding="0" cellspacing="0" width="768" height="182">
<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="162" valign="top" width="10" background="image/mid_left.gif" style="font-size: 12px">
</td>
<td height="162" valign="top" width="748" bgcolor="#F3F3FF" style="font-size: 12px"> <div align="center">
[<a href="admin_index.asp">回上一页</a>]<br>
<table cellpadding="0" cellspacing="0" width="94">
<tr>
<td height="53">
<form method="POST" action="adm_msg_op.asp" name=form onsubmit=return(CheckInput())>
<p>管理员昵称:<input type="text" name="nick_name" size="27"></p>
<p>OICQ:<input type="text" name="oicq" size="10">形象秀:
<select onchange="document.images['faceid'].src=options[selectedIndex].value;" size="1" name="face">
<option value="image/face/face1.gif" selected>face1</option>
<option value="image/face/face2.gif">face2</option>
<option value="image/face/face3.gif">face3</option>
<option value="image/face/face4.gif">face4</option>
<option value="image/face/face5.gif">face5</option>
<option value="image/face/face6.gif">face6</option>
<option value="image/face/face7.gif">face7</option>
<option value="image/face/face8.gif">face8</option>
<option value="image/face/face9.gif">face9</option>
<option value="image/face/face10.gif">face10</option>
<option value="image/face/face11.gif">face11</option>
<option value="image/face/face12.gif">face12</option>
<option value="image/face/face13.gif">face13</option>
<option value="image/face/face14.gif">face14</option>
<option value="image/face/face15.gif">face15</option>
<option value="image/face/face16.gif">face16</option>
<option value="image/face/face17.gif">face17</option>
<option value="image/face/face18.gif">face18</option>
<option value="image/face/face19.gif">face19</option>
<option value="image/face/face20.gif">face20</option>
</select>
<a target="_blank" href="face.htm">形象库</a></p>
<p>主题:<input type="text" name="title" size="46"></p>
<div style="position: absolute; width: 51px; height: 100px; z-index: 1; left: 628px; top: 43px" id="layer1">
<img border="0" src="image/face/face1.gif" id="faceid"width="50" height="100" style="border: 1px solid #000000"></div>
<p><textarea rows="12" name="contents" cols="49"></textarea></p>
<p align="center">
<input type="submit" value="提交" name="B1">
<input type="reset" value="重置" name="B2"></p>
<input type="hidden" name="is_admin" value="2">
</form>
<p> </td>
</tr>
</table>
</div>
</td>
<td height="162" valign="top" width="10" background="image/mid_right.gif" style="font-size: 12px">
</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>
<p> </p>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -