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

📄 write_notice.asp

📁 超级留言簿(dxxo) 本留言参考了网上很多留言簿改进而来
💻 ASP
字号:
<%sub write_notice()
%>
<%
'防止用户跨越管理
if session("user")<>request("user") then
session("user")="" 
end if
%>

<%tablefirst()%>
<table width=100% border=1 cellspacing=0 cellpadding=2 bordercolorlight=#333333 bordercolordark=#FFFFFF align="center"> 
 <form name=submitok method=POST action=index.asp?action=add_notice&user=<%=user%> onkeydown="if(event.keyCode==13 &amp;&amp; event.ctrlKey)submitok.submit()" >
        
          <tr> 
            <td  align=center valign="top"> 
              <font  class=link  > <br>
              </font> 
              <table width=100% border=0 cellspacing=0 cellpadding=6 height=103>
                <tr> 
                  
            <td colspan="2" class=link  align="center">发 表 公 告</td>
                </tr>
                <tr> 
                  
            <td width=24% class=link  align="right">公告主题: </td>
                  <td width=76%>&nbsp;   
                    
              <input type=text name=title size=46 maxlength=50 class=link>
                  </td>
                </tr>
                <tr> 
                  <td width=17% class=link  align="right">选择话题: </td>
                  <td width=40% align="left">&nbsp;   
                    
              <select name=type class=link>
                <option selected value="">请选择</option>
                <option value="[注意]">[注意]</option>
                <option value="[祝贺]">[祝贺]</option>
                <option value="[讨论]">[讨论]</option>
                <option value="[求助]">[求助]</option>
                <option value="[推荐]">[推荐]</option>
                <option value="[建议]">[建议]</option>
              </select>
                  </td>
                </tr>
                <tr> 
                  
            <td width=24% class=link  align="right">公告内容:<br>
              <%if ubb=1 then%>
              支持UBB,<br>  
              <a href=javascript:openScript('?user=<%=request("user")%>&action=help_ubb',580,400)>UBB帮助</a>!   
              <%end if%>
              <br>
                  </td>
                  <td width="76%">&nbsp;   
                    <textarea rows=8 name=message cols=45 class=link wrap="PHYSICAL" title=可以使用Ctrl+Enter直接提交></textarea>
            </td>
                </tr>
                <tr align="center"> 
                  <td colspan="2" class=link > 
                    
              <input type=submit value=发表公告 class=link name="submit2">
                    [<font    
            color=#ff0000>Ctrl+Enter直接提交</font>] </td>
                </tr>
              </table>
                <p>&nbsp; </p>
            
           </td>
          </tr>
</form>
         </table>
<%tablelast()%>
<%end sub%>

⌨️ 快捷键说明

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