📄 setzs.asp
字号:
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%
if session("admin")="" then
response.redirect "admin.asp"
else
if session("flag")>1 then
response.write "<br/><p align=center>您没有操作的权限</p>"
response.end
end if
end if
%>
<!-- #include file="conn.asp" -->
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<card id='main' title='操作提示'>
<p><%
id=request("id")
set rs=server.createobject("adodb.recordset")
sql = "select * from sheet where id="&id
rs.open sql,conn,1,2
if rs.bof and rs.eof then
response.write "该会员帐号不存在或已经被管理员删除"
else
if instr(rs("bz"),"-99-")>0 then
response.write "职位是站长,不能更改!"
else
if instr(rs("bz"),"-98-")>0 then
rs("bz")=replace(rs("bz"),"-98-","-")
rs.update
else
rs("bz")=""&rs("bz")&"98-"
rs.update
end if
response.write "更改成功!"
end if
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<br/>----------
<br/>选择返回菜单:
<br/><a href='admin_bbs.asp'>1.论坛管理</a>
<br/><a href='main.asp'>2.管理首页</a>
</p>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -