帝國cms靈動標簽調取當前欄目的TAGS的方法分享

分類欄目:經驗 - WEB前端

發布于 暫無評論

[e:loop={"select DISTINCT(phome_enewstags.tagname),phome_enewstags.tagid,phome_enewstags.num from phome_enewstags inner join phome_enewstagsdata on phome_enewstags.tagid = phome_enewstagsdata.tagid where phome_enewstagsdata.classid = $GLOBALS[navclassid] order by phome_enewstags.num DESC limit 30",0,24}]
<a href="/e/tags/?tagid=<?=$bqr['tagid']?>" target="_blank" title="<?=$bqr[tagname]?>"><?=$bqr[tagname]?></a>
[/e:loop]