westdc-zf1/application/default/views/scripts/index/index.phtml

127 lines
4.3 KiB
PHTML
Raw Normal View History

2011-10-26 03:21:28 +00:00
<?php
$this->headTitle($this->config->title->site);
$this->headTitle('首页');
$this->headTitle()->setSeparator(' - ');
?>
2013-05-17 04:34:06 +00:00
</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 -->
2014-05-27 09:56:38 +00:00
<div class="container">
2014-05-27 09:56:38 +00:00
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span12">
2014-06-12 06:20:01 +00:00
<div class="span3">
2014-05-27 09:56:38 +00:00
<div class="box">
2014-06-12 06:20:01 +00:00
<h4 class="box-title">本站统计</h4>
2014-05-27 09:56:38 +00:00
<ul>
2014-06-12 06:20:01 +00:00
<li>数据集:<?= $this->metanum ?></li>
<li>在线数据<?= $this->onlinesize ?>MB</li>
<li>离线数据<?= $this->offlinesize ?>MB</li>
<li>共有注册用户:<?= $this->usernum ?></li>
2014-06-12 06:23:58 +00:00
<li>离线申请:<?= $this->offlinenum ?>人次</li>
2014-05-27 09:56:38 +00:00
</ul>
</div>
</div>
<!-- /.span4 -->
2014-06-12 06:20:01 +00:00
<div class="span9">
2014-05-27 09:56:38 +00:00
<div class="box">
2014-05-28 08:50:35 +00:00
<h4 class="box-title">新闻公告</h4>
2014-05-27 09:56:38 +00:00
<ul>
<?php foreach($this->list_news as $k=>$v){ ?>
2013-12-13 08:42:34 +00:00
<li>
2014-06-18 13:46:25 +00:00
[<?= date('Y-m-d',strtotime($v['ts_published'])) ?>]<a href="<?= $v['url'] ?>" title="<?= $v['title'] ?>"><i class=" icon-ok-sign"> </i><?= $v['title'] ?></a>
2013-12-13 08:42:34 +00:00
</li>
2013-06-01 01:21:17 +00:00
<?php } ?>
2014-06-12 03:25:06 +00:00
<span class="pull-right"><a href="/archives/" target="_blank" class="more">更多>></a></span>
2014-05-27 09:56:38 +00:00
</ul>
</div>
</div>
<!-- /.span4 -->
2013-10-17 03:15:08 +00:00
</div>
2014-05-27 09:56:38 +00:00
<!-- /.row -->
2014-06-11 07:26:59 +00:00
<div style="margin-bottom:20px;"><img src="/sjyportal/img/protect.jpg" class="img-rounded" /></div>
2014-05-27 09:56:38 +00:00
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
2014-06-12 03:41:38 +00:00
<!-- /.span4 -->
2014-05-27 09:56:38 +00:00
<div class="span4">
<div class="box">
2014-06-12 03:41:38 +00:00
<h4 class="box-title">最新可视化数据</h4>
2014-05-27 09:56:38 +00:00
<ul>
2014-06-12 03:41:38 +00:00
<?php foreach($this->visualdata as $k=>$v){ ?>
2014-05-27 09:56:38 +00:00
<li>
2014-06-12 03:41:38 +00:00
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
2014-05-27 09:56:38 +00:00
</li>
<?php } ?>
2014-06-12 03:41:38 +00:00
<span class="pull-right"><a href="/data/visual" target="_blank" class="more">更多>></a></span>
2014-05-27 09:56:38 +00:00
</ul>
</div>
</div>
2014-06-12 03:41:38 +00:00
<div class="span4">
2014-05-27 09:56:38 +00:00
<div class="box">
2014-06-12 03:41:38 +00:00
<h4 class="box-title">热门在线数据集</h4>
2014-05-27 09:56:38 +00:00
<ul>
2014-06-12 03:41:38 +00:00
<?php foreach($this->mdtop as $k=>$v){ ?>
2014-05-27 09:56:38 +00:00
<li>
2014-06-12 03:41:38 +00:00
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
2014-05-27 09:56:38 +00:00
</li>
<?php } ?>
<span class="pull-right"><a href="/data/onlinelist" target="_blank" class="more">更多>></a></span>
2014-05-27 09:56:38 +00:00
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span4">
<div class="box">
2014-06-12 03:41:38 +00:00
<h4 class="box-title">热门离线数据集</h4>
2014-05-27 09:56:38 +00:00
<ul>
2014-06-12 03:41:38 +00:00
<?php foreach($this->offlinemdtop as $k=>$v){ ?>
2014-05-27 09:56:38 +00:00
<li>
2014-06-12 03:41:38 +00:00
<a href="/data/<?= $v['uuid'] ?>" title="<?= $v['title'] ?>"><i class=" icon-map-marker"> </i><?= $v['title'] ?></a>
2014-05-27 09:56:38 +00:00
</li>
<?php } ?>
<span class="pull-right"><a href="/data/offlinelist" target="_blank" class="more">更多>></a></span>
2014-05-27 09:56:38 +00:00
</ul>
</div>
</div>
<!-- /.span4 -->
</div>
2014-05-27 09:56:38 +00:00
<!-- /.row -->
</div>
2014-06-20 01:28:59 +00:00
<!-- /.container -->
<script>
!function ($) {
$(function(){
// carousel demo
$('#myCarousel').carousel()
})
}(window.jQuery)
</script>