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

📄 admin_pray.asp

📁 5237 论坛.rar
💻 ASP
字号:
<!--#include file="Inc/Level012.asp" -->
<!--#include file="Connections/connY.asp" -->
<!--#include file="Inc/TimeFormat.asp" -->
<!--#include file="Inc/UBBCode.asp" -->
<!--#include file="Inc/SetCss.asp" -->
<html>
<head>
<title><%=Forum_Title%></title>
<meta http-equiv="Content-Type" content="text/html;">
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<!--#include file="Inc/Css.asp" -->
<script language=Javascript src="Js/Menu.Js"></script>
<script language=Javascript src="Js/Button.Js"></script>
<script language=Javascript src="Js/Operate.Js"></script>
</head>
<body leftmargin="0" topmargin="0" bgcolor="<%=Forum_ColorList_BgColor%>" vlink="<%=Forum_Css_A_Link_Color%>" onLoad="MM_preloadImages('<%=Forum_Pic_Write2%>','<%=Forum_Pic_Vote2%>')">
<!--#include file="Inc/Top.asp" -->
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>">
  <tr> 
    <td height="20" bgcolor="<%=Forum_ColorList_BgColor%>"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
        <tr> 
          <td>&nbsp;您所在的位置: <a href="../" onfocus="this.blur()">首页</a> &gt;&gt; 
            <a href="List.asp" onFocus="this.blur()">讨论组</a> &gt;&gt; <font color="<%=Forum_ColorList_NavFontColor%>">论坛管理系统</font></td>
          <td width="18"> 
            <div align="center"></div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height=1></td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>" class="font">
  <tr> 
    <td valign="top" width="102" bgcolor="<%=Forum_ColorList_BgColor%>"> 
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr>
		<td>
          <!--#include file="Inc/Menu.asp" -->
		</td>
        </tr>
      </table>
    </td>
    <td bgcolor="<%=Forum_ColorList_BgColor%>" valign="top"> <br>
        <table width="80%" border="0" cellspacing="1" cellpadding="2" align="center" class="font" bgcolor="<%=Forum_ColorList_BorderColor%>">
          <tr> 
            
          <td bgcolor="<%=Forum_ColorList_TitleColor%>" height="20"> 许愿版管理</td>
          </tr>
          <tr> 
            
          <td bgcolor="<%=Forum_ColorList_BgColor%>" valign="top"> 1. 批量删除愿望.<br>
            -------------------------------------------------------------------------------<br>
            <%
			If Request("Action")="DelNow" Then
			Set rsDel = Server.CreateObject("ADODB.Recordset")
			If Request("TimeLimited")<>"A" Then
			Sql = "Select *  From tWishManage Where DateDiff('d',rTime,Now())>"&Cint(Request("TimeLimited"))
			Else
			Sql = "Select *  From tWishManage"
			End If
			rsDel.Open Sql,ConnY,3,3
			TotalNum=rsDel.RecordCount
			While Not rsDel.Eof
			rsDel.Delete
			rsDel.MoveNext
			Wend
			rsDel.Close
			Set rsDel=Nothing
			Response.Write "  成功批量删除"&TotalNum&"个愿望."
			End If
			If Request("Action")="" Then
			%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
              <form name="form1" method="post" action="Admin_Pray.asp?Action=DelNow">
                <tr> 
                  <td>  删除过期愿望   
                    <select name=TimeLimited size=1 class="textfiled">
                      <option value=A>删除所有的 
                      <option value=1>删除一天前的 
                      <option value=2>删除两天前的 
                      <option value=7>删除一星期前的 
                      <option value=15>删除半个月前的 
                      <option value=30>删除一个月前的 
                      <option value=60>删除两个月前的 
                      <option value=180>删除半年前的 
                      <option value=360>删除一年前的 
                      <option value=720>删除二年前的 
                    </select>
                       
                    <input type="submit" name="Submit" value="删除" class=button>
                    <br>
                  </td>
                </tr>
              </form>
            </table>
            <%
			End If
			%>
          </td>
          </tr>
        </table>
        <div align="center"><br>
      </div>
      <div align="center"></div>
    </td>
  </tr>
</table>
<!--#include file="Inc/Bottom.asp" -->
</body>
</html>

⌨️ 快捷键说明

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