admin_message.asp

来自「一个美化的论坛程序」· ASP 代码 · 共 28 行

ASP
28 行
字号
<!--#include file="function.asp"-->
<%CheckAdmin%>
<!--#include file="top.asp"-->
<img src="" width="1" height="3"><table width="680" border="0" cellspacing="1" cellpadding="1" align="center" bgcolor="<%=tablebackcolor%>">
  <tr>
    <td width="160" bgcolor="<%=tabletitlecolor%>"  valign=top> 
      <!--#include file="admin_left.asp"-->
    </td>
    <td width="622" bgcolor="<%=tablebodycolor%>">
	      <form name="form1" method="post" action="admin_message.asp?action=save">
        删除到 
        <input type="text" name="time" size="10" maxlength="10">
        以来的短信息 
        <input type="submit" value="确 定"></form>
<%
if request("action")="save" then
response.write "数据更新中,请稍候......<br><br>"
conn.execute "delete * from message where sendtime<="&request("time")
conn.close
set conn=nothing
end if%>
    </td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>

⌨️ 快捷键说明

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