📄 editbbsuser.asp
字号:
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<%
'=================================================
' Copyright 2007-05 jinqiu. All Rights Reserved.
' Last Update: 2007-05-15 HTTP://www.wapfs.net
'=================================================
%>
<%
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" -->
<%
id=request("id")
set rs=server.createobject("adodb.recordset")
sql = "select * from sheet where id="&id
rs.open sql,conn,1,1
if rs.bof and rs.eof then
response.write "该会员帐号不存在或已经被管理员删除"
else
%>
<?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'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='main' title='权限编辑' >
<p>职位设置:
<%
if instr(rs("bz"),"-99-")>0 then
response.write "<br/>职位是站长,不能更改!"
else
if instr(rs("bz"),"-98-")>0 then
%>
<br/><a href='setzs.asp?id=<%=id%>'>取消助理</a>
<%
else
if instr(rs("bz"),"-97-")>0 then
%>
<br/><a href='setadmin.asp?id=<%=id%>'>取消管理员</a>
<%
else
%>
<br/><a href='setzs.asp?id=<%=id%>'>升为助理</a>
<br/><a href='setadmin.asp?id=<%=id%>'>升为管理员</a>
<%
end if
end if
end if
%>
<br/>积分操作:
<br/><select name='jifeng' size='1'>
<option value='100'>+100</option>
<option value='50'>+50</option>
<option value='20'>+20</option>
<option value='10'>+10</option>
<option value='-10'>-10</option>
<option value='-20'>-20</option>
<option value='-50'>-50</option>
<option value='-100'>-100</option>
</select>
<br/><anchor>[-提交-]
<go href='jifeng.asp?id=<%=id%>' method='post' accept-charset='utf-8'>
<postfield name='jifeng' value='$(jifeng)'/>
</go>
</anchor>
<br/>浏览设置:
<%
if instr(rs("bz"),"-99-")>0 then
response.write "<br/>职位是站长,不能更改!"
else
set rs1=server.createobject("adodb.recordset")
sql = "select * from black where pnumber='"&rs("shouji")&"'"
rs1.open sql,conn,1,1
if rs1.bof and rs1.eof then
%>
<br/><a href='setblack.asp?shouji=<%=rs("shouji")%>'>封其帐号</a>
<%
else
%>
<br/><a href='delblack.asp?shouji=<%=rs("shouji")%>'>解封帐号</a>
<%
end if
rs1.close
set rs1=nothing
end if
%>
<br/>------------
<br/><a href='main.asp'>管理首页</a></p>
</card>
</wml>
<% end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -