119 lines
4.1 KiB
PHTML
Executable File
119 lines
4.1 KiB
PHTML
Executable File
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('首页');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
?>
|
||
|
||
</div><!-- 结束container容器,实现banner全屏展示-->
|
||
<!-- Carousel
|
||
================================================== -->
|
||
<div class="container-fluid1 ">
|
||
<div id="myCarousel" class="carousel slide">
|
||
<div class="carousel-inner">
|
||
<div class="item active"> <img src="/sjyportal/img/slide-00.jpg" alt="" class="">
|
||
<div class="container">
|
||
<div class="carousel-caption">
|
||
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="item"> <img src="/sjyportal/img/slide-01.jpg" alt="" class="">
|
||
<div class="container">
|
||
<div class="carousel-caption">
|
||
<h2>青海54.6%国土被纳入三江源国家生态保护试验区</h2>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> </div>
|
||
</div>
|
||
<!-- /.carousel -->
|
||
|
||
<div class="container">
|
||
|
||
<!-- Three columns of text below the carousel -->
|
||
<div class="row-fluid">
|
||
<div class="span12">
|
||
<div class="span3">
|
||
<div class="box">
|
||
<h4 class="box-title">本站统计</h4>
|
||
<ul>
|
||
<li>数据集:<?= $this->metanum ?>条</li>
|
||
<li>在线数据<?= $this->onlinesize ?>MB</li>
|
||
<li>离线数据<?= $this->offlinesize ?>MB</li>
|
||
<li>共有注册用户:<?= $this->usernum ?>人</li>
|
||
<li>离线申请:<?= $this->offlinenum ?>人次</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<!-- /.span4 -->
|
||
<div class="span9">
|
||
<div class="box">
|
||
<h4 class="box-title">新闻公告</h4>
|
||
<ul>
|
||
<?php foreach($this->list_news as $k=>$v){ ?>
|
||
<li>
|
||
[<?= date('Y-m-d',strtotime($v['ts_created'])) ?>]<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><i class=" icon-ok-sign"> </i><?= $v['title'] ?></a>
|
||
</li>
|
||
<?php } ?>
|
||
<span class="pull-right"><a href="/archives/" target="_blank" class="more">更多>></a></span>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<!-- /.span4 -->
|
||
|
||
</div>
|
||
<!-- /.row -->
|
||
<div style="margin-bottom:20px;"><img src="/sjyportal/img/protect.jpg" class="img-rounded" /></div>
|
||
|
||
<!-- Three columns of text below the carousel -->
|
||
<div class="row-fluid">
|
||
<!-- /.span4 -->
|
||
<div class="span4">
|
||
<div class="box">
|
||
<h4 class="box-title">最新可视化数据</h4>
|
||
<ul>
|
||
<?php foreach($this->visualdata as $k=>$v){ ?>
|
||
<li>
|
||
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
|
||
</li>
|
||
<?php } ?>
|
||
<span class="pull-right"><a href="/data/visual" target="_blank" class="more">更多>></a></span>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="span4">
|
||
<div class="box">
|
||
<h4 class="box-title">热门在线数据集</h4>
|
||
<ul>
|
||
<?php foreach($this->mdtop as $k=>$v){ ?>
|
||
<li>
|
||
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
|
||
</li>
|
||
<?php } ?>
|
||
<span class="pull-right"><a href="/data" target="_blank" class="more">更多>></a></span>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<!-- /.span4 -->
|
||
<div class="span4">
|
||
<div class="box">
|
||
<h4 class="box-title">热门离线数据集</h4>
|
||
<ul>
|
||
<?php foreach($this->offlinemdtop as $k=>$v){ ?>
|
||
<li>
|
||
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
|
||
</li>
|
||
<?php } ?>
|
||
<span class="pull-right"><a href="/data" target="_blank" class="more">更多>></a></span>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<!-- /.span4 -->
|
||
|
||
</div>
|
||
<!-- /.row -->
|
||
</div>
|
||
|
||
<!-- /.container -->
|