Merge remote-tracking branch 'origin/sanji' into sanji
This commit is contained in:
commit
649ffb97a8
|
@ -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()
|
||||
|
|
|
@ -10,17 +10,17 @@
|
|||
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
||||
?>
|
||||
<div class="hidden-sm hidden-xs col-md-2">
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
<ul>
|
||||
<li class="title">概况</li>
|
||||
<li>用户总数:<?php echo $this->stat['alluser']; ?>人</li>
|
||||
<li>元数据条数:<?php echo $this->stat['alldata']; ?>条</li>
|
||||
<li>在线数据下载数:<?php echo $this->stat['onlinedown']; ?>条</li>
|
||||
<li>离线数据下载数:<?php echo $this->stat['offlinedown']; ?>条</li>
|
||||
<li>已通过的离线申请:<?php echo $this->stat['offlinepass']; ?>次</li>
|
||||
<li>未完成的离线申请:<?php echo $this->stat['offlineunfinished']; ?>次</li>
|
||||
<li>被拒绝的离线数据:<?php echo $this->stat['offlinedenied']; ?>条</li>
|
||||
<li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?>次</li>
|
||||
<?= $this->partial('stat/left.phtml'); ?>
|
||||
<ul>
|
||||
<li class="title">概况</li>
|
||||
<li>用户总数:<?php echo $this->stat['alluser']; ?>人</li>
|
||||
<li>元数据条数:<?php echo $this->stat['alldata']; ?>条</li>
|
||||
<li>在线数据下载数:<?php echo $this->stat['onlinedown']; ?>条</li>
|
||||
<li>离线数据下载数:<?php echo $this->stat['offlinedown']; ?>条</li>
|
||||
<li>已通过的离线申请:<?php echo $this->stat['offlinepass']; ?>次</li>
|
||||
<li>未完成的离线申请:<?php echo $this->stat['offlineunfinished']; ?>次</li>
|
||||
<li>被拒绝的离线数据:<?php echo $this->stat['offlinedenied']; ?>条</li>
|
||||
<li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?>次</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-10 col-sm-12">
|
||||
|
@ -42,11 +42,7 @@
|
|||
<td>在线下载数据量(估计量,偏大)</td>
|
||||
<td><?php echo round($this->onlinesize['num'],2);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>G6在线下载数据量(精确量)</td>
|
||||
<td><?php echo round($this->onlineg6size['num'],2);?></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue