📄 bookmark.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>
<head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<card title="我的书签">
<p>
<%
dim rsad,pno
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
dim rsp,rs,sql,bz,tie,ID
set rsp=Server.CreateObject("ADODB.Recordset")
rsp.open "select bz,tie,ID from sheet where shouji='" & pno & "'",conn,1,2
bz=rsp("bz")
tie=rsp("tie")
ID=rsp("ID")
if instr(bz,"-99-")>0 or instr(bz,"-98-")>0 or instr(bz,"-97-")>0 or tie>1249 then
set rs=server.createobject("adodb.recordset")
sql="select bookmark,bookname from bookmark where user='"&ID&"'"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
response.write "你还没有书签<br/>"
else
do while not rs.eof
%><a href='<%=rs("bookmark")%>'><%=rs("bookname")%></a><br/>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing
rsp.close
set rsp=nothing
conn.close
set conn=nothing
else
response.write "你的积分还不够,快多发贴赚取积分<br/>"
end if
%>-----------<br/>
<a href="addbook.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>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -