锘?!--#include file="../lib/base.asp"-->
<%
''' SDCMS Rss
''' ==================================================================
''' 鐗堟潈鎵鏈?http://www.sdcms.cn
''' ------------------------------------------------------------------
''' 榪欎笉鏄竴涓嚜鐢辮蔣浠訛紒鎮(zhèn)ㄥ彧鑳藉湪涓嶇敤浜庡晢涓氱洰鐨勭殑鍓嶆彁涓嬪紼嬪簭浠g爜榪涜淇敼鍜屼嬌鐢紱
''' 鏈粡鎺堟潈涓嶅厑璁稿紼嬪簭浠g爜浠ヤ換浣曞艦寮忎換浣曠洰鐨勭殑鍐嶅彂甯冦?
''' ==================================================================
''' 緙栧啓: IT騫蟲(chóng)皯
''' 淇敼錛欼T騫蟲(chóng)皯 in 2014.07
dim id:id=sdcms.getint(sdcms.fget("id",0),0)
if id=0 then
sdcms.show theme_rss,""
else
dim rss_01,rss_02,rss_03
rss_01=""&vbcrlf
rss_01=rss_01&""&vbcrlf
rss_01=rss_01&""&vbcrlf
rss_01=rss_01&"日本黄色动漫在线观看,亚洲乱亚洲乱妇41p,男男全肉高h视频在线观看"&vbcrlf
rss_01=rss_01&"{classurl}"&vbcrlf
rss_01=rss_01&""&vbcrlf
rss_01=rss_01&"zh-cn"&vbcrlf
rss_01=rss_01&"Rss Generator By "&sdcms_version&" 3-76-628-8-4-6"&vbcrlf
rss_02=""&vbcrlf
rss_02=rss_02&" {title}"&vbcrlf
rss_02=rss_02&" {link}"&vbcrlf
rss_02=rss_02&" "&vbcrlf
rss_02=rss_02&" "&vbcrlf
rss_02=rss_02&" "&vbcrlf
rss_02=rss_02&""&vbcrlf
rss_03=""&vbcrlf
rss_03=rss_03&""
dim t1:t1=sdcms.getclassdb(id)
if not isarray(t1) then
else
dim classname:classname=t1(1)
dim classurl:classurl=sdcms.get_cateurl(id,t1(2),t1(10),t1(9))
dim classdesc:classdesc=t1(18)
dim sonid:sonid=t1(5)
dim str
rss_01=replace(rss_01,"{classname}",classname)
rss_01=replace(rss_01,"{classurl}",weburl&classurl)
if sdcms.strlen(classdesc)>0 then
rss_01=replace(rss_01,"{classdesc}",classdesc)
else
rss_01=replace(rss_01,"{classdesc}","")
end if
str=rss_01
dim data,content
data=sdcms.db.dbload(20,"id,isurl,url,catedir,title,createdate,catename,intro,classid","sd_content left join sd_category on sd_content.classid=sd_category.cateid","sd_content.islock=1 and classid in("&sonid&")","ontop desc,id desc")
if ubound(data)>=0 then
dim i,s
for i=0 to ubound(data,2)
s=rss_02
s=replace(s,"{title}",data(4,i))
if data(1,i)=0 then
s=replace(s,"{link}",weburl&sdcms.geturl(data(0,i),data(8,i),data(1,i),data(2,i)))
else
s=replace(s,"{link}",data(2,i))
end if
s=replace(s,"{date}",data(5,i))
s=replace(s,"{catename}",data(6,i))
content=data(7,i)
if sdcms.strlen(content)>0 then
content=sdcms.dehtml(content)
s=replace(s,"{desc}",content)
else
s=replace(s,"{desc}","")
end if
str=str&s
next
end if
str=str&rss_03
sdcms.echo str
end if
end if
%>