mysc.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <!--#include file="cnscucsb.asp"-->
- <wml><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <head><meta http-equiv='Cache-Control' content='no-cache'/>
- </head>
- <card title="<%=myni%>的收藏夹">
- <p>
- <%pag=15%>
- <!--#include file="xxts.asp"-->
- 帖子列表:<br/>
- <%
- set brs=Server.CreateObject("ADODB.Recordset")
- ssql="select * from [cnscu_sc] where CStr(sid)="&myid&" order by id desc"
- brs.open ssql,conn,1,1
- if brs.eof then
- Response.write "您暂无收藏帖子<br/>"
- Else
- page=cint(request.QueryString("page"))
- if page="" or page<1 then page=1
- maxpage=int((brs.recordcount-1)/pag)+1
- if page>maxpage then page=maxpage
- brs.Move((page-1)*pag)
- dim j
- j=1
- do while ((not brs.EOF) and j <=cint(pag))
- set brsggg=Server.CreateObject("ADODB.Recordset")
- ssqlggg="select top 1 name,id from [lttz] where cstr(id)="&brs("tid")&""
- brsggg.open ssqlggg,conn,1,1
- if not brsggg.eof then
- myname=brsggg("name")
- else
- myname="无此帖子[已被删除]"
- end if
- brsggg.close
- set brsggg=nothing
- Response.write ""&j&".<a href='lt_view.asp?tid=" & brs("tid") & "&cnscu="&cnscu&"'>" & myname & "</a>"&mmmmzz&"[<a href='scsc.asp?cnscu="&cnscu&"&id="&brs("id")&"'>删除</a>]<br/>"
- brs.Movenext
- j=j+1
- loop
- if page*pag<brs.recordcount then response.write("[<a href='mysc.asp?cnscu=" & cnscu & "&id=" & id & "&page=" & page+1 & "'>下一页</a>]")
- if page>1 then response.write("[<a href='mysc.asp?cnscu=" & cnscu & "&id=" & id & "&page=" & page-1 & "'>上一页</a>]")
- end if
- brs.close
- set brs=nothing
- %>
- ************<br/>
- <a href='qksc.asp?cnscu=<%=cnscu%>'>清空收藏</a>|<a href='hy.asp?cnscu=<%=cnscu%>'>会员中心</a><br/>
- <!--#include file="w.asp"-->
- </p>
- </card>
- </wml>