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

54 lines
2.0 KiB
PHTML
Raw Normal View History

<?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');
?>
<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>
<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>
<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>
<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>