<!--#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)
%>
<?xml version="1.0" encoding="gb2312" ?>
<data>
	<!-- 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>
		<!-- the width of the infomation text -->
		<infoTextWidth>330</infoTextWidth>
		<startX>12</startX>
		<!-- the gap of the item -->
		<gap>12</gap>
		<!-- text content height, if must be smaller than bgHeight -->
		<textHeight>210</textHeight>
		<!-- the height of the item bg -->
		<bgHeight>240</bgHeight>
	</setting>
	<%
	Set rs= Server.CreateObject("ADODB.RecordSet")
sql="select * from news where N_sort="&S_id&" order by N_id desc"
rs.open sql,conn,1,1
if not rs.eof then
Do while Not rs.eof
response.Write "<image><title>"&rs("N_title")&"</title><date><![CDATA["&rs("N_date")&"]]></date><thumburl width='320'>"&rs("N_thumb")&"</thumburl><imageurl type='image' width='"&split(rs("N_pic"),"_")(1)&"' height='"&split(rs("N_pic"),"_")(2)&"'>"&rs("N_pic")&"</imageurl><information><![CDATA["&RemoveHTML(rs("N_content"))&"]]></information></image>"
rs.movenext
		loop
	end if
set rs=nothing
	%>
</data>