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

📄 editbbsuser.asp

📁 admin/admin.asp是WAP的后台管理登陆页面
💻 ASP
字号:
<%
  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 "<script>window.alert('该会员帐号不存在或已经被管理员删除');window.location='bbsuser.asp';</script>"
else
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<table align="center" width="60%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#000000">
<tr bgcolor=#999999><td  colspan="2">权限编辑</td></tr>
<tr bgcolor=#FFFFFF><td align="right" width="150">职位设置:</td><td><%
if instr(rs("bz"),"-99-")>0 then
response.write "职位是站长,不能更改!"
else
if instr(rs("bz"),"-98-")>0 then
%><input type="submit" value="取消助理" onclick="window.location.href='setzs.asp?id=<%=id%>';"><%
else
if instr(rs("bz"),"-97-")>0 then
%><input type="submit" value="取消管理员" onclick="window.location.href='setadmin.asp?id=<%=id%>';"><%
else
%><input type="submit" value="升为助理" onclick="window.location.href='setzs.asp?id=<%=id%>';">&nbsp;<input type="submit" value="升为管理员" onclick="window.location.href='setadmin.asp?id=<%=id%>';"><%
end if
end if
end if
%></td></tr>
<tr bgcolor=#FFFFFF><td align="right" width="150">积分操作:</td><form method="POST" action="jifeng.asp?id=<%=id%>" name="form1"><td>
<select name="jifeng" size="1">
<option selected value="100">+100</option>
<option selected value="50">+50</option>
<option selected value="20">+20</option>
<option selected value="10">+10</option>
<option selected value="-10">-10</option>
<option selected value="-20">-20</option>
<option selected value="-50">-50</option>
<option selected value="-100">-100</option>
</select>
<input type="submit" name="Submit" value="确定"></td></form></tr>
<tr bgcolor=#FFFFFF><td align="right" width="150">浏览设置:</td><td><%
if instr(rs("bz"),"-99-")>0 then
response.write "职位是站长,不能更改!"
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
%><input type="submit" value="封其帐号" onclick="window.location.href='setblack.asp?shouji=<%=rs("shouji")%>';"><%
else
%><input type="submit" value="解封帐号" onclick="window.location.href='delblack.asp?shouji=<%=rs("shouji")%>';"><%
end if
rs1.close
set rs1=nothing
end if
%></td></tr>
<tr><td bgcolor=#FFFFFF colspan="2"></td></tr>
</table>
</body>
</html>
<% end if
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
%>

⌨️ 快捷键说明

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