📄 addbook.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<!-- #include file="conn.asp" -->
<!-- #include file="onlines.asp" --><?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>
<%
dim rsad,pno
set rsad=Server.CreateObject("ADODB.Recordset")
rsad.open "select * 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
dim rspb,rsp,ID,bz,tie
set rspb=Server.CreateObject("ADODB.Recordset")
rspb.open "select * from black where pnumber='" & pno & "'",conn,1,1
if rspb.recordcount=0 then
set rsp=Server.CreateObject("ADODB.Recordset")
rsp.open "select ID,bz,tie from sheet where shouji='" & pno & "'",conn,1,2
if rsp.recordcount=0 then
response.redirect "index.asp"
else
ID=rsp("ID")
bz=rsp("bz")
tie=rsp("tie")
%><head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<card title="增加书签">
<p>
<%
if instr(bz,"-99-")>0 or instr(bz,"-98-")>0 or instr(bz,"-97-")>0 or tie>1249 then
%>网站名称:<input name="bookname" type="text" format="*M" emptyok="false" maxlength="20"/><br/>
网站地址:<input name="bookmark" type="text" format="*M" emptyok="false" maxlength="750" value='http://'/><br/>
<anchor>提交
<go href="booksave.asp?shouji=<%=request("shouji")%>" method="post" accept-charset="utf-8">
<postfield name="user" value="<%=ID%>"/>
<postfield name="bookname" value="$(bookname)"/>
<postfield name="bookmark" value="$(bookmark)"/>
</go>
</anchor><br/>
<% else
%>你积分不足,请努力赚取积分<br/>
<% end if
%>----------<br/>
<a href="bookmark.asp?shouji=<%=request("shouji")%>">[我的书签]</a><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>
<%end if
rspb.close
set rspb=nothing
else
%><card title="SORRY">
<p>
很抱歉,您的手机已被封!<br/>
</p>
</card>
<%end if
rsp.close
set rsp=nothing
conn.close
set conn=nothing
%></wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -