westdc-zf1/module/Application/view/application/index/index.phtml

92 lines
4.0 KiB
PHTML

<div class="row-fluid">
<div class="span4">
<div class="box">
<h4 class="box-title">新闻动态 </h4>
<ul>
<?php if(!empty($this->articles)) { ?>
<?php foreach($this->articles as $k=>$v){ ?>
<li>
<a href="<?= $this->url('news',array('category'=>$v['code'],'article'=>$v['id'])) ?>" title="<?= $v['title'] ?>">
<?= mb_strlen($v['title'],"UTF-8") > 27 ? mb_substr($v['title'],0,27,"UTF-8")."..." : $v['title'] ?>
</a>
</li>
<?php } ?>
<?php } ?>
<span class="pull-right" style="color:#000000; font-size:9px;">
<a href="/news/" class="more">更多>></a>
</span>
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span8">
<div class="box">
<h4 class="box-title">最新数据</h4>
<ul>
<?php foreach($this->metadata_latest as $k=>$v){ ?>
<li><small style=" padding-right:10px;">[<?= $v['ts_created'] ?>]</small><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>" target="_self"><?= $v['title'] ?></a></li>
<?php } ?>
<span class="pull-right" style="color:#000000; font-size:9px;">
<a href="/data/browse?order=ts_created&sort=desc" class="more">更多>></a>
</span>
</ul>
</div>
</div><!-- /.span8 -->
</div><!-- /.row-fluid -->
<!-- Three columns of text below the carousel -->
<div class="row-fluid">
<div class="span4">
<div class="box">
<h4 class="box-title">青海湖数据集</h4>
<ul>
<?php foreach($this->qinghaihu as $k=>$v){ ?>
<li><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>"target="_self"><i class="icon-hand-right"></i>&nbsp;<?= $v['title'] ?></a></li>
<?php } ?>
<span class="pull-right" style="color:#000000; font-size:9px;"><a href="/data/browse?source=青海湖" target="_self" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span4">
<div class="box">
<h4 class="box-title">热门数据集</h4>
<ul>
<?php foreach($this->metadata as $k=>$v){ ?>
<li><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>"target="_self"><i class="icon-hand-right"></i>&nbsp;<?= $v['title'] ?></a></li>
<?php } ?>
<span class="pull-right" style="color:#000000; font-size:9px;"><a href="/data/browse?order=viewedcount&order=desc" target="_self" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- /.span4 -->
<div class="span4">
<div class="box">
<h4 class="box-title">三江源数据集</h4>
<ul>
<?php foreach($this->sanjiangyuan as $k=>$v){ ?>
<li><a href="<?= $this->url('data/view',array('uuid'=>$v['uuid'])) ?>"target="_self"><i class="icon-hand-right"></i>&nbsp;<?= $v['title'] ?></a></li>
<?php } ?>
<span class="pull-right" style="color:#000000; font-size:9px;"><a href="/data/browse?source=三江源" target="_self" class="more">更多>></a></span>
</ul>
</div>
</div>
<!-- /.span4 -->
</div><!-- /.row-fluid -->
<div class="row-fluid">
<div class="span6">
<a href="http://223.220.175.138/eqa/"><i class="icon-leaf"></i>青海省国家重点生态功能区县域生态环境质量考核发布系统(试运行)</a></br>
<a href="http://223.220.175.138:8077/"><i class="icon-leaf"></i>青海三江源区生态监测站点信息管理系统(试运行,内部开放)</a>
</div><div class="span6">
<a href="http://deep.qherc.org/"><i class="icon-leaf"></i>青海湖流域环境与生态综合数据平台</a></br>
<a href="http://www.sanjiangyuan.org.cn"><i class="icon-leaf"></i>三江源生态监测综合数据平台</a>
</div>
</div>