DESTOON
返回首页   网站建设 > > DESTOON知识

destoon8.0指定调取多个分类下的信息

更新时间:2021-10-07
 以商城模块为例,调取多个指定分类下的信息,话不多说,直接上标签:

 

  1. <!--{php $xiaohei=tag("moduleid=16&length=44&condition=status=3 and thumb<>'' and catid in (8,9,10)&areaid=$cityid&order=".$MOD[order]."&pagesize=20&showcat=1&template=null")}-->

 

loop下的内容自己写写,整个标签重点在  and catid in (8,9,10)    ,意思是调取分类id为8,9,10 下的信息

 

效果图



友情提示

专注DESTOON模板
SEO仿站!


购买
DESTOON版权?
1200元 ?
版本授权