67 lines
1.8 KiB
PHTML
67 lines
1.8 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->headLink()->appendStylesheet('/css/jquery.jqplot.css');
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<style>
|
|
.charts{margin:30px 0px;}
|
|
.charts .title{color:#003366;}
|
|
.cp {line-height:24px;}
|
|
.cp a{color:#4bb2c5;line-height:24px;}
|
|
.cp a:hover{color:#FFF;background:#4bb2c5;}
|
|
</style>
|
|
<div id="leftPanel">
|
|
<?= $this->partial('stat/left.phtml'); ?>
|
|
</div>
|
|
<div id="rightPanel">
|
|
|
|
<div class="cp">
|
|
<span>按年查看:</span>
|
|
<a href="/admin/stat/unit/">总体查看(默认)</a>
|
|
<a href="/admin/stat/unit/y/2004">2004</a>
|
|
<a href="/admin/stat/unit/y/2005">2005</a>
|
|
<a href="/admin/stat/unit/y/2006">2006</a>
|
|
<a href="/admin/stat/unit/y/2007">2007</a>
|
|
<a href="/admin/stat/unit/y/2008">2008</a>
|
|
<a href="/admin/stat/unit/y/2009">2009</a>
|
|
<a href="/admin/stat/unit/y/2010">2010</a>
|
|
<a href="/admin/stat/unit/y/2011">2011</a>
|
|
<a href="/admin/stat/unit/y/2012">2012</a>
|
|
</div>
|
|
<div id="unitdata">
|
|
</div>
|
|
|
|
<table style="float:left;">
|
|
<tr><td>单位名称</td><td>离线申请次数</td></tr>
|
|
<?php
|
|
foreach ($this->unitoffline as $k=>$v)
|
|
|
|
{
|
|
|
|
echo "<tr><td>{$v['unit']}</td><td>{$v['num']}</td></tr>";
|
|
|
|
}
|
|
|
|
?>
|
|
</table>
|
|
<table style="float:left;margin-left:20px;">
|
|
<tr><td>单位名称</td><td>在线下载条数</td></tr>
|
|
<?php
|
|
foreach ($this->unitonline as $k=>$v)
|
|
|
|
{
|
|
|
|
echo "<tr><td>{$v['unit']}</td><td>{$v['num']}</td></tr>";
|
|
|
|
}
|
|
|
|
?>
|
|
</table>
|
|
|
|
</div>
|