77 lines
2.2 KiB
PHTML
77 lines
2.2 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 id="leftPanel">
|
|
<?= $this->partial('stat/left.phtml'); ?>
|
|
</div>
|
|
<div id="rightPanel">
|
|
<div class="tables">
|
|
<div class="stitle">概况</div>
|
|
<table>
|
|
<tr>
|
|
<td>用户总数:</td>
|
|
<td><?php echo $this->stat['alluser']; ?>人</td>
|
|
</tr>
|
|
<tr>
|
|
<td>元数据条数:</td>
|
|
<td><?php echo $this->stat['alldata']; ?>条</td>
|
|
</tr>
|
|
<tr>
|
|
<td>在线数据下载数:</td>
|
|
<td><?php echo $this->stat['onlinedown']; ?>条</td>
|
|
</tr>
|
|
<tr>
|
|
<td>离线数据下载数:</td>
|
|
<td><?php echo $this->stat['offlinedown']; ?>条</td>
|
|
</tr>
|
|
<tr>
|
|
<td>已通过的离线申请:</td>
|
|
<td><?php echo $this->stat['offlinepass']; ?>次</td>
|
|
</tr>
|
|
<tr>
|
|
<td>未完成的离线申请:</td>
|
|
<td><?php echo $this->stat['offlineunfinished']; ?>次</td>
|
|
</tr>
|
|
<tr>
|
|
<td>被拒绝的离线数据:</td>
|
|
<td><?php echo $this->stat['offlinedenied']; ?>条</td>
|
|
</tr>
|
|
<tr>
|
|
<td>有记录的在线下载数:</td>
|
|
<td><?php echo $this->stat['onlineapp']; ?>次</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<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>离线下载数据量</td>
|
|
<td><?php echo round($this->offlinesize['num'],2);?></td>
|
|
</tr>
|
|
<tr>
|
|
<td>在线下载数据量</td>
|
|
<td><?php echo round($this->onlinesize['num'],2);?></td>
|
|
</tr>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|