帝国CMS显示指定时间内更新的信息数量 分类栏目:帝国学院 版权信息:admin 原创作品、版权所有,禁止匿名转载,分享请注明版权。 admin 发布于 2018-10-04 17:50:12 帝国CMS显示指定时间内更新的信息数量,如1天内列新多少条信息: 用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")?> 查看原内容 前往查看原内容 喜欢 ( )