westdc-zf1/application/admin/views/scripts/stat/index.phtml

54 lines
2.0 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>