2011-10-26 03:21:28 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle('首页');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$auth = Zend_Auth::getInstance();
|
2013-04-09 14:20:02 +00:00
|
|
|
|
$this->headLink()->appendStylesheet('/css/index.css');
|
2011-10-26 03:21:28 +00:00
|
|
|
|
?>
|
2013-05-08 03:08:04 +00:00
|
|
|
|
<style>
|
|
|
|
|
.carousel-inner .item .featured-image-link{text-align:center;}
|
2013-05-14 23:50:42 +00:00
|
|
|
|
.featured-image{min-width:100%;text-align:center; margin:auto 0px;/*min-height:100%;*/}
|
2013-05-08 03:08:04 +00:00
|
|
|
|
</style>
|
2013-05-17 04:34:06 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<div class="row">
|
2013-04-10 01:53:35 +00:00
|
|
|
|
<div class="span7" id="feature-news">
|
2013-05-08 03:08:04 +00:00
|
|
|
|
<div id="myCarousel" class="carousel slide">
|
|
|
|
|
<ol class="carousel-indicators">
|
2013-04-09 14:20:02 +00:00
|
|
|
|
<?php
|
2012-12-27 08:42:56 +00:00
|
|
|
|
foreach($this->news as $k=>$v)
|
2013-05-08 03:08:04 +00:00
|
|
|
|
{
|
|
|
|
|
echo '<li data-target="#myCarousel" data-slide-to="$k"'.($k==0?' class="active"':'').'></li>';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</ol>
|
|
|
|
|
<div class="carousel-inner">
|
2013-04-09 14:20:02 +00:00
|
|
|
|
<?php
|
|
|
|
|
foreach($this->news as $k=>$v)
|
2013-05-08 03:08:04 +00:00
|
|
|
|
{
|
|
|
|
|
echo '<div class="item'.($k==0?' active':'').'">';
|
2013-05-14 23:57:52 +00:00
|
|
|
|
echo '<a href="'.$v['url'].'" title="'.$v['description'].'" ><img src="'.$v['image'].'" class="img-rounded featured-image" /></a>';
|
2013-05-08 03:08:04 +00:00
|
|
|
|
echo '<div class="carousel-caption">';
|
2013-06-01 01:21:17 +00:00
|
|
|
|
echo '<h4><span class="pull-right">['.date("Y-m-d",strtotime($v['ts_published'])).']</span><a href="'.$v['url'].'">'.$v['title'].'</a></h4>';
|
2013-05-08 03:08:04 +00:00
|
|
|
|
//echo '<p>'.$v['description'].'</p>';
|
|
|
|
|
echo '</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>
|
2013-04-09 14:20:02 +00:00
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
2013-06-01 01:21:17 +00:00
|
|
|
|
<div class="span5" id="main-news">
|
2013-06-01 01:41:57 +00:00
|
|
|
|
<h4><a href="/archives/help/platform" class="pull-right"><i class="icon-book"></i>帮助</a><a href="/archives"><i class="icon-calendar"></i>新闻</a></h4>
|
2013-06-01 01:21:17 +00:00
|
|
|
|
<ul class="news-list">
|
|
|
|
|
<?php foreach($this->list_news as $k=>$v){ ?>
|
|
|
|
|
<li><span class="pull-right">[<?= date("Y-m-d",strtotime($v['ts_published']))?>]</span><a href="<?= $v['url'] ?>"><?= $v['title'] ?></a></li>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
2013-05-19 02:35:42 +00:00
|
|
|
|
|
2013-10-15 09:38:52 +00:00
|
|
|
|
<!-- 数据 -->
|
2013-03-19 09:16:41 +00:00
|
|
|
|
<div class="row">
|
2013-10-15 09:38:52 +00:00
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省生态环境遥感监测中心</h4>
|
|
|
|
|
<div class="data-list">
|
|
|
|
|
<ul class="unstyled">
|
|
|
|
|
<li><a href="">青海三江源区2012年度土地利用数据集</a></li>
|
|
|
|
|
<li><a href="">青海三江源区重点生态工程区域草地监测数据集(2013年)</a></li>
|
|
|
|
|
<li><a href="">青海三江源重点区域草地生态监测数据集</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省环境监测中心站</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style=" background-position:top left;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省草原总站</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style=" background-position:0px -102px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省气象科学研究所</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style=" background-position:0px -200px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省林业调查规划院</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style="background-position:0px -500px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省水文水资源局</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style="background-position:0px -300px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
2013-03-19 09:16:41 +00:00
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span4 data-unit">
|
|
|
|
|
<div class="well well-small">
|
|
|
|
|
<h4>青海省水土保持局</h4>
|
2013-10-16 06:24:39 +00:00
|
|
|
|
<div class="data-block" style="background-position:0px -400px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
2013-10-15 09:38:52 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|