45 lines
1.8 KiB
PHTML
45 lines
1.8 KiB
PHTML
|
<?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>
|
||
|
<p>服务人次:<?= $this->applyTimes ?></p>
|
||
|
|
||
|
<h3>选择项目进行统计</h3>
|
||
|
|
||
|
<form method="get">
|
||
|
<div class="form-group">
|
||
|
<?php foreach($this->projects as $v) { ?>
|
||
|
<label class="checkbox-inline">
|
||
|
<input type="checkbox" name="fund_id[]" value="<?= $v['code'] ?>" <?= (is_array($this->funds) && in_array($v['code'],$this->funds)) ? "checked":'' ?> /><?= $v['code'] ?>
|
||
|
</label>
|
||
|
<?php }?>
|
||
|
</div>
|
||
|
<button type="submit" name="submit" value="1" class="btn btn-success">重新统计</button>
|
||
|
</form>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|