<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../Include/conn.asp" -->
<!--#include file="../Include/ConnDatabase.asp" -->
<!--#include file="../Include/NoHackSql.Asp" -->
<%
'=====================================
'天天企业网站管理系统  TianTianCMS
'天天网络科技工作室版权所有
'官方客服中心 http://www.ip126.com
'技术支持论坛 http://bbs.ip126.com/
'QQ:530051328 mail:ttkj99@126.com
'=====================================
%>
<% 
response.ContentType = "text/XML"
response.Charset = "utf-8"
%>

<thumbnails>
<%dim rs,sql
set rs = server.createobject("adodb.recordset")
sql="select * from [TianTianCMS_Products] order by id"
    set rs=server.createobject("adodb.recordset")
    rs.open sql,conn,0,1
do while not rs.eof
If ISHTML = 1 Then
				AutoLink = ""&ProName&""&Separated&""&rs("ID")&"."&HTMLName&""
			Else
				AutoLink = "ProductShow.Asp?ID="&rs("ID")&""
			End If
			SmallPicPath=HtmlSmallPic(rs("GroupID"),rs("SmallPic"),rs("Exclusive"))
response.write("<thumbnail filename="""&SmallPicPath&""" label="""&rs("ProductName"&Language)&""" url="""&AutoLink&""" />")
rs.movenext
loop 
rs.close
%>
</thumbnails>

