帝国cms本月热点排行之类的sql标签SQL标签的应用已带模版的标签为例:[ecmsinfo]"select * from phome_ecms_news where newstime > SUBDATE(NOW(),INTERVAL 30 DAY) order by onclick desc limit 10",10,30...
帝国CMS列表内容模板(list.var)调用会员头像会员名会员积分$uid=$empire->fetch1("select * from {$dbtbpre}enewsmemberadd where userid={$r[userid]}");$usql=$empire->fetch1("select * from {$dbtbpre}e...
问:帝国随机调用全站新闻答:[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...