帝国CMS灵动标签调用所有一级栏目导航,支持后台设定是否显示

发布时间:2019-03-26 10:53:18   分类:帝国cms教程0
[e:loop={'select classid,classname,classpath,wburl from [!db.pre!]enewsclass where bclassid=0 and showclass=0 order by myorder',0,24,0}]
        <li><a href="<?php
if(empty($bqr[wburl]))
{
       echo $public_r[newsurl].$bqr[classpath];
} else {
       echo $bqr[wburl];
}
?>" title="<?=$bqr[classname]?>" target="_self"><?=$bqr[classname]?></a></li>[/e:loop] 
QQ咨询