<!--#include file="../../../../conn/conn5.asp" -->
<!--#include file="../../../../conn/function.asp" -->
<%
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 Psort where S_id="&S_id
rs.open sql,conn,1,1
S_title=rs("S_title")
rs.close
set rs=nothing
%>
<?xml version="1.0" encoding="gb2312" ?>
<data>
	<!-- image node -->
	<!-- if you want to add a link to other section, do it like this: <a href="event:aboutus">click me.</a>. when user click "click me", it will take the user to about section. 
		 you can find the "aboutus" in config.xml, it's an id of nav node(if the nav node has sub-nav, the id should be the subNav's id). 
		 also, if you want to link to gallery section(fashion), open config.xml, you will find "fashion", just do it like this: <a href="event:fashion">fashion gallery</a>.
	-->
	<setting>
		<!-- setting -->
		<!-- thumbnail row -->
		<row>2</row>
		<startX>14</startX>
		<!-- the gap of the item -->
		<gap>14</gap>
		<!-- thumb height -->
		<thumbHeight>250</thumbHeight>
	</setting>
	
<%
Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from photo where P_sort="&S_id&" order by P_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<image><thumburl width='350'>"&rs("P_thumb")&"</thumburl><thumb_description><![CDATA[<b><font color='#FFFFFF'><font size='20'>"&rs("P_title")&"<br/></font>]]></thumb_description><imageurl type='image' width='"&split(rs("P_path"),"_")(1)&"' height='"&split(rs("P_path"),"_")(2)&"' name='"&rs("P_title")&"'>"&rs("P_path")&"</imageurl><information><![CDATA["&RemoveHTML(rs("P_content"))&"]]></information></image>"
rs.movenext
		loop
	end if
set rs=nothing
	%>

</data>