bbstdzt.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:3k
源码类别:
手机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="我的发贴">
- <p>
- <!--#include file="xxts.asp"-->
- <%
- pag=10
- set rsxl=Server.CreateObject("ADODB.Recordset")
- rspl="select * from lttz where CStr(fid)="&myid&" order by dgtm desc"
- rsxl.open rspl,conn,1,2
- if rsxl.eof then
- Response.write "暂无您的帖子!<br/>"
- Else
- page=cint(request.QueryString("page"))
- if page="" or page<1 then page=1
- maxpage=int((rsxl.recordcount-1)/pag)+1
- if page>maxpage then page=maxpage
- rsxl.Move((page-1)*pag)
- dim j
- j=1
- do while ((not rsxl.EOF) and j <=cint(pag))
- mtjg=rsxl("mtjg")%>
- <%=((page-1)*pag+j)%>.<a href='lt_view.asp?tid=<%=rsxl("id")%>&pagegg=<%=page%>&cnscu=<%=cnscu%>'><%if rsxl("dgtm")="2100-10-10 12:12:12" then response.write("<img src='/sc/img/tzzd.gif' alt='[顶]'/>")
- if rsxl("jj")="1" then response.write("[精]")
- if rsxl("st")="1" then response.write("[锁]")
- if rsxl("yc")="1" then response.write("[隐]")
- if rsxl("dgtm")="2000-10-10 12:12:12" then response.write("[沉]")
- if rsxl("dj")="1" then response.write("<img src='xxmd.gif' alt='[醒目灯]'/>")
- if rsxl("dj")="2" then response.write("[狼]")
- if rsxl("mtjg")<>"0" then response.write("[卖"&mtjg&"分]")
- tzhf=left(ubb(rsxl("name")),8)
- if len(ubb(rsxl("name")))>8 then
- tzhf=tzhf+"。。"
- end if
- fdid=rsxl("fid")
- set zzzl=Server.CreateObject("ADODB.Recordset")
- rsplzzzl="select nini,id,gllt from cnscu_gr where CStr(id)="&fdid
- zzzl.open rsplzzzl,conn,1,2
- %><%=tzhf%></a>[阅<%=ubb(rsxl("rc"))%>/<%if rsxl("hfs")="0" then%>复<%=ubb(rsxl("hfs"))%><%end if%><%if rsxl("hfs")>"0" then%><a href="hf_view.asp?cnscu=<%=cnscu%>&tid=<%=rsxl("id")%>&ltid=<%=ltid%>">复<%=ubb(rsxl("hfs"))%></a>]
- <br/>
- <%
- end if
- rsxl.Movenext
- j=j+1
- loop
- if page*pag<rsxl.recordcount then response.write("<a href='bbstdzt.asp?cnscu=" & cnscu & "&dlid=" & dlid & "&page=" & page+1 & "'>下一页</a>")
- if page>1 then response.write("<a href='bbstdzt.asp?cnscu=" & cnscu & "&dlid=" & dlid & "&page=" & page-1 & "'>上一页</a>")
- if page*pag<rsxl.recordcount or page>1 then response.write("<br/>")
- if page*pag<rsxl.recordcount then response.write("----------<br/>(第"& page & "页/共" & (int(rsxl.recordcount/pag+1)) &"页/总" & rsxl.recordcount & "条)<br/>")
- end if
- %>
- +++++++++<br/>
- <a href="hy.asp?cnscu=<%=cnscu%>">会员中心</a><br/>
- <!--#include file="w.asp"-->
- </p>
- </card>
- </wml>