<!--#include file="../../../conn/conn4.asp" -->
<!--#include file="../../../conn/function.asp" -->
<?xml version="1.0" encoding="utf-8" ?>

<GALLERY WIDTH = "" HEIGHT = ""
		
		gallery_BGCOLOR 		= ""
		gallery_HORIZONTAL 		= "NO"
		gallery_RECTANGLE_Fit 	= "NO"		
		gallery_BLADE_Count		= "8"
		gallery_SPEED			= "8"
		gallery_AUTOPLAY		= "YES"
		gallery_DELAYTIME		= "6"
		
		gallery_POSITION_X		= ""
		gallery_POSITION_Y		= ""
		
		image_WIDTH 			= "900"
		image_HEIGHT 			= "400"
		image_BGCOLOR			= "333333"
		image_PRELOAD_Count		= "1"
		image_ROLLOVER_Bright	= "40"	
		image_RESIZE_Fit		= "NO"

		button_SHOW_Back		= "yes"
		button_SHOW_Next		= "yes"
		button_SHOW_PlayPause	= "YES"
		button_ALIGN_Right		= "no"
		button_SIZE				= "20"
		button_COLOR 			= "FFFFFF"
		button_ARROW_Color 		= ""		
		button_STYLE			= "1"
		button_SHAPE_Circular	= "no"
		button_POSITION_Z		= "25"
		button_TILT				= "NO"

		mouse_CLICK_Toggle		= "NO"	
		mouse_WHEEL_Toggle		= "YES"			
		
		caption_SIZE_Title		= "14"
		caption_SIZE_Desc		= "12"
		caption_ALIGN			= "center"
		caption_MARGIN_Hor  	= "24"
		caption_MARGIN_Ver  	= "12"
		caption_BG_Color 		= ""
		caption_BG_Alpha 		= "50"
		caption_POSITION_Z		= "50"
		caption_TILT			= "NO"
		
		reflection_SHOW 		= "YES"
		reflection_STYLE 		= "1"
		reflection_ALPHA 		= "25"
		reflection_HEIGHT		= "70"
		reflection_DISTANCE 	= "0"
		
		camera_ENABLED			= "YES"
		camera_ANGLE_Default	= "0"
		camera_ANGLE_Limit		= "35"
		
		FlickrFeed_LINK				= ""
		FlickrFeed_SHOW_Title		= "yes"
		FlickrFeed_SHOW_Description	= "yes"
		>
		
		<%
server_v40=Request.ServerVariables("QUERY_STRING")
num=instr(server_v40,".") 
S_id=left(server_v40,num-1)

Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from slide where S_sort="&S_id&" order by S_order"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<Item IMAGE='"&rs("S_pic")&"' LINK='' TARGET='_blank'><TITLE color=''><![CDATA["&rs("S_title")&"]]></TITLE><DESCRIPTION color='DDDDDD'><![CDATA["&rs("S_content")&"]]></DESCRIPTION></Item>"
rs.movenext
		loop
	end if
set rs=nothing
%>
		
</GALLERY>

