[e:loop={"select * from phome_ecms_news where title like '%QQSO站长资源站%' and checked=1 order by newstime desc limit 10",10,24,0}]<a href="<?=$bqsr[t...
用如下方法可以实现了![e:loop={'news',10,18,0,'newstime>='.to_time('2010-11-11 00:00:01').' and newstime<='.to_time('2010-11-...
SQL:
select a.id,a.classid,a.title,a.titlepic,a.username,a.userid,a.applynum,a.onclick,a.titleurl,b.id,b.classid,count(b.id) fromphome_ecms_news as a left jo...