📄 del_sms.asp
字号:
<!--#include file="../conn2.asp"-->
<!--#include file="../inc/config.asp"-->
<!--#include file="set.asp"--><head>
<LINK
href="css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
</head>
<%action=request.querystring("action")
if action<>"" then
daynum=Replace(Request.form("ddname"),"'","''")
if daynum="" then
%>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center" class="title_white14"><strong><font color=red>请输入指定日期</font></strong></div></td>
</tr>
</table>
<%else
conn.execute("delete from sms where riqi<getdate()-"&daynum&"")
%>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><div align="center" class="title_white14"><strong><font color=red>删 除 成 功</font></strong></div></td>
</tr>
</table>
<%end if%>
<%else%>
<br>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#CCCCCC">
<form action="?action=del" method="POST"> <tr bgcolor="f1f1f1">
<td height="25" colspan="2" class="norightbuttonborder2"><div align="center" class="style1">社区短信管理</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="50%" height="25"><div align="right">删除多少天前的留言:( 填数字 )</div></td>
<td width="50%" height="25"><input name="ddname" type="text" class="textbox_shiixian_hui" size="20"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="25"><div align="right">
<input name="B1" type="submit" class="button" value=" 提 交 ">
</div></td>
<td height="25"><input name="B2" type="reset" class="button" value=" 重 置 "></td>
</tr>
</form>
</table>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -