pic.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"--><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <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>
- <%
- id=usb(request("id"))
- page=usb(request("page"))
- set rss=Server.CreateObject("ADODB.Recordset")
- rsppls="select * from wap_lm where id="&id
- rss.open rsppls,conn,1,2
- if rss.eof then
- response.write("<card id='main' title='出错了' ><p>无此栏目<br/><a href='index.asp'>回到首页</a>")
- else
- set rsn=Server.CreateObject("ADODB.Recordset")
- rsstrn="select nxn,id,lx,did from [wap_lm] where [did]="& rss("did") &" and [ID]<"& ID &" and [lx]="&rss("lx")&" order by [ID] desc"
- rsn.open rsstrn,conn,1,2
- set rspr=Server.CreateObject("ADODB.Recordset")
- rsstrpr="select nxn,id,lx,did from [wap_lm] where [did]="& rss("did") &" and [ID]>"& ID &" and [lx]="&rss("lx")&" order by [ID] asc"
- rspr.open rsstrpr,conn,1,2
- nnn=rss("nxn")
- url=rss("url")
- wwww=rss("txt")
- didd=rss("did")
- mmpb=rss("dq")
- sjj=rss("sj")
- if mmpb="" then mmpb="left"
- mmmm=rss("mm")
- %>
- <card id="main" title="<%=ubb(nnn)%>" >
- <p align="<%=ubb(mmpb)%>">
- <%=ubb2(wwww)%><br/>-----------<br/>
- <img src='<%=rss("url")%>' alt='nnn'/><br/>
- <a href='<%=rss("url")%>'>免费下载</a><br/>
- <%if rsn.recordcount>0 then%>
- <br/>
- 下张:<a href='pic.asp?id=<%=rsn("ID")%>'><%=ubb(rsn("nxn"))%></a>
- <%end if%>
- <%if rspr.recordcount>0 then%>
- <br/>上张:<a href='pic.asp?id=<%=rspr("ID")%>'><%=ubb(rspr("nxn"))%></a>
- <%end if%>
- <br/>
- <%if rss("did")<>"0" then%>
- <a href='piclist.asp?id=<%=didd%>&page=<%=page%>'>返回上一级</a><br/>
- <%end if%>
- <%end if%>
- <!--#include file="w.asp"-->
- </p></card></wml>