2014-12-17 08:06:14 +00:00
|
|
|
|
<?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('<a href="/admin/heihe">黑河数据集</a>');
|
|
|
|
|
$this->breadcrumb('黑河数据集');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
|
|
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/author.css');
|
|
|
|
|
?>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
|
<h2>统计信息</h2>
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
|
|
<p>项目个数:<?= $this->projectsCount ?></p>
|
|
|
|
|
<p>数据条数:<?= $this->dataCount ?></p>
|
|
|
|
|
<p>总数据量:<?= round($this->dataFileSize / 1024 , 2) . 'GB' ?></p>
|
|
|
|
|
<p>文件个数:<?= $this->fileCount ?></p>
|
2014-12-17 10:54:46 +00:00
|
|
|
|
<p>服务次数(人/次):<a href="/admin/data/project/ac/userdown"><?= $this->applyTimes ?></a></p>
|
|
|
|
|
<p>服务次数(人/合并次,单个用户多次申请算作一次服务): <?= $this->applyTimesDistanct ?></p>
|
|
|
|
|
<p>服务次数(人/数据):<?= $this->dataApplyTimes ?></p>
|
2014-12-17 08:06:14 +00:00
|
|
|
|
|
|
|
|
|
<h3>选择项目进行统计</h3>
|
|
|
|
|
|
|
|
|
|
<form method="get">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<?php foreach($this->projects as $v) { ?>
|
2014-12-17 08:24:06 +00:00
|
|
|
|
<label class="checkbox-inline" title="<?= $v['title'] ?>">
|
|
|
|
|
<input type="checkbox" name="fund_id[]" value="<?= $v['code'] ?>" <?= (is_array($this->funds) && in_array($v['code'],$this->funds)) ? "checked":'' ?> title="<?= $v['title'] ?>" /><?= $v['code'] ?>
|
2014-12-17 08:06:14 +00:00
|
|
|
|
</label>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</div>
|
|
|
|
|
<button type="submit" name="submit" value="1" class="btn btn-success">重新统计</button>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|