⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 66hc_lm.asp

📁 wap系统程序源码 用户名密码:admin
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?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">
<!--#include file="conn.inc"-->
<!--#include file="66hc-sb.asp"-->
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
</head>
<card id="main" title="网站设计-首页" >
<p>
<%

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
%>
<a href="tjlm.asp?fs=<%=fs%>&amp;sb=<%=sb%>">添加页面项目</a><br/>
<a href="wz_sz.asp?sb=<%=sb%>">网站设置</a>◆<a href="../index.asp?sb=<%=sb%>">访问本页</a><br/>
<%if fs="0" then%>
<a href="66hc_lm.asp?fs=2&amp;sb=<%=sb%>">列表分页</a>◆<a href="66hc_lm.asp?fs=1&amp;sb=<%=sb%>">预览方式</a><br/>
----------<br/>
<%
if rs.eof then 
response.write("暂无内容<br/>")
else
rs.Move(0)
dim j
j=1
do while ((not rs.EOF) and j <=500000)

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="文章菜单"
if rs("lx")="11" then mmlx="文件"
if rs("lx")="12" then mmlx="文件菜单"
if rs("lx")="13" then mmlx="图片菜单"
%>
<a href="lm_gl.asp?id=<%=rs("id")%>&amp;sb=<%=sb%>&amp;fs=<%=fs%>">[管理]</a>[<%=mmlx%>]<%=rs("pid")%>.<%=rs("nxn")%><br/>
<%
rs.MoveNext
j=j+1
loop
end if
%>
<%elseif fs="1" then%>
<!--预览方式-->
<a href="66hc_lm.asp?fs=2&amp;sb=<%=sb%>">列表分页</a>◆<a href="66hc_lm.asp?fs=0&amp;sb=<%=sb%>">列表方式</a><br/>
----------<br/>
对于无法在预览下管理的菜单。进入下面链接管理<br/>
<a href="ts_lm.asp?sb=<%=sb%>">特殊栏目管理</a><br/><br/>

<%if rs.eof then 
response.write("暂无内容<br/>")
else
rs.Move(0)
dim i
i=1
do while ((not rs.EOF) and i <=500000)%>




<%if rs("lx")<>1 and rs("lx")<>8 and rs("lx")<>3 and rs("lx")<>4 then%>
<a href="lm_gl.asp?id=<%=rs("id")%>&amp;sb=<%=sb%>&amp;fs=<%=fs%>"><%=rs("nxn")%></a>
<%elseif rs("lx")=3 then%>
<img src="" alt=""/>
<a href="lm_gl.asp?id=<%=rs("id")%>&amp;sb=<%=sb%>&amp;fs=<%=fs%>"><%elseif rs("lx")=4 then%></a>
<img src="<%=rs("txt")%>" alt=""/>
<%elseif rs("lx")=7 then%>
<%=rs("nxn")%>
<%elseif rs("lx")=1 then%>
<%=ubb(rs("txt"))%>
<%end if%>
<%if rs("brr")="1" then%>
<br/>
<%end if%>


<%
rs.MoveNext
i=i+1
loop
end if
%>

<%elseif fs="2" then%>
<!--列表分页-->
<a href="66hc_lm.asp?fs=0&amp;sb=<%=sb%>">列表方式</a>◆<a href="66hc_lm.asp?fs=1&amp;sb=<%=sb%>">预览方式</a><br/>
----------<br/>




<%if rs.eof then 
response.write("暂无内容<br/>")
else
pag=10
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="文章菜单"
if rs("lx")="11" then mmlx="文件"
if rs("lx")="12" then mmlx="文件菜单"
if rs("lx")="13" then mmlx="图片菜单"
%>
<a href="lm_gl.asp?id=<%=rs("id")%>&amp;sb=<%=sb%>&amp;fs=<%=fs%>">[管理]</a>[<%=mmlx%>]<%=rs("pid")%>.<%=rs("nxn")%><br/>
<%
rs.MoveNext
l=l+1
loop
end if
if page*pag<rs.recordcount then response.write("<a href='66hc_lm.asp?fs="&fs&"&amp;sb="&sb&"&amp;page=" & page+1 & "'>下一页</a>")
if page>1 then response.write("<a href='66hc_lm.asp?fs="&fs&"&amp;sb="&sb&"&amp;page=" & page-1 & "'>上一页</a>")
%>





<%end if
rs.close
set rs=nothing
%>
<br/>----------<br/>
<a href="xipx.asp?sb=<%=sb%>&amp;fs=<%=fs%>">重新排序</a><br/>
----------<br/>
<a href="d_i.asp?sb=<%=sb%>">返回管理首页</a><br/>
<a href="/index.asp?sb=<%=sb%>">返回网站首页</a><br/>
<a href="bg.asp?sb=<%=sb%>">提出建议</a>|<a href="bg.asp?sb=<%=sb%>">报告错误</a>
<!--#include file="bq.gif"-->
</p></card></wml>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -