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

141 lines
6.8 KiB
PHTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle()->setSeparator(' - ');
?>
<style>
.fieldlist ul li{line-height:24px;padding:5px;}
.fieldlist ul li:hover{color:#FFF;background:#0088CC;border-radius: 6px 6px 6px 6px;}
.fieldlist ul li:hover a{color:#FFF; text-decoration:none;}
.news_list ul li{line-height:24px;}
</style>
<div class="row">
<div class="span6">
<h4><img src="/images/dbs.png" align="absmiddle" />数据导航</h4>
<div>
<form method="get" action="/search" id="search" class="form-search">
<div class="input-append">
<input type="text" value="" id="q" name="q" class="span2 search-query">
<button type="submit" class="btn">搜索</button>
</div>
<a href="/data/advancesearch">高级搜索</a>
</form>
</div>
<div>
<a href="/heihe/">黑河计划数据管理中心</a> <a href="/water">黑河综合遥感联合试验</a>
</div>
<div class="fieldlist">
<fieldset><legend><a href="/data/category">数据集类别</a></legend>
<ul class="unstyled inline">
<?php foreach($this->category as $cg) : ?>
<li><a href='/data/category/code/<?php echo $cg['code']; ?>'><?php (empty($cg['name_zh']))?print($cg['name']):print($cg['name_zh']); ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
<div class="fieldlist">
<?php if ($this->serie) : ?>
<div id='series' class="fieldlist">
<fieldset><legend><a href="/data/series">数据集序列</a></legend>
<ul class="unstyled inline">
<?php foreach($this->serie as $cg) : ?>
<li><a href='/data/series/<?php echo $cg['id']; ?>'><?php echo $cg['name']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
</ul></fieldset>
</div>
<?php endif; ?>
</div>
<div class="fieldlist">
<?php
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
foreach($this->keywords as $type=>$kcg) :
if (is_array($kcg) && count($kcg)>0 ) :
?>
<fieldset><legend><a href="/data/tag/"><?php echo $keytypezh[$type]; ?></a></legend>
<ul class="unstyled inline">
<?php foreach($kcg as $cg) : ?>
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
<?php endforeach; ?>
<li class="more"><a href='/data/tag/'>...更多>>></a></li>
</ul>
</fieldset>
<?php endif;endforeach; ?>
<h5>其它浏览方式</h5>
<hr />
<ul class="unstyled inline">
<li><a href="/data/thumb">缩略图浏览</a></li>
<li><a href="/data/timeline">时间轴浏览</a></li>
<li><a href="/data/map">空间浏览</a></li>
<li><a href="/data/timemap">时空浏览</a></li>
<li><a href="/data/browse">数据列表浏览</a></li>
<li><a href="/data/onlinelist">在线数据清单</a></li>
<li><a href="/data/offlinelist">离线数据清单</a></li>
</ul>
</div>
</div><!-- /left -->
<div class="span6">
<div class="news_list">
<h4><img src="/images/dbs.png" align="absmiddle" />数据最近更新<a href="/data/feed" target="_blank"><img src="images/rss.png"></a></h4>
<hr />
<ul class="unstyled">
<?php foreach($this->metadata as $md) : ?>
<li><img src="/images/westdc_20w.gif" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
<?php endforeach; ?>
<li class="more"><a href="/data/browse" class="pull-right">更多</a></li>
</ul>
</div>
<div>
<h4><img src="/images/Project24x24_24-bit.png" align="absmiddle" />&nbsp;数据服务</h4>
<hr />
<div class="items">
<div class="item">
<h3> <a href="/data/newsletter">数据中心通讯</a></h3>
<p class="description">
数据中心不定期发布数据通讯,通告中心动态、最新数据和数据工具</p>
<ul class="unstyled">
<li>-&nbsp;&nbsp;&nbsp;<a href='/images/newsletter/<?php echo $this->newsletter; ?>' target="_blank"><?php echo $this->newsletterno; ?>期数据通讯</a>(pdf格式)</li>
<li>
<?php
echo $this->form;
if (!empty($this->messages)) : ?>
<span id="message">
<?php
foreach ($this->messages as $info)echo $info;
?>
</span>
<?php endif; ?>
</li>
</ul>
</div>
<div class="item">
<h3><a href="/data/service">用户服务</a></h3>
<p class="description">
了解"西部数据中心"数据服务内容、方式及政策</p>
<ul class="unstyled">
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/offlineapp">离线数据服务记录最近20个</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/request">如何从西部数据中心申请数据</a></li>
<li>-&nbsp;&nbsp;&nbsp;<a href="/data/submit">如何在西部数据中心发布数据</a></li>
</ul>
</div>
<div class="item">
<h3><a href="/knowledge">文献服务</a></h3>
<p class="description">
数据中心依托中科院资环信息中心提供西部环境与生态文献和文档服务</p>
</div>
<!--<div class="item">
<h3><a href="/data/ogcwxs">在线地图服务</a></h3>
<p class="description">提供OGC WMS、WFS等在线地图服务</p>-->
</div>
<div class="item">
<h3><a href="/about/contact">联系我们</a></h3>
</div>
</div>
</div><!-- /right -->
</div>