更新统计首页信息及分月统计文字说明
This commit is contained in:
parent
b39bd3dbfb
commit
831ff26eec
|
@ -18,8 +18,8 @@ class Admin_StatController extends Zend_Controller_Action
|
|||
(select count(id) from normalmetadata) as alldata,
|
||||
(select count(id) as num from dataorder where status=0) as onlinedown,
|
||||
(select count(id) as num from dataorder where status=5) as offlinedown,
|
||||
(select count(id) as num from dataorder where offlineappid>0 and status>4) as offlinepass,
|
||||
(select count(id) as num from dataorder where offlineappid>0 and status in (2,3,4)) as offlineunfinished,
|
||||
(select count(id) as num from offlineapp where ts_approved is not null) as offlinepass,
|
||||
(select count(id) as num from offlineapp where ts_approved is null) as offlineunfinished,
|
||||
(select count(id) as num from dataorder where offlineappid>0 and status=-1) as offlinedenied,
|
||||
(select count(id) as num from onlineapp) as onlineapp";
|
||||
$this->view->stat=$this->db->fetchRow($sql);
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
<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['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['offlinedenied']; ?>条</li>
|
||||
<li>有记录的在线下载数:<?php echo $this->stat['onlineapp']; ?>次</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
$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('<a href="/admin">后台首页</a>');
|
||||
$this->breadcrumb('<a href="/admin/stat">统计</a>');
|
||||
$this->breadcrumb('按月统计');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
?>
|
||||
<style>
|
||||
|
@ -86,7 +88,7 @@ $(function () {
|
|||
</div>
|
||||
|
||||
<div class="charts">
|
||||
<div class="title" id="title_online1"><?php echo $this->y.'年按月在线下载条数(根据用户下载记录,会有数据重复,偏大)统计';?></div>
|
||||
<div class="title" id="title_online1"><?php echo $this->y.'年按月在线下载条数(根据用户下载记录,9月之前无用途记录)统计';?></div>
|
||||
<?php
|
||||
|
||||
if($this->online!='' && count($this->online)!= 0)
|
||||
|
|
Loading…
Reference in New Issue