mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 10:52:14 +09:00
issue 70 site count in dashboard
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8803 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
19e395eb2c
commit
e3bfd18de7
4 changed files with 33 additions and 1 deletions
|
|
@ -171,6 +171,11 @@
|
|||
$args->date = date("Ymd000000", time()-60*60*24);
|
||||
$today = date("Ymd");
|
||||
|
||||
// Site Status
|
||||
$oSiteModel = &getModel('site');
|
||||
$status->site->todayCount = $oSiteModel->getSiteCountByDate($today);
|
||||
$status->site->totalCount = $oSiteModel->getSiteCountByDate();
|
||||
|
||||
// Member Status
|
||||
$oMemberAdminModel = &getAdminModel('member');
|
||||
$status->member->todayCount = $oMemberAdminModel->getMemberCountByDate($today);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue