请问帝国CMS按照小时显示更新数量统计代码
-
12小时发文数量统计:
- 使用以下代码:
<?= $empire->gettotal("select count(*) as total from cn_ecms_news where newstime > UNIX_TIMESTAMP() - 24 * 3600") ?>
- 使用以下代码:
-
6小时发文数量统计:
- 使用以下代码:
<?= $empire->gettotal("select count(*) as total from cn_ecms_news where newstime > UNIX_TIMESTAMP() - 6 * 3600") ?>
- 使用以下代码:
更新时间:2025-04-11 00:46:19
下一篇:请问帝国CMS修改网站logo,帝国CMS Logo更换步骤
转载请注明原文链接:https://www.muzicopy.com/suibi/6447.html