2011-09-20 09:12:02 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
2011-09-23 07:38:35 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery.masonry.min.js');
|
2011-09-20 09:12:02 +00:00
|
|
|
|
?>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
2011-11-21 12:31:24 +00:00
|
|
|
|
<?= $this->partial('stat/left.phtml'); ?>
|
|
|
|
|
<ul>
|
|
|
|
|
<li class="title">概况</li>
|
|
|
|
|
<li>用户总数:<?php echo $this->stat['alluser']; ?>人</li>
|
|
|
|
|
<li>元数据条数:<?php echo $this->stat['alldata']; ?>条</li>
|
2011-12-23 05:36:58 +00:00
|
|
|
|
<li>在线数据下载数:<?php echo $this->stat['onlinedown']; ?>条</li>
|
|
|
|
|
<li>离线数据下载数:<?php echo $this->stat['offlinedown']; ?>条</li>
|
2011-11-21 12:31:24 +00:00
|
|
|
|
<li>已通过的离线申请:<?php echo $this->stat['offlinepass']; ?>次</li>
|
|
|
|
|
<li>未完成的离线申请:<?php echo $this->stat['offlineunfinished']; ?>次</li>
|
2011-12-23 05:36:58 +00:00
|
|
|
|
<li>被拒绝的离线数据:<?php echo $this->stat['offlinedenied']; ?>条</li>
|
2011-11-21 12:31:24 +00:00
|
|
|
|
<li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?>次</li>
|
|
|
|
|
</ul>
|
2011-09-23 07:38:35 +00:00
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
|
<div class="col-md-10 col-sm-12">
|
2011-09-23 07:38:35 +00:00
|
|
|
|
<div class="tables">
|
|
|
|
|
<div class="stitle">数据下载量概况</div>
|
|
|
|
|
<table>
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><td width="200"></td><td width="100">单位:GB</td></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tr>
|
2011-09-24 14:07:33 +00:00
|
|
|
|
<td>总下载数据量(估计量,偏大)</td>
|
2011-09-23 07:38:35 +00:00
|
|
|
|
<td><?php echo round($this->allsize['num'],2);?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2011-09-24 14:07:33 +00:00
|
|
|
|
<td>离线下载数据量(从09年4月)</td>
|
2011-09-23 07:38:35 +00:00
|
|
|
|
<td><?php echo round($this->offlinesize['num'],2);?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2011-09-24 14:07:33 +00:00
|
|
|
|
<td>在线下载数据量(估计量,偏大)</td>
|
2011-09-23 07:38:35 +00:00
|
|
|
|
<td><?php echo round($this->onlinesize['num'],2);?></td>
|
|
|
|
|
</tr>
|
2011-09-24 14:07:33 +00:00
|
|
|
|
<tr>
|
|
|
|
|
<td>G6在线下载数据量(精确量)</td>
|
|
|
|
|
<td><?php echo round($this->onlineg6size['num'],2);?></td>
|
|
|
|
|
</tr>
|
2011-09-23 04:06:23 +00:00
|
|
|
|
|
2011-09-23 07:38:35 +00:00
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|