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

📄 add.asp

📁 不是我做的一个留言板
💻 ASP
字号:
<!--#include file="../config.asp"-->
<%
if session("username")="" then
response.redirect "../log.asp"

else

lname=session("username")
%>
<html>
<head>
<title>...:::填写留言:::...</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style/style.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="750" border="0" cellspacing="2" cellpadding="1" align="center">
  <tr> 
    <td align="center">::::::::::::::<b><%=titlemark%> GUESTBOOK</b>::::::::::::</td>
  </tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="1" align="center">
  <tr> 
    <td align="right">[<a href="../index.asp">返回首页</a>] [<a href=index.asp>查看留言</a>]</td> 
  </tr> 
</table> 
<br> 
<form name="save" method="post" action="save.asp"> 
  <table width="400" border="0" cellspacing="0" cellpadding="0" align="center"> 
    <tr>  
      <td width="1" bgcolor="#ffffff" rowspan="8"></td> 
      <td width="50" bgcolor="#FFFFFF">姓名:<font color="#990000">*</font></td> 
      <td width="350" bgcolor="#FFFFFF">  
        <input type="text" name="txtname" maxlength="30" size="14" value=<%=lname%>> 
      </td> 
      <td width="1" bgcolor="#ffffff" rowspan="8"></td> 
    </tr> 
    <tr>  
      <td nowrap width="50" bgcolor="#FFFFFF">信箱:<font color="#990000">*</font></td> 
      <td width="350" height="2" bgcolor="#FFFFFF">  
        <input type="text" name="txtemail" size="20" maxlength="40"> 
      </td> 
    </tr> 
    <tr>  
      <td nowrap width="50" bgcolor="#FFFFFF">主页:</td> 
      <td width="350" bgcolor="#FFFFFF">  
        <input type="text" name="txthomepage" size="20" maxlength="50" value="http://"> 
      </td> 
    </tr> 
    <tr>  
      <td nowrap width="50" bgcolor="#FFFFFF">OICQ:*</td> 
      <td width="350" bgcolor="#FFFFFF">  
        <input type="text" name="txtoicq" size="10" maxlength="12"> 
      </td> 
    </tr> 
      <tr>  
      <td nowrap width="50" bgcolor="#FFFFFF">性别:</td> 
      <td width="350" bgcolor="#FFFFFF">  
      <SELECT NAME="sex" size="1"> 
        <option value="1" selected>BOY</option>
        <option value="2">GIRL</option>
      </SELECT>
      </td>
    </tr>
	<tr> 
      <td nowrap width="50" bgcolor="#FFFFFF">头像:</td>
      <td width="350" bgcolor="#FFFFFF"> 
        <input type="radio" name="txthead" value="1.gif" checked><IMG SRC="face/1.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="2.gif"><IMG SRC="face/2.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="3.gif"><IMG SRC="face/3.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="4.gif"><IMG SRC="face/4.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="5.gif"><IMG SRC="face/5.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <br>
        <input type="radio" name="txthead" value="6.gif"><IMG SRC="face/6.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="7.gif"><IMG SRC="face/7.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="8.gif"><IMG SRC="face/8.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="9.gif"><IMG SRC="face/9.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
        <input type="radio" name="txthead" value="10.gif"><IMG SRC="face/10.gif" WIDTH="20" HEIGHT="20" BORDER=0 ALT="">
      </td>
    </tr>
    <tr> 
      <td nowrap width="50" bgcolor="#FFFFFF" rowspan="2">内容:<font color="#990000">*<br>
        请不要超过500字<BR>
		</font></td>
      <td width="350" bgcolor="#FFFFFF"> 
        <textarea name="txtcontent" cols="40" rows="6"></textarea>
      </td>
    </tr>
    <tr>
      <td width="350" bgcolor="#FFFFFF">
        <input type="submit" name="Submit" value="留言">
        <input type="reset" name="Submit2" value="重置">
      </td>
    </tr>
  </table>

</form>
<div align="center"><font color="#990000">*</font>为必填项 [支持UBB码]<br>
</div>
<table width="750" border="0" cellspacing="2" cellpadding="1" align="center">
  <tr> 
    <td align="center">麻婆豆腐工作室 版权所有<br>
      Copyright (C) http://www.hztt.com http://www.chinastudy.cc/bbs</td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
<%end if%>
</html>

⌨️ 快捷键说明

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