请问帝国CMS统计指定时间内信息更新的数量
-
12小时内
<?=$empire->gettotal("select count(*) as total from [!db.pre!]ecms_表 where newstime > UNIX_TIMESTAMP() - 12*3600")?>
-
6小时内
<?=$empire->gettotal("select count(*) as total from [!db.pre!]ecms_表 where newstime > UNIX_TIMESTAMP() - 6*3600")?>
更新时间:2025-04-11 01:00:10
转载请注明原文链接:https://www.muzicopy.com/suibi/6973.html