可以实现,调用最新300条信息中点中率最高的2条信息,而不是所有信息。[e:loop={'select * from (select a.id,a.title,a.newspath,a.newstime,b.classpath,b.classname,b.filetype,a.onclick,a.smalltext from '.$dbtbpr……
帝国CMS显示指定时间内更新的信息数量,如1天内列新多少条信息:用sql调用
12小时:<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-24*3600")?>
6小时:<?=$empire->……