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

📄 member_delbondingurl.asp

📁 直接解压即可 都是asp源码 超经典的啊
💻 ASP
字号:
<!--#include file="conn.asp"-->
<% 
id=session("userid")
username=session("username")
if id="" or username="" then
response.Redirect("adminloginerror.asp")
end if
Set rs = Server.CreateObject("ADODB.Recordset")
if session("usertyp")="企业" then
sql="select * from userentreg where login_name='"& username &"' and id=" & id &""
end if
if session("usertyp")="个人" then
sql="select * from userpersreg where login_name='"& username &"' and id=" & id &""
end if
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">

<body style="font-size: 9pt">
<% 
id=request.querystring("id")
hostid=request.querystring("hostid")
url=request.querystring("url")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from bondingurl where id="&id &" and hostid="& hostid &""
rs.open sql,conn,3,3
if rs.eof then
response.write"<div align=center class=f1><br>域 名 "& url &" 没 有 绑 定 在 此 主 机 上!</div>"
else
ok="取消"
ok2="未绑定"
rs("actions")=ok
rs("bondingok")=ok2
rs.update
response.write"<div align=center class=f1><br> 域 名 "& url &" 取 消 绑 定 成 功!<br><br></div>"
end if
rs.close
set rs=nothing
%>
</body>
</html>
<% 
end if
set conn=nothing
%>

⌨️ 快捷键说明

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