国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

statistics.php 636B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * 统计程序
  4. *
  5. * @version $Id: statistics.php$
  6. * @package DedeBIZ.Site
  7. * @copyright Copyright (c) 2022, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__)."/../system/common.inc.php");
  12. require_once(DEDEINC."/libraries/statistics.class.php");
  13. if (empty($dopost)) $dopost = '';
  14. $stat = new DedeStatistics;
  15. if ($dopost == "stat") {
  16. $rs = $stat->Record();
  17. $result = array(
  18. "code" => 200,
  19. "data" => "success",
  20. );
  21. echo json_encode($result);
  22. exit;
  23. }
  24. $v = $stat->GetStat();
  25. echo $v;