54 lines
2.0 KiB
PHTML
54 lines
2.0 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$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');
|
||
?>
|
||
<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>
|
||
</ul>
|
||
</div>
|
||
<div class="col-md-10 col-sm-12">
|
||
<div class="tables">
|
||
<div class="stitle">数据下载量概况</div>
|
||
<table>
|
||
<thead>
|
||
<tr><td width="200"></td><td width="100">单位:GB</td></tr>
|
||
</thead>
|
||
<tr>
|
||
<td>总下载数据量(估计量,偏大)</td>
|
||
<td><?php echo round($this->allsize['num'],2);?></td>
|
||
</tr>
|
||
<tr>
|
||
<td>离线下载数据量(从09年4月)</td>
|
||
<td><?php echo round($this->offlinesize['num'],2);?></td>
|
||
</tr>
|
||
<tr>
|
||
<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>
|
||
|
||
</div>
|