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

📄 mbsign.asp

📁 睿网留言版 2004 v1.0
💻 ASP
字号:
<!--#include file="conn.inc"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>签写留言</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body topmargin="3" leftmargin="40" bgcolor="#999999">
<form method="POST" name="form" target="_self" action="mbsave.asp" >
  <div align="center">
    <center>
      <table border="0" width="100%" height="156" cellspacing="1" bgcolor="#000000" align="center">
        <script>function showimage(){document.images.tus.src="face/"+document.form.p1.options[document.form.p1.selectedIndex].value+""+document.form.p2.options[document.form.p2.selectedIndex].value+".gif";}</script>
      <tr>
        <td width="100%" height="1" bgcolor="#EEEEEE" colspan="5" align="center">签写留言</td>
      </tr>
      <tr>
        <td width="26%" height="16" bgcolor="#FFFFFF">姓名:</td>
        <td width="14%" height="16" bgcolor="#FFFFFF"><input type="text" name="name" maxlength="10" size="20" style="color: #000000; border: 1 solid #000000" tabindex="1"></td>
        <td width="26%" height="16" bgcolor="#FFFFFF">性别:</td>
        <td width="27%" height="16" bgcolor="#FFFFFF">
          <p align="center"><select name="p1" size="1" onChange="showimage()" class="input1" tabindex="2">
          <option selected value="gg">我是帅哥
          <option value="mm">我是靓妹</option>
          </select>
          </p>
        </td>
        <td width="38%" height="16" bgcolor="#FFFFFF">
          <p align="center">
          <select name=p2 size=1 onChange="showimage()" class="input1" tabindex="3">
            <% for iok=1 to 174 %>  
            <option value='<%=iok%>'>图片<%=iok%></option>
            <%next%>
          </select>  
          </p>  
        </td>  
      </tr>  
      <tr>  
        <td width="26%" height="16" bgcolor="#FFFFFF">邮件:</td>  
        <td width="14%" height="16" bgcolor="#FFFFFF"><input type="text" name="email" size="20" maxlength="20" style="color: #000000; border: 1 solid #000000" tabindex="4"></td>  
        <td width="25%" height="16" bgcolor="#FFFFFF">来自:</td>  
        <td width="27%" height="16" bgcolor="#FFFFFF"><input type="text" name="from" size="20" maxlength="10" style="color: #000000; border: 1 solid #000000" tabindex="5"></td>  
        <td width="38%" height="93" bgcolor="#FFFFFF" rowspan="5"> 
          <p align="center"><img src="face/gg1.gif" name="tus" alt="呵~选个酷的头像留言:)" border="0" width="72" height="116"></p>
        </td> 
      </tr> 
      <tr> 
        <td width="26%" height="16" bgcolor="#FFFFFF">性质:</td> 
        <td width="14%" height="16" bgcolor="#FFFFFF"><input type="radio" value="0" checked name="pubsee" tabindex="6">公开&nbsp;&nbsp;&nbsp;&nbsp;                        
          <input type="radio" value="1" name="pubsee">不公开</td>                        
        <td width="26%" height="16"  bgcolor="#FFFFFF">密码:</td>                        
        <td width="27%" height="16" bgcolor="#FFFFFF"><input name="serpass" size="20" maxlength="12" style="color: #000000; border: 1 solid #000000" tabindex="7" type="password"></td>                        
      </tr>                        
      <tr>                        
        <td width="26%" height="16" bgcolor="#FFFFFF">主页:</td>                        
        <td width="14%" height="16" bgcolor="#FFFFFF"><input type="text" name="homepage" size="20" maxlength="34" style="color: #000000; border: 1 solid #000000" value="http://" tabindex="8"></td>                        
        <td width="51%" height="16" bgcolor="#FFFFFF" colspan="2">                       
          <p align="center">↑注:留言不公开才需要密码的!</p>                      
        </td>                       
      </tr>                       
      <tr>                       
        <td width="26%" height="16" bgcolor="#FFFFFF">QQ:</td>                       
        <td width="14%" height="16" bgcolor="#FFFFFF"><input type="text" name="qq" maxlength="10" size="10" style="color: #000000; border: 1 solid #000000" tabindex="9"></td>                       
        <td width="26%" height="16" bgcolor="#FFFFFF">签名:</td>                       
        <td width="27%" height="16" bgcolor="#FFFFFF"><input type="text" name="sign" size="20" maxlength="12" style="color: #000000; border: 1 solid #000000" tabindex="10"></td>                       
      </tr>                       
      <tr>                       
        <td width="26%" height="13" bgcolor="#FFFFFF">主题:</td>                       
        <td width="65%" height="13" bgcolor="#FFFFFF" colspan="3"><input type="text" name="subject" maxlength="10" size="37" style="color: #000000; border: 1 solid #000000" tabindex="11"></td>                       
      </tr>                       
      <tr>                       
        <td width="26%" height="16" bgcolor="#FFFFFF">留言:</td>                       
        <td width="103%" height="8" bgcolor="#FFFFFF" colspan="4"><textarea rows="4" name="content" cols="55" style="color: #000000; border: 1 solid #000000" tabindex="12"></textarea></td>                      
      </tr>                      
      <tr>                      
        <td width="26%" height="32" bgcolor="#FFFFFF" rowspan="2">心情:</td>                      
        <td width="103%" height="8" bgcolor="#FFFFFF" colspan="4">                    
          <p align="center"><input type="radio" value="1" checked name="pic" tabindex="13"><img border="0" src="pic/1.gif"><input type="radio" value="2" name="pic"><img border="0" src="pic/2.gif"><input type="radio" value="3" name="pic"><img border="0" src="pic/3.gif"><input type="radio" value="4" name="pic"><img border="0" src="pic/4.gif"><input type="radio" value="5" name="pic"><img border="0" src="pic/5.gif"><input type="radio" value="6" name="pic"><img border="0" src="pic/6.gif"><input type="radio" value="7" name="pic"><img border="0" src="pic/7.gif"><input type="radio" value="8" name="pic"><img border="0" src="pic/8.gif"><input type="radio" value="9" name="pic"><img border="0" src="pic/9.gif"><input type="radio" value="10" name="pic"><img border="0" src="pic/10.gif"></p>                   
        </td>                     
      </tr>                     
      <tr>                     
        <td width="103%" height="8" bgcolor="#FFFFFF" colspan="4">                   
          <p align="center"><input type="radio" value="011" name="pic"><img border="0" src="pic/11.gif"><input type="radio" value="12" name="pic"><img border="0" src="pic/12.gif"><input type="radio" value="13" name="pic"><img border="0" src="pic/13.gif"><input type="radio" value="14" name="pic"><img border="0" src="pic/14.gif"><input type="radio" value="15" name="pic"><img border="0" src="pic/15.gif"><input type="radio" value="16" name="pic"><img border="0" src="pic/16.gif"><input type="radio" value="17" name="pic"><img border="0" src="pic/17.gif"><input type="radio" value="18" name="pic"><img border="0" src="pic/18.gif"><input type="radio" value="19" name="pic"><img border="0" src="pic/19.gif"><input type="radio" value="20" name="pic"><img border="0" src="pic/20.gif"></p>                   
        </td>                     
      </tr>                     
      <tr>                     
        <td width="124%" height="16" bgcolor="#FFFFFF" colspan="5">                    
          <p align="center"><input type="submit" value="上交留言" name="submit" class="input1" style="color: #000000; border: 1 solid #000000" tabindex="14">                     
          <input type="reset" value="全部复位" name="reset" class="input1" style="color: #000000; border: 1 solid #000000">                      
                              
        </td>                      
      </tr>
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from admin where id=1"
rs1.open sql1,conn,1,1
pss=rs1("pss")
adminmail=rs1("adminemail")
rs1.close
set rs1=nothing
if pss=1 then
 boardcontent="不公开留言是被允许的"
else
 boardcontent="不公开留言是被禁止的"
end if
%>                   
      <tr>                     
        <td width="124%" height="16" bgcolor="#EEEEEE" colspan="5">                    
          <p align="center">签写留言<font color="#FF0000">(注意:<%=boardcontent%>)</font></td>                      
      </tr>                      
    </table>                      
    </center>                      
  </div>                      
</form>                      
         
         
</body>                     
                     
</html>

⌨️ 快捷键说明

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