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

📄 photohot.asp

📁 采用ASP+ACCESS+ASPUPJPG组件构成
💻 ASP
字号:
<!--#include file="mdb/conn.asp" -->
<!--#include file="config.asp" -->
<!--#include file="check.asp" -->
<%
tt=Request.QueryString("t")
idd=Request.QueryString("id")
if tt ="" then 
tt=0
end if
'response.write tt
'response.end
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="select * from desktop where id="&idd
'response.write sql
'response.end
rs.OPEN sql,Conn,1,3
if Rs("hot")="" OR IsNULL(Rs("hot"))=true then
	Rs("hot") ="0"
	else
	Rs("hot") = tt
	end if
rs.update
Rs.close
set Rs = nothing
%>
<script>
function window.onbeforeunload(){
window.opener.location.reload()
}
</script>
<SCRIPT language=JavaScript>alert("设置成功!");window.close();</SCRIPT>

⌨️ 快捷键说明

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