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

📄 open.asp

📁 直接解压即可 都是asp源码 超经典的啊
💻 ASP
字号:


<!--#include file="conn.asp"-->
<!--#include file="top.asp"-->
<% 
id=session("userid")
username=session("username")
if id="" or username="" and session("login")<>"login" then
response.Redirect("adminloginerror.asp")
end if
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from sysuser where sysuser='"& username &"' and id=" & id &" and admintyp='技术管理员'"
rs.open sql,conn,3,3
if rs.eof then
response.Redirect("adminloginerror.asp")
else
%>
<html>

<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">

<% id=request.QueryString("id")
   typ=request.QueryString("typ")
   Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from sys_meeting where typ='"& typ &"' and id=" & id &""
rs.open sql,conn,3,3
rs("sysent")="已开通"
rs.update
if typ="mail" then
 Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from mailshopping where id=" & id &""
rs.open sql,conn,3,3
rs("bolo")="已结算"
rs.update
end if
if typ="host" then
 Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from hostshopping where id=" & id &""
rs.open sql,conn,3,3
rs("bolo")="已结算"
rs.update
end if
if typ="domainname" then
 Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from domainnameshopping where id=" & id &""
rs.open sql,conn,3,3
rs("bolo")="已结算"
rs.update
end if
response.write"<div align=center class=f1>开 通 成 功!</div>"
%>
<body>
<br>
</body>
</html>
<% 
end if
rs.close
set rs=nothing
set conn=nothing
%>

⌨️ 快捷键说明

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