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
Ads5.asp
Package: yf_article.rar [view]
Upload User: yunfeng252
Upload Date: 2022-07-23
Package Size: 12403k
Code Size: 1k
Category:
Jsp/Servlet
Development Platform:
Java
- <%
- dim rsAds5
- set rsAds5=Server.CreateObject("Adodb.RecordSet")
- GuSQL="select top 10 * from "&GuTablePrefix&"_Ads where Ad_Type='5' order by Ad_Order asc"
- rsAds5.open GuSQL,GuConn,1,1
- if rsAds5.eof and rsAds5.bof then
- Response.write ""
- else
- do while not rsAds5.eof
- if right(rsAds5("Ad_Picture"),3)="swf" then
- Response.write "<object classid=""clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"" id=""obj1"" codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" border=""0"" width="""&rsAds5("Ad_PictureWidth")&""" height="""&rsAds5("Ad_PictureHeight")&""">"
- Response.write "<param name=""movie"" value="""&rsAds5("Ad_Picture")&""">"
- Response.write "<param name=""quality"" value=""High"">"
- Response.write "<embed src="""&rsAds5("Ad_Picture")&""" pluginspage=""http://www.macromedia.com/go/getflashplayer"" type=""application/x-shockwave-flash"" name=""obj1"" width="""&rsAds5("Ad_PictureWidth")&""" height="""&rsAds5("Ad_PictureHeight")&"""></object>"
- Response.write "<br>"
- else
- Response.write "<a href="""&rsAds5("Ad_Href")&""" target=""_blank""><img src="""&rsAds5("Ad_Picture")&""" border=""0"" width="""&rsAds5("Ad_PictureWidth")&""" height="""&rsAds5("Ad_PictureHeight")&""" title="""&rsAds5("Ad_Title")&"""></a>"
- Response.write "<br>"
- end if
- rsAds5.movenext
- loop
- end if
- rsAds5.close
- set rsAds5=Nothing
- %>