delbuy.ASP
资源名称:qnmov30.rar [点击查看]
上传用户:qyswxdl
上传日期:2013-06-01
资源大小:1373k
文件大小:1k
源码类别:
家庭/个人应用
开发平台:
ASP/ASPX
- <!--#include file="../checkpost.asp"-->
- <!--#include file="articleconn.asp"-->
- <!--#include file="security.asp"-->
- <%if session("flag")>2 then
- response.write "<br><p align=center>您的操作权限不够!</p>"
- response.end
- end if
- %>
- <%
- date01=request("date03")
- date02=request("date04")
- if date01="" and date02="" then
- conn.execute "delete from buy WHERE baoyue=1 and now()-datetime >=30"
- conn.close
- set conn=nothing
- else if date01<>"" and date02<>"" then
- conn.execute "delete from buy WHERE baoyue=1 and datetime>=#"&date01&"# and datetime<=#"&date02&"# "
- conn.close
- set conn=nothing
- end if
- end if
- response.redirect Request.ServerVariables("HTTP_REFERER")
- %>