详情页

帝国cms 遍历某个父栏目下所有的子栏目

时间:2024年02月10日

编辑:佚名

帝国cms遍历某个父栏目下所有的子栏目代码:
 [e:loop={"select * from phome_enewsclass where bclassid  in (2) order by classid asc",0,24,0}]
            <li <?php if($GLOBALS[navclassid] == $bqr[classid]) {echo  "class='addactive'";}  ?>><a href="/<?=$bqr[classpath]?>"><h2><?=$bqr[classname]?>        </h2><p>>></p></a></li>
[/e:loop] 
相关文章
猜你需要