本文关键字词:自定义伪静态,栏目目录伪静态,内容目录伪静态,帝国cms伪静态,SEO栏目优化......
2023-05-18 74
我们在帝国wap模板中调用栏目导航的方法,代码如下:
?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 href="?=$classurl?>">?=DoWapClearHtml($rd[classname])?>/a>/li>?php}?>到这里就完成了,大家根据需要调用即可。
以上方法由办公区教程网编辑摘抄整理自互联网可供大家参考!
标签: 栏目分类
相关文章
本文关键字词:自定义伪静态,栏目目录伪静态,内容目录伪静态,帝国cms伪静态,SEO栏目优化......
2023-05-18 74