A allwotlk Chevereto Member Oct 16, 2017 #1 Dear users please tell me how to put a counter on the main page where will be written how many uploaded images on the server and today.
Dear users please tell me how to put a counter on the main page where will be written how many uploaded images on the server and today.
Rodolfo ⭐ Chevereto Godlike Chevereto Staff Administrator Dec 7, 2019 #3 You can use the Stat class. PHP: // @var array $totals = CHV\Stats::getTotals(); G\debug($totals); Note that the CHV\ namespace must be ommited if you are already in the CHV namespace.
You can use the Stat class. PHP: // @var array $totals = CHV\Stats::getTotals(); G\debug($totals); Note that the CHV\ namespace must be ommited if you are already in the CHV namespace.
qingli Chevereto Member Dec 11, 2019 #4 [QUOTE =“ Rodolfo,帖子:60288,成员:1”] 您可以使用Stat类。 [CODE = php] // @var副本 $ totals = CHV \ Stats :: getTotals(); G \ debug($总计);[/ CODE] 请注意,如果您已经在CHV名称空间中,则必须省略 CHV \ [/ ICODE]名称空间。 [/引用] [IMG] https://opq.la/images/2019/12/12/FireShot-Capture-001-----------imgse.com.png [/ IMG] 这样的代码是某种类型的统计数据?[/ ICODE]
[QUOTE =“ Rodolfo,帖子:60288,成员:1”] 您可以使用Stat类。 [CODE = php] // @var副本 $ totals = CHV \ Stats :: getTotals(); G \ debug($总计);[/ CODE] 请注意,如果您已经在CHV名称空间中,则必须省略 CHV \ [/ ICODE]名称空间。 [/引用] [IMG] https://opq.la/images/2019/12/12/FireShot-Capture-001-----------imgse.com.png [/ IMG] 这样的代码是某种类型的统计数据?[/ ICODE]