📄 ad_sheng.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("admin_name")="" then response.end
set rs=server.createobject("adodb.recordset")
%>
<%
if request("action")="up" then
sql="select user_type from [user] where ID="&request("user_id")
rs.open sql,conn,3,3
if rs.eof then
response.write "没有此用户信息!"
else
rs("user_type")="VIP"
response.write "用户升级为VIP会员成功!"
rs.update
end if
else if request("action")="down" then
sql="select user_type from [user] where ID="&request("user_id")
rs.open sql,conn,3,3
if rs.eof then
response.write "没有此用户信息!"
else
rs("user_type")="会员"
response.write "用户降级为普通会员成功!"
rs.update
end if
end if
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -