帝国CMS支持内嵌标签多规则多类型调用循环子栏目数据

divclass=intabbkid=shtree1h3/h3spanclass=moreahref=[!---news.url--]list-1-0.htmltarget=_blank更多/a/spandivid=tab-hdclass=deep-hd[showclasstemp]1,13,0,0[/showclasstemp]/divdivid=tab-bdclass=deep-bd[e:loop={selectclassid,classname,classpathfrom`[!db.pre!]enewsclass`wherebclassid=1orderbymyorderasc,7,24,0}]divclass=dcondivclass=topldivclass=top10b销售排行/bTOP10/div?php//这里是取得该分类下的有图片的最新数据$newbook1=$empire-query(selecttitle,titlepic,titleurl,keyboard,newstime,groupid,tprice,price,classid,newspath,filename,idfromphome_ecms_shopwhereclassid=.$bqr[classid].orderbyonclickdesclimit6);while($r=$empire-fetch($newbook1)){$commbookurl=sys_ReturnBqTitleLink($commbook1);?dldtahref=?=sys_ReturnBqTitleLink($r)?target=_blankimgsrc=?=$r[titlepic]?width=60height=60//a/dtddahref=?=sys_ReturnBqTitleLink($r)?target=_blank?=$r[title]?/a/ddddspanclass=price市价:?=$r[tprice]?/span/ddddspanclass=priceb售价:?=$r[price]?/span/dd/dl?php}?divclass=goahref=[!---news.url--]list-1-0.htmltarget=_blank进入进口食品/a/div/divdivclass=goodsbkulclass=goods_list?php$newbook=$empire-query(selecttitle,titlepic,titleurl,keyboard,newstime,groupid,tprice,price,classid,newspath,filename,idfromphome_ecms_shopwhereclassid=.$bqr[classid].orderbynewstimedesclimit8);while($r=$empire-fetch($newbook)){?lidivclass=pic_wrapahref=?=sys_ReturnBqTitleLink($r)?target=_blankimgalt=?=$r[title]?src=?=$r[titlepic]?/a/divdivclass=price_wrappclass=pricespan¥/span?=$r[price]?/p/divdivclass=title_wrapatitle=?=$r[title]?href=?=sys_ReturnBqTitleLink($r)?target=_blank?=$r[title]?/a/div/li?php}?/ul/div/div[/e:loop]/div

澳门新葡亰手机版,帝国CMS循环子栏目数据调用标签,调用的子栏目数据只能调用一种信息,比如只能调用一组最新信息,如何同时调用一组最新信息及点击排行信息呢?

如上图所示,左边调用点击排行,右边调用最新信息。代码如下:

?php$bclassid=$GLOBALS[navclassid]; //取得本栏目id//取得本栏目下的子栏目?[e:loop={select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` desc ,7,24,0}][ecmsinfo] $bqr[classid] ,14,30,1,0,29,0[/ecmsinfo] [ecmsinfo] $bqr[classid] ,14,30,1,0,27,0[/ecmsinfo] [/e:loop]