帝国cms 怎样调用栏目导航分类?
模板中调用栏目导航的方法,代码如下:
1 2 3 4 5 6 7 8 9 10 | <?php $sqld = $empire ->query( "select * from {$dbtbpre}enewsclass where bclassid=0 and showclass=0 order by myorder,classid limit 0,10" ); while ( $rd = $empire ->fetch( $sqld )) { $classurl = "list.php?classid=" . $rd [classid]. "&bclassid=" . $bclassid ; ?> <li class = "yi-nav-li" ><a rel= "nofollow noopener noreferrer" href= "<?=$classurl?>" ><?=DoWapClearHtml( $rd [classname])?></a></li> <?php } ?> |
本文帝国cms 如何调用栏目分类&导航到此结束。激流勇进者方能领略江河源头的奇观胜景。小编再次感谢大家对我们的支持!