帝国CMS高级应用-灵动标签之循环子栏目导航

澳门新葡亰娱乐官网 ,帝国CMS高级应用-灵动标签之循环子栏目导航

[e:loop={selectclassid,classname,islastfrom{$dbtbpre}enewsclasswherebclassid=0andshowclass=0orderbymyorder,classidASClimit11,0,24,0}]?php$classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址?liahref=?=$classurl?target=_blankclass=aspan?=$bqr[classname]?/span/a?phpif(!$bqr[islast])//判断是否终极栏目{?ul?php//取得栏目下的子栏目$newsclass=$empire-query(selectclassid,classnamefrom.$dbtbpre.enewsclasswherebclassid=.$bqr[classid].orderbymyorder,classiddesclimit11);while($classr=$empire-fetch($newsclass)){$classrurl=sys_ReturnBqClassname($classr,9);//取得子栏目地址?liclass=bahref=?=$classrurl??=$classr[classname]?/a/li?php}?/ul?php}?/li[/e:loop]
You can leave a response, or trackback from your own site.

Leave a Reply

网站地图xml地图