时间:2021-07-21人气:-
用sql调用
12小时:<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-24*3600")?>
6小时:<?=$empire->gettotal("select count(*) as total from phome_ecms_表 where newstime>UNIX_TIMESTAMP()-6*3600")?>
上篇:帝国cmsV6.5新增工作流功能,最高可支持100级审核流程
下篇:如何设置首页分页