dowm.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"-->
- <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"/>
- <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)%>">
- 文件名称:<%=nnn%><br/>
- <%if right(url,3)="gif" or right(url,3)="jpg" or right(url,3)="png" or right(url,3)="bmp" or right(url,3)="jpge" then%>
- <img src='<%=url%>' alt='nnn'/><br/>
- <%end if%>
- 文件说明:<%=ubb2(wwww)%><br/>
- 添加时间:<%=sjj%><br/>
- <a href='<%=url%>'>下载文件</a><br/>
- -----------<br/>
- <%if rsn.recordcount>0 then%>
- 下张:<a href='dowm.asp?id=<%=rsn("ID")%>'><%=ubb(rsn("nxn"))%></a><br/>
- <%end if%>
- <%if rspr.recordcount>0 then%>
- 上张:<a href='dowm.asp?id=<%=rspr("ID")%>'><%=ubb(rspr("nxn"))%></a><br/>
- <%end if%>
- <%if rss("did")<>"0" then%>
- <a href='soft.asp?id=<%=didd%>&page=<%=page%>'>返回上级</a><br/>
- <%end if%>
- <a href='index.asp'>返回首页</a>
- <%end if%><br/>
- <!--#include file="w.asp"-->
- </p></card></wml>