delbuy02ji.asp
来自「视频点播系统」· ASP 代码 · 共 20 行
ASP
20 行
<!--#include file="articleconn.asp"-->
<!--#include file="security.asp"-->
<%
date01=request("date03")
date02=request("date04")
if date01="" and date02="" then
conn.execute "delete from buy WHERE baoyue=0 and now()-datetime >=30 and pay=1"
conn.close
set conn=nothing
else if date01<>"" and date02<>"" then
conn.execute "delete from buy WHERE baoyue=0 and pay=1 and datetime>='"&date01&"' and datetime<='"&date02&"' "
conn.close
set conn=nothing
end if
end if
response.redirect Request.ServerVariables("HTTP_REFERER")
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?