diff --git a/application/admin/controllers/StatController.php b/application/admin/controllers/StatController.php index 9d93243b..5b20f44f 100644 --- a/application/admin/controllers/StatController.php +++ b/application/admin/controllers/StatController.php @@ -42,12 +42,6 @@ class Admin_StatController extends Zend_Controller_Action $onlinesize = $res->fetch(); $this->view->onlinesize = $onlinesize; - $sql="select sum(configvalue::real)/1024/1024/1024 as num from g6ftpusersettings where userid in (select id from g6ftpusers where name like 'westdc%' or name='newwestdc') and configname='StatsDownloaded'"; - $res = $this->db->query($sql); - $onlinesize = $res->fetch(); - $this->view->onlineg6size = $onlinesize; - - }//indexAction 首页 function unitAction() diff --git a/application/admin/views/scripts/stat/index.phtml b/application/admin/views/scripts/stat/index.phtml index 729a3681..6aceded6 100644 --- a/application/admin/views/scripts/stat/index.phtml +++ b/application/admin/views/scripts/stat/index.phtml @@ -10,17 +10,17 @@ $this->headScript()->appendFile('/js/jquery.masonry.min.js'); ?>
@@ -42,11 +42,7 @@ 在线下载数据量(估计量,偏大) onlinesize['num'],2);?> - - G6在线下载数据量(精确量) - onlineg6size['num'],2);?> - - +