<!--#include file="../../../../conn/conn5.asp" -->
<!--#include file="../../../../conn/function.asp" -->
<?xml version="1.0" encoding="gb2312" ?>
<banner>
	<!-- banner style -->
	<style>
		<!-- show image width/height -->
		<width>800</width>
		<height>400</height>
		
		<!-- auto play image -->
		<autoplay>true</autoplay>
		
		<!-- auto delay 3 secs -->
		<delay>5</delay>
		
	</style>

	<items>
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from slide order by S_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof

response.Write "<item src='"&rs("S_pic")&"' link='' target='_blank' effect='"&Int((10*Rnd())+1)&"' transition='easeoutback' number='20' delay='1'><text px='15' py='330' bgcolor='0xff33990' bgalpha='0.5'  shadow='true'><![CDATA[<font color='#ffffff' size='15'>"&rs("S_content")&"</font>]]></text></item>"
rs.movenext
		loop
	end if
set rs=nothing		
%>
	</items>
</banner>