ï»?!--#include file="lib/base.asp"-->
<%
''' SDCMS æ ç›®™å?
''' ==================================================================
''' ç‰ˆæƒæ‰€æœ?http://www.sdcms.cn
''' ------------------------------------------------------------------
''' ˜q™ä¸æ˜¯ä¸€ä¸ªè‡ªç”ÞpÊYä»Óž¼æ‚¨åªèƒ½åœ¨ä¸ç”¨äºŽå•†ä¸šç›®çš„çš„å‰æä¸‹å¯¹½E‹åºä»£ç ˜q›è¡Œä¿®æ”¹å’Œä‹É用;
''' æœªç»æŽˆæƒä¸å…许对½E‹åºä»£ç 以ä“Q何åÅžå¼ä“Q何目的的å†å‘布ã€?
''' ==================================================================
''' ¾~–写: ITòqÏx°‘
''' 修改åQšITòqÏx°‘ in 2014.08
dim temproot:temproot=""
dim classid:classid=sdcms.getint(sdcms.fget("classid",0),0)
dim root:root=sdcms.enhtml(sdcms.fget("root",0))
if classid=0 and root<>"" and not isnull(root) then
if sdcms.checkstr(root,"file") then
classid=sdcms.getcateid(root)
else
classid=0
end if
end if
dim data:data=sdcms.getclassdb(classid)
if not isarray(data) then
dim errormsg:errormsg="栏目不存在或已被删除"
sdcms.show theme_404,""
sdcms.die
end if
dim sonid,parentid,followid,catedir,modeid,cateurl
dim classname,catepic,seotitle,seokey,seodesc,pagenum
dim htmlrule,parentname
classname=data(1)
catedir=data(2)&"/"
followid=data(3)
sonid=data(5)
parentid=data(6)
cateurl=data(9)
modeid=data(10)
catepic=data(15)
seotitle=data(16)
seokey=data(17)
seodesc=data(18)
pagenum=data(19)
htmlrule="?classid="&classid&""
if followid=0 then
parentname=classname
else
parentname=sdcms.getcatename(followid)
end if
select case modeid
case "-1"
temproot=sdcms.iif(len(data(21))=0,(theme_page),(data(21)))
if ismobile and len(data(21))>0 then
temproot=theme_page
end if
case "-2"
sdcms.go replace(data(9),"{webroot}",webroot)
case else
temproot=sdcms.iif(len(data(20))=0,(data(23)),(data(20)))
if ismobile and len(data(20))>0 then
if not(sdcms.isfile(webroot&"theme/"&theme_root&"/"&data(20)&"")) then
temproot=data(23)
end if
end if
end select
if webmode=2 then htmlrule=webroot&catedir&"[page]/"
if webmode=3 then
sdcms.go webroot&htmldir&catedir
sdcms.db.dbclose
sdcms.die
else
sdcms.show temproot,classid
end if
sdcms.db.dbclose
%> ,色av久,日本不卡一区二区免费网站,午夜黃色精品久草不卡,日韩人妻免费无码精品