208 lines
11 KiB
PHTML
Executable File
208 lines
11 KiB
PHTML
Executable File
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('首页');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$auth = Zend_Auth::getInstance();
|
|
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
|
|
//$this->headLink()->appendStylesheet('/static-sanji-v2/css/number.css');
|
|
?>
|
|
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
|
<div class="container">
|
|
<ol class="carousel-indicators">
|
|
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
|
|
<li data-target="#carousel-example-generic" data-slide-to="1" class=""></li>
|
|
<li data-target="#carousel-example-generic" data-slide-to="2" class=""></li>
|
|
</ol>
|
|
<div class="banner-inner carousel-inner" role="listbox">
|
|
<div class="item active">
|
|
<img src="/static-sanjy-np/img/banner01.jpg"/>
|
|
</div>
|
|
<div class="item">
|
|
<img src="/static-sanjy-np/img/banner02.jpg"/>
|
|
</div>
|
|
<div class="item">
|
|
<img src="/static-sanjy-np/img/banner03.jpg"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--最新数据-->
|
|
<div class="newData">
|
|
<div class="container" style="position: relative;">
|
|
<h6 class="title title1">最新数据</h6>
|
|
<a href="/data" class="more">查看更多>></a>
|
|
<div class="row">
|
|
<?php foreach ($this->offlinemdtop as $i => $md) : ?>
|
|
<div class="col-md-3 col-sm-6 col-xs-6 iw4-item">
|
|
<div class="team-wrap text-center">
|
|
<div class="team-img">
|
|
<a href="/data/<?php echo $md->uuid; ?>"><img class="img-responsive"
|
|
src="/service/thumb/id/<?php echo $md->id; ?>"></a>
|
|
<div class="team-social">
|
|
<a href="/data/<?php echo $md->uuid; ?>"><i class="fa fa-eye"></i></a>
|
|
</div>
|
|
</div>
|
|
<div class="team-content">
|
|
<a href="/data/<?php echo $md->uuid; ?>"><span class="designation"><?php echo $md->title; ?></span></a>
|
|
<p class="desc"><?php echo $md->description; ?></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--三江源地图-->
|
|
<div class="myMap">
|
|
<div class="container-fluid" id="mapContainer">
|
|
<h6 class="title title1">三江源地图</h6>
|
|
<div id="map" class="map" style="height: 550px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!--新闻动态-->
|
|
<div class="news">
|
|
<div class="container">
|
|
<h6 class="title title1">新闻动态</h6>
|
|
<dl class="i_news clearfix">
|
|
<dt class="col-md-4" style="padding-left: 0;">
|
|
<div class="slide carousel2" data-ride="carousel">
|
|
<div class="banner-inner carousel-inner">
|
|
<div class="item active">
|
|
<img src="<?= $this->list_news[0] && $this->list_news[0]['image'] && $this->list_news[0]['image'] != '' ? $this->list_news[0]['image'] : '/static-sanjy-np/img/banner01.jpg' ?>">
|
|
</div>
|
|
<div class="item">
|
|
<img src="<?= $this->list_news[1] && $this->list_news[1]['image'] && $this->list_news[1]['image'] != '' ? $this->list_news[1]['image'] : '/static-sanjy-np/img/banner02.jpg' ?>"/>
|
|
</div>
|
|
<div class="item">
|
|
<img src="<?= $this->list_news[2] && $this->list_news[2]['image'] && $this->list_news[2]['image'] != '' ? $this->list_news[2]['image'] : '/static-sanjy-np/img/banner03.jpg' ?>"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</dt>
|
|
<dd class="col-md-8" style="padding-right: 0;">
|
|
<div class="news-wrap active">
|
|
<ul class="news-list row">
|
|
<li class="news-list-item col-sm-12">
|
|
<div class="news-item-time"><span class="news-item-day"><?= date('d',strtotime($this->list_news[0]['ts_published'])) ?></span><br>
|
|
<span class="news-item-month"><?= date('Y-m',strtotime($this->list_news[0]['ts_published'])) ?></span></div>
|
|
<div class="news-item-text">
|
|
<a class="news-item-title customize-unpreviewable"
|
|
href="<?= $this->list_news[0]['url'] ?>"><?= $this->list_news[0]['title'] ?></a>
|
|
<div class="news-item-content">
|
|
<?= $this->list_news[0]['description'] ?>。
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="news-list-item col-sm-12">
|
|
<div class="news-item-time"><span class="news-item-day"><?= date('d',strtotime($this->list_news[1]['ts_published'])) ?></span><br>
|
|
<span class="news-item-month"><?= date('Y-m',strtotime($this->list_news[1]['ts_published'])) ?></span></div>
|
|
<div class="news-item-text">
|
|
<a class="news-item-title customize-unpreviewable"
|
|
href="<?= $this->list_news[1]['url'] ?>"><?= $this->list_news[1]['title'] ?></a>
|
|
<div class="news-item-content"><?= $this->list_news[1]['description'] ?></div>
|
|
</div>
|
|
</li>
|
|
<li class="news-list-item col-sm-12">
|
|
<div class="news-item-time"><span class="news-item-day"><?= date('d',strtotime($this->list_news[2]['ts_published'])) ?></span><br>
|
|
<span class="news-item-month"><?= date('Y-m',strtotime($this->list_news[2]['ts_published'])) ?></span></div>
|
|
<div class="news-item-text">
|
|
<p>
|
|
<a class="news-item-title customize-unpreviewable"
|
|
href="<?= $this->list_news[2]['url'] ?>"><?= $this->list_news[2]['title'] ?></a>
|
|
</p>
|
|
<div class="news-item-content"><?= $this->list_news[2]['description'] ?></div>
|
|
</div>
|
|
</li>
|
|
<li class="news-list-item col-sm-12">
|
|
<div class="news-item-time"><span class="news-item-day"><?= date('d',strtotime($this->list_news[3]['ts_published'])) ?></span><br>
|
|
<span class="news-item-month"><?= date('Y-m',strtotime($this->list_news[3]['ts_published'])) ?></span></div>
|
|
<div class="news-item-text">
|
|
<p>
|
|
<a class="news-item-title customize-unpreviewable" href="<?= $this->list_news[3]['url'] ?>"><?= $this->list_news[3]['title'] ?></a>
|
|
</p>
|
|
<div class="news-item-content">
|
|
<?= $this->list_news[3]['description'] ?>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="news-list-item col-sm-12">
|
|
<div class="news-item-time"><span class="news-item-day"><?= date('d',strtotime($this->list_news[4]['ts_published'])) ?></span><br>
|
|
<span class="news-item-month"><?= date('Y-m',strtotime($this->list_news[4]['ts_published'])) ?></span></div>
|
|
<div class="news-item-text">
|
|
<p>
|
|
<a class="news-item-title customize-unpreviewable" href="<?= $this->list_news[4]['url'] ?>"><?= $this->list_news[4]['title'] ?></a>
|
|
</p>
|
|
<div class="news-item-content"><?= $this->list_news[4]['description'] ?></div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
<!--统计-->
|
|
<div class="analysis" style="height: 500px;">
|
|
<div class="container">
|
|
<h6 class="title title1">统计图表</h6>
|
|
<div class="col-md-7" id="zhuzhuang" style="height: 400px;padding-left: 0;">
|
|
</div>
|
|
<div class="col-md-5 " id="bingtu" style="height: 400px;padding-right: 0;">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!--合作客户-->
|
|
<div class="cooperator">
|
|
<div class="container">
|
|
<h6 class="title title1">合作客户</h6>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div id="myCarouse2" class="carousel carouse2 slide pad_010 b_k" data-ride="carousel"
|
|
style="background: none;">
|
|
<div class="carousel-inner bor_btm">
|
|
<div class="item active">
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/1.jpg"/>中国科学院西北高原生物研究所</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/033.jpg"/>中国科学院光电研究院</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/1.jpg"/>青海省生态环境遥感监测中心</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/2.jpg"/>中科院寒区旱区环境与工程研究所</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/3.jpg"/>中国科学院地理科学与资源研究所</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/2.jpg"/>国科光电科技责任有限公司</a>
|
|
</div>
|
|
<div class="col-md-4 pic">
|
|
<a href="javascript:;"><img src="/static-sanjy-np/img/banner01.jpg"/>中交星宇科技有限公司</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/static-sanjy-np/js/echarts.min.js"></script>
|
|
<script src="/static-sanjy-np/js/mychart.js"></script>
|
|
<script src="/static-sanjy-np/js/map-index.js"></script>
|
|
<script type="text/javascript">
|
|
/*新闻轮播图时间控制*/
|
|
$('.carousel2').carousel({
|
|
interval: 1500
|
|
})
|
|
</script>
|