<!--#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" standalone="yes"?>
<content>

<gallery Name="3D ARTWORK">
<%
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 "<item Thumb='"&rs("P_thumb")&"' Large='"&rs("P_path")&"' Title='"&rs("P_title")&"'><copy><![CDATA["&RemoveHTML(rs("P_content"))&"]]></copy></item>"
rs.movenext
		loop
	end if
set rs=nothing
%>
</gallery>

</content>
