帝国CMS灵动标签调用子栏目及子栏目信息
2022-07-20
帝国CMS灵动标签调用子栏目及子栏目信息的方法
代码如下:
<ul class="cp0_ul"> [e:loop={"select classid,classname from {$dbtbpre}enewsclass where bclassid=8 order by myorder,classid desc",0,24,0}] <li class="cp0_li"><p class="cp0_tit"><?=$bqr[classname]?> </p></li> [/e:loop] </ul> <ul class="cp0_ul2"> [e:loop={"select classid,classname from {$dbtbpre}enewsclass where bclassid=8 order by myorder,classid desc",0,24,0}] <li class="cp0_li2"> [ecmsinfo]$bqr[classid],10,30,0,0,5,1[/ecmsinfo] </li> [/e:loop] </ul>
好了,完成!
声明:本文来自用户分享和网络收集,仅供学习与参考,测试请备份。