要我帮设计推荐信息摘要:

问:帝国随机调用全站新闻答:[ecmsinfo]"select * from zzarea_ecms_news order by rand() desc limit 6 ",6,18,1,24,11,1[/ecmsinfo]或者使用e:loop标签[e:loop={"select * from [!db.pre!]ecms_news order b

问:帝国随机调用全站新闻


答:[ecmsinfo]"select * from zzarea_ecms_news order by rand() desc limit 6 ",6,18,1,24,11,1[/ecmsinfo]


或者使用e:loop标签


[e:loop={"select * from [!db.pre!]ecms_news  order by rand() limit 8",8,24,0}]

     <a href="<?=$bqsr[titleurl]?>" target="_blank"><?=sub($bqr[title],0,38,false)?></a>

[/e:loop]


推荐阅读:


帝国CMS随机调用某几个栏目信息的实现代码

分享海报