帝国CMS如何调用指定时间内信息数量
2021-09-22 08:57:11 围观 : 次
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")?> |