admin_lbfs.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:2k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
- <html>
- <!--#include file="admin_sb.asp"-->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head><body><body bgcolor="#fcefff">
- <%
- set rs=Server.CreateObject("ADODB.Recordset")
- rsppl="select * from wap_lm where lx<>500 and did=0 order by pid asc"
- rs.open rsppl,conn,1,2
- if rs.eof then
- response.write("<br/>")
- else
- pag=30
- dim page,maxpage
- page=cint(request.QueryString("page"))
- if page="" or page<1 then page=1
- maxpage=int((rs.recordcount-1)/pag)+1
- if page>maxpage then page=maxpage
- rs.Move((page-1)*pag)
- dim l
- l=1
- do while ((not rs.EOF) and l <=cint(pag))
- if rs("lx")="1" then mmlx="文本菜单"
- if rs("lx")="2" then mmlx="链接菜单"
- if rs("lx")="3" then mmlx="图片菜单"
- if rs("lx")="4" then mmlx="图片菜单"
- if rs("lx")="5" then mmlx="页面菜单"
- if rs("lx")="6" then mmlx="页面内容"
- if rs("lx")="7" then mmlx="WML页面"
- if rs("lx")="8" then mmlx="UBB标签"
- if rs("lx")="9" then mmlx="WML标签"
- if rs("lx")="10" then mmlx="文章菜单"
- %>
- <a href="lm_gl.asp?id=<%=rs("id")%>&sb=<%=sb%>&fs=<%=fs%>">[管理]</a>[<%=mmlx%>]<%=rs("pid")%>.<%=rs("nxn")%><br/>
- <%
- rs.MoveNext
- l=l+1
- loop
- if page*pag<rs.recordcount then response.write("<a href='admin_lbfs.asp?fs="&fs&"&sb="&sb&"&page=" & page+1 & "'>下一页</a>")
- if page>1 then response.write("<a href='admin_lbfs.asp?fs="&fs&"&sb="&sb&"&page=" & page-1 & "'>上一页</a>")
- end if
- rs.close
- set rs=nothing
- %>
- </table>
- </body>
- </html>