📄 复件 add.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="inc/const1.asp"-->
<!--#include file="inc/const2.asp"-->
<!--#include file="inc/char.asp"-->
<!--#include file="badview.asp"-->
<!--#include file="close.asp"-->
<%
''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Jimmy中文站留言簿 Version 1.08 '
' http://www.lunji.com '
' Powered by BlueSailor '
' QQ:428140 E-MAIL: bluesailor@etang.com '
''''''''''''''''''''''''''''''''''''''''''''''''''''''
'*****************************************************
'(特别声明:共享软件,未经本人同意,不得用于商业用途)
'*****************************************************
%>
<%
'强制性刷新随机验证码
'让随机验证码每次按IE的后退按钮时,返回登录页面的随即码都自动刷新,
Response.expires=-1
Response.AddHeader"pragma","no-cache"
Response.AddHeader"cache-control","no-store"
%>
<script language="JavaScript">
function Do_submit()
{
lunjily.action = "save.asp";
lunjily.submit();
return true;
}
</script>
<html>
<head>
<meta name="Author" content="BlueSailor">
<title>发表留言--<%=lybtitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="style.asp"-->
</head>
<body onkeydown="if(event.keyCode==13 && event.ctrlKey)document.forms[0].submit()" >
<!--#include file="top.asp"-->
<form name=lunjily action=save.asp method=post>
<table cellspacing=0 border=1 width=650 style="border-collapse: collapse" cellpadding="0" height="310" align="center" bordercolor="<%=bordercolor%>">
<tr>
<td height=21 colspan="2" class="addfont"><div align="center">发表留言(有<font color="#FF0000">*</font>号的必填)</div></td>
</tr>
<tr>
<td width="217" height="21" class="addfont"><div align="right">(版主请用管理中的ID)你的姓名:
</div></td>
<td width="427" height="21" class="bodytableleft"> <input type="text" name="guestname" maxlength="10" size="20" onfocus=this.select() onmouseover=this.focus()>
<font color="#FF0000">*</font> </td>
</tr>
<tr>
<td width="217" height="21" class="addfont"> <div align="right">来自哪里:
</div></td>
<td width="427" height="21" class="bodytableleft"> <input type="text" name="from" maxlength="10" size="20" onfocus=this.select() onmouseover=this.focus()>
</td>
</tr>
<tr>
<td width="217" height="21" class="addfont"> <div align="right">主页地址:
</div></td>
<td width="427" height="21" class="bodytableleft"> <input type="text" name="homepage" size="20" onfocus=this.select() onmouseover=this.focus() value="http://">
</td>
</tr>
<tr>
<td width="217" height="21" class="addfont"> <div align="right">Email地址: </div></td>
<td width="427" height="21" class="bodytableleft"> <input type="text" name="email" size="20" onfocus=this.select() onmouseover=this.focus()>
</td>
</tr>
<tr>
<td width="217" height="21" class="addfont">
<div align="right">MSN: </div></td>
<td width="427" height="21" class="bodytableleft">
<input type="text" name="msn" size="20" onfocus=this.select() onmouseover=this.focus()>
</td>
</tr>
<tr>
<td width="217" height="22" class="addfont"><div align="right">QQ号码:
</div></td>
<td width="427" height="22" class="bodytableleft"> <input type="text" name="oicq" maxlength="9" size="20" onfocus=this.select() onmouseover=this.focus() onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
</td>
</tr>
<%
if smile=True then
%>
<tr>
<td width="217" height="22" class="addfont"> <div align="right">选择表情: </div>
</div></td>
<td width="427" height="22" valign="middle" class="bodytableleft"> <img src="images/p1.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p1.gif[/img]';" style="CURSOR:hand" >
<img src="images/p2.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p2.gif[/img]';" style="CURSOR:hand" >
<img src="images/p3.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p3.gif[/img]';" style="CURSOR:hand" >
<img src="images/p4.gif" width="15" height="24" onclick="guestcontent.value+='[img]images/p4.gif[/img]';" style="CURSOR:hand" >
<img src="images/p5.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p5.gif[/img]';" style="CURSOR:hand" >
<img src="images/p6.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p6.gif[/img]';" style="CURSOR:hand" >
<img src="images/p7.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p7.gif[/img]';" style="CURSOR:hand" >
<img src="images/p8.gif" width="15" height="15" onclick="guestcontent.value+='[img]images/p8.gif[/img]';" style="CURSOR:hand" >
<img border="0" src="images/p9.gif" onclick="guestcontent.value+='[img]images/p9.gif[/img]';" style="CURSOR:hand" >
<img border="0" src="images/p10.gif" onclick="guestcontent.value+='[img]images/p10.gif[/img]';" style="CURSOR:hand" >
<img border="0" src="images/p11.gif" onclick="guestcontent.value+='[img]images/p11.gif[/img]';" style="CURSOR:hand" >
<img border="0" src="images/p12.gif" onclick="guestcontent.value+='[img]images/p12.gif[/img]';" style="CURSOR:hand" >
<img border="0" src="images/p13.gif" onclick="guestcontent.value+='[img]images/p13.gif[/img]';" style="CURSOR:hand" ></td>
</tr>
<%end if%>
<%
if secret=True then
%>
<tr>
<td width="217" height="22" class="addfont"><div align="right">悄悄话:
</div></td>
<td width="427" height="22" class="bodytableleft"> <select size="1" name="secretly">
<option selected value="False">否</option>
<option value="True">是</option>
</select> </td>
</tr>
<%end if%>
<tr>
<td width="217" height="11" class="addfont"> <div align="right">选择头像:
</div></td>
<td width="427" height="11" class="bodytableleft"> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div id="imgBox"></div>
<input name="myhead" type="hidden" id="myface" size="10" value=""> </center>
<script language="JavaScript" src="head.js" type="text/JavaScript"></script>
</td>
</tr>
</table></td>
</tr>
<%
if ubb=True then
%>
<tr>
<td width="217" height="22" class="addfont"><div align="right">Ubb标签:
</div></td>
<td width="427" height="22" class="bodytableleft"> <script src=code.js></script>
<!--#include file=ubb.inc -->
</td>
</tr>
<%end if%>
<%
'校验码 add date: 2005/09/24 -bluesailor
if chkcode=True then
%>
<tr>
<td width="217" height="22" class="addfont"><div align="right">校验码:
</div></td>
<td width="427" height="22" class="bodytableleft"> <input name="VCode" type="text" id="VCode" size="10" maxlength="6" onfocus=this.select() onmouseover=this.focus() /> <img src="code.asp" alt="验证码" border="1" align="absmiddle" />(请输入左边数字,返回本页请先刷新)
</td>
</tr>
<%End If%>
<tr>
<td width="217" height="95" class="addfont"><div align="right">留言内容:(*)
<br>
UBB:开启 <br>
最大留言字节数:<%=maxlen%><br>
<br>
</div></td>
<td width="427" height="95" class="bodytableleft"> <textarea name="guestcontent" cols="47" wrap="VIRTUAL" rows="8"
onfocus=this.select() onmouseover=this.focus()></textarea>
<font color="#FF0000">*</font> </td>
</tr>
<tr class="addfont">
<td height=22 colspan="2" align=center> <input type="submit" name="Submit3" value="提交" onclick="javascript:this.disabled=true;return Do_submit()" class=noBorder>
(Ctrl+Enter提交) <a href="index.asp">查看留言</a></td>
</tr>
</table>
</form> <br>
<!--#include file="bottom.asp"-->
</body>
</html>
<%
connclose()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -