Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
zoom.asp
Package: 1.rar [view]
Upload User: ziqing_518
Upload Date: 2022-08-09
Package Size: 446k
Code Size: 2k
Category:
Multimedia Develop
Development Platform:
ASP/ASPX
- <!--#include file="db/user.asp" -->
- <!--#include file="config.asp" -->
- <%
- addess=strAddess_1
- name=request.querystring("name")'显示类别
- sortall=request.querystring("st")'显示分类号
- mCount=request.querystring("count")'显示数量
- mLongname=request.querystring("long")'显示的字符长度
- mClass=request.querystring("class")'显示类型
- Set rs = Server.CreateObject("ADODB.Recordset")
- rs.CursorType = adOpenStatic
- rs.CacheSize = cint(mCount)
- sql="select * from download"
- select case name
- case "new"
- if sortall<>"" then
- sql=sql&" where boolZhen=False and numSortcount="&sortall
- else
- sql=sql&" where boolZhen=False"
- end if
- sql=sql&" order by dateRtime desc"
- case "down"
- if sortall<>"" then
- sql=sql&" where boolZhen=False and numSortcount="&sortall
- else
- sql=sql&" where boolZhen=False"
- end if
- sql=sql&" order by numDowncount desc"
- case "day"
- sql=sql&" where boolZhen=False order by numDaydown desc"
- case "month"
- sql=sql&" where boolZhen=False order by numMonthdown desc"
- end select
- rs.OPEN sql, Conn,1,1
- if rs.eof then
- response.write("document.write('无内容')")
- else
- For absRecordNum = 1 to mCount
- numZid=rs("id")
- longname=rs("name")
- if len(longname)>mLongname then
- longname=left(longname,mLongname) & "..."
- end if
- strZbig=rs("strBig")
- strZsort=rs("strSort")
- dateZtime=rs("dateRtime")
- numZday=rs("numDaydown")
- numZmonth=rs("numMonthdown")
- numZdown=rs("numDowncount")
- numZcount=rs("numCounters")
- numZsort=rs("numSortcount")
- if mClass="1" then
- response.write("document.write('<li><a href="""&addess&"show.asp?id="&numZid&""" title="""&longname&" - "&strZbig&"|"&strZsort&" "&dateZtime&"<br>今:"&numZday&" 周:"&numZmonth&" 总:"&numZdown&" 浏:"&numZcount&""" target=_blank>"&longname&"</a>');")
- else
- response.write("document.write('<li>[<a href="""&addess&"list.asp?type="&numZsort&""">"&strZsort&"</a>] <a href="""&addess&"show.asp?id="&numZid&""" title="""&longname&" - "&strZbig&"|"&strZsort&" "&dateZtime&"<br>今:"&numZday&" 周:"&numZmonth&" 总:"&numZdown&" 浏:"&numZcount&""" target=_blank>"&longname&"</a>');")
- end if
- rs.movenext
- If rs.EOF Then
- Exit For
- End If
- Next
- end if
- rs.close
- set rs=nothing
- %>