⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 add.asp

📁 一套企业全站
💻 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()" >








<form name=lunjily action=save.asp method=post>    
  <table cellspacing=0 border=1 width=567 style="border-collapse: collapse"  cellpadding="0" height="225" 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">你的姓名:&nbsp; 
        </div></td>
      <td width="344" height="21" class="bodytableleft"> &nbsp; <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">来自哪里:&nbsp; 
        </div></td>
      <td width="344" height="21" class="bodytableleft">&nbsp; <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">Email地址:&nbsp;</div></td>
      <td width="344" height="21" class="bodytableleft"> &nbsp; <input type="text" name="email" size="20" onfocus=this.select() onmouseover=this.focus()> 
      </td>
    </tr>
    <tr> 
      <td width="217" height="22" class="addfont"><div align="right">QQ号码:&nbsp; 
        </div></td>
      <td width="344" height="22" class="bodytableleft"> &nbsp; <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    
	%>
    <%end if%>
    <%    
if secret=True then    
%>
    <%end if%>
	<%    
		if ubb=True then    
	%>
    <%end if%>
<%    
'校验码 add date: 2005/09/24 -bluesailor
	if chkcode=True then    
%>
<%End If%>

    <tr> 
      <td width="217" height="95" bgcolor="#FFFFFF" class="addfont"><div align="right">留言内容:(*) 
          <br>
          最大留言字节数:<%=maxlen%><br>
          <br>
        </div></td>
      <td width="344" height="95" class="bodytableleft"> &nbsp; <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>    

</body>     
</html>
<%
connclose()    
%>    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -