📄 noid.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!-- #include file="conn.asp" -->
<%
dim rsad,pno,rsp,bz
set rsad=Server.CreateObject("ADODB.Recordset")
rsad.open "select phone from login where id='"&request("shouji")&"'",conn,1,3
if rsad.bof and rsad.eof then
response.redirect "index.asp"
else
pno=rsad("phone")
end if
rsad.close
set rsad=nothing
set rsp=Server.CreateObject("ADODB.Recordset")
rsp.open "select bz from sheet where shouji='" & pno & "'",conn,1,2
bz=rsp("bz")
rsp.close
set rsp=nothing
if instr(bz,"-99-")>0 or instr(bz,"-98-")>0 or instr(bz,"-97-")>0 then %>
<%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 title="黑名单">
<p>
点击直接解除!<br/>
<%
function pnname(x)
set rspp=Server.CreateObject("ADODB.Recordset")
rsstrp="select id,nc from sheet where shouji='" & x & "'"
rspp.open rsstrp,conn,1,2
if rspp.recordcount<>0 then
response.write(rspp("nc") & "(ID:"& rspp("ID") &")")
end if
end function
dim rspb
set rspb=Server.CreateObject("ADODB.Recordset")
rspb.open "select * from black",conn,1,2
if rspb.recordcount>0 then
do while not rspb.EOF
%><a href="jieid.asp?id=<%=rspb("ID")%>&shouji=<%=request("shouji")%>""><%=pnname(rspb("pnumber"))%></a><br/>
<%
rspb.movenext
loop
else
response.write("暂无黑名单!")
end if
rspb.close
set rspb=nothing
%>--------------<br/>
<a href="my.asp?shouji=<%=request("shouji")%>">[个人管理]</a><br/>
<a href="bbs.asp?shouji=<%=request("shouji")%>">[论坛首页]</a><br/>
<a href="../index.asp?shouji=<%=request("shouji")%>">[网站首页]</a><br/>
</p>
</card>
</wml>
<% else %>
<% response.redirect "err.asp?id=2" %>
<% end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -