2 then
response.write "您的操作权限不够!"
response.end
end if
%>
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 conn.close
set conn=nothing
end if
end if
response.redirect Request.ServerVariables("HTTP_REFERER")
%>