?? 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 + -