<head>
<title></title>
<LINK 
href="css.css" type=text/css rel=stylesheet>
</head>
<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"-->
<%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<now-"&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="F6F6F6">
  <form action="?action=del" method="POST">  <tr> 
    <td colspan="2" class="norightbuttonborder2"><div align="center"><font color="#FFFFFF">社区短信管理</font></div></td>
  </tr>
  <tr> 
    <td width="50%" bgcolor="#FFFFFF"><div align="right">删除多少天前的留言：( 填数字 )</div></td>
    <td width="50%" bgcolor="#FFFFFF"><input name="ddname" type="text" class="textbox_shiixian_hui" size="20"></td>
  </tr>
  <tr> 
    <td bgcolor="#FFFFFF"><div align="right">
        <input name="B1" type="submit" class="button" value=" 提 交 ">
      </div></td>
    <td bgcolor="#FFFFFF"><input name="B2" type="reset" class="button" value=" 重 置 "></td>
  </tr>
  </form> 
</table>
<%end if%>