mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 11:22:34 +09:00
issue 70 add file status in super admin dashboard
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8870 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bd0b64c1a3
commit
1b198a605a
4 changed files with 20 additions and 7 deletions
|
|
@ -170,11 +170,6 @@
|
|||
$args->date = date("Ymd000000", time()-60*60*24);
|
||||
$today = date("Ymd");
|
||||
|
||||
// Site Status
|
||||
$oAdminAdminModel = &getAdminModel('admin');
|
||||
$status->site->todayCount = $oAdminAdminModel->getSiteCountByDate($today);
|
||||
$status->site->totalCount = $oAdminAdminModel->getSiteCountByDate();
|
||||
|
||||
// Member Status
|
||||
$oMemberAdminModel = &getAdminModel('member');
|
||||
$status->member->todayCount = $oMemberAdminModel->getMemberCountByDate($today);
|
||||
|
|
@ -195,6 +190,11 @@
|
|||
$status->trackback->todayCount = $oTrackbackAdminModel->getTrackbackCountByDate($today);
|
||||
$status->trackback->totalCount = $oTrackbackAdminModel->getTrackbackCountByDate();
|
||||
|
||||
// Attached files Status
|
||||
$oFileAdminModel = &getAdminModel('file');
|
||||
$status->file->todayCount = $oFileAdminModel->getFilesCountByDate($today);
|
||||
$status->file->totalCount = $oFileAdminModel->getFilesCountByDate();
|
||||
|
||||
Context::set('status', $status);
|
||||
|
||||
// Latest Document
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue