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

📄 welcomegbwrite.asp

📁 此程序为网上下载
💻 ASP
字号:
<%@ codepage ="936" %>
<%Response.Expires=0
nickname=Session("hxf_u_nickname")
if nickname="" then Response.Redirect "error.asp?id=210"
towho=Trim(Request.QueryString("towho"))
title=Replace(Trim(Request.QueryString("title")),chr(34),"'")
if title<>"" then title="Re:"&title%><html>
<head>
<title>书写留言</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="readonly/style.css">
<script language="JavaScript">
function check(){if(document.forms[0].title.value==""||document.forms[0].intro.value==""||document.forms[0].fromwho.value==""){alert("请将红色项目填写完整!");return false;}document.forms[0].Submit.disabled=1;return true;}
</script>
</head>
<body oncontextmenu=self.event.returnValue=false bgcolor="#DCD8D0" topmargin="0">
<table border="1" cellspacing="0" bordercolorlight="#DCD8D0" bordercolordark="#DCD8D0" align="center" bgcolor="#DCD8D0" cellpadding="8" width="414">
  <form method="post" action="welcomegbwrok.asp" onsubmit='return(check());'>
<tr align="center">
<td> 
        <table width="91%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td><a title="你想把这条留言写给谁,就在此处填写对方的名称,必须<=20字符。(一个汉字占两个字符的宽度)"><font color="#FF0000">写给聊友:</font></a></td>
            <td> 
              <input type="text" name="towho" maxlength="20" value=<%=towho%>>
              <input type="checkbox" name="mm" value="1">
              <a title="选中此项,则此留言只有你和对方才能看到。">悄悄话</a></td>
          </tr>
          <tr> 
            <td><a title="本留言的中心思想,<=40字符。"><font color="#FF0000">留言主题:</font></a></td>
            <td> 
              <input type="text" name="title" size="40" maxlength="40" value="<%=title%>">
            </td>
          </tr>
          <tr> 
            <td height="75"><font color="#FF0000">留言内容:</font><br>
              <=1024</td>
            <td height="75"> 
              <textarea name="intro" cols="40" rows="4"></textarea>
            </td>
          </tr>
          <tr> 
            <td height="76" colspan="2">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td height="26" width="20%"><a title="填写你的姓名,<=20字符。"><font color="#FF0000">留 
                    言 者:</font></a></td>
                  <td height="26" width="80%"> 
                    <input type="text" name="fromwho" maxlength="20" value=<%=nickname%>>
                    <a title="为防止有人冒名留言,如果你在前一项中使用的姓名是已经注册的姓名,则必须输入密码,才能留言。"><font color="#FF0000">密码:</font></a> 
                    <input type="password" name="pass" size="10" maxlength="20">
                  </td>
                </tr>
                <tr> 
                  <td height="24" width="20%"><a title="当然是填写你所在的省市了,<=20字符">来自何方:</a></td>
                  <td height="24" width="80%"> 
                    <input type="text" name="address" maxlength="20">
                    <input type="checkbox" name="hideip" value="1">
                    <a title="选中此项,则你的IP不会显示在留言簿中。">隐藏我的IP</a></td>
                </tr>
                <tr> 
                  <td width="20%"><a title="填写你的 E-mail 地址,<=50字符。">电子信箱:</a></td>
                  <td width="80%"> 
                    <input type="text" name="email" maxlength="50">
                  </td>
                </tr>
                <tr> 
                  <td width="20%"><font color="#0000FF">主页名称:</font></td>
                  <td width="80%"> 
                    <input type="text" name="homename" size="16" maxlength="24">
                    <a title="你的主页的地址,<=50字符">地址</a> 
                    <input type="text" name="homeurl" value="http://" size="16" maxlength="50">
                  </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" height="2"> 
                    <input type="submit" name="Submit" value="提交留言(S)">
                    <input type="reset" value="重写留言(R)" name="reset">
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        
      </td>
</tr>
</form>
</table>
</body>
</html>

⌨️ 快捷键说明

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