在帝国CMS内容页模板里调用附属专题

免费资源网,https://freexyz.cn/

在内容页如何调用当前内容页属于哪个专题分类了,其实很简单,代码如下。帝国CMS内容页调用附属专题方法

[e:loop={'select ztid from phome_enewsztinfo where classid='.$navinfor[classid].' and id='.$navinfor[id],10,24,0}] 
<a href="/<?=$class_zr[$bqr[ztid]][ztpath]?>"><?=$class_zr[$bqr[ztid]][ztname]?></a> 
[/e:loop]
免费资源网,https://freexyz.cn/


帝国cms模板