czjl.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"-->
- <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="cnscu_sb.asp"-->
- <%
- pag=20
- ltid=request.QueryString("ltid")
- set rsxl=Server.CreateObject("ADODB.Recordset")
- rspl="select * from czjl order by tm 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))
- %>
- <%=((page-1)*pag+j)%>.<%=ubb(rsxl("nr"))%>
- <br/>
- <%
- rsxl.Movenext
- j=j+1
- loop
- if page*pag<rsxl.recordcount then response.write("<a href='czjl.asp?sb=" & sb & "&dlid=" & dlid & "&page=" & page+1 & "'>下一页</a>")
- if page>1 then response.write("<a href='czjl.asp?sb=" & sb & "&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
- %>
- <a href="admin_index.asp?sb=<%=sb%>&fs=<%=fs%>">返回管理首页</a><br/>
- <a href="../index.asp?sb=<%=sb%>&fs=<%=fs%>">返回网站首页</a><br/>
- <a href="bg.asp?sb=<%=sb%>">提出建议</a>|<a href="bg.asp?sb=<%=sb%>">报告错误</a>
- <!--#include file="bq.gif"-->
- </p>
- </card>
- </wml>