116 lines
5.8 KiB
PHTML
Executable File
116 lines
5.8 KiB
PHTML
Executable File
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle($this->config->title->data);
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->breadcrumb('<a href="/">首页</a>');
|
||
$this->breadcrumb($this->config->title->data);
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
$this->headScript()->appendFile('/static/js/jqgalscroll.js');
|
||
$this->headLink()->appendStylesheet('/static/css/jqGalScroll.css');
|
||
?>
|
||
<div id="metadata" class="full clear">
|
||
<div class="width2 fleft">
|
||
<div class="tbox">
|
||
<div class="title corners-top">数据导航</div>
|
||
<div class="content" >
|
||
<div id="datanav">
|
||
<div id='category' class="fieldlist">
|
||
<div class="subject"><a href="/data/category">数据集类别</a></div>
|
||
<ul>
|
||
<?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>
|
||
</div>
|
||
<?php if ($this->serie) : ?>
|
||
<div id='series' class="fieldlist">
|
||
<div class="subject"><a href="/data/series">数据集序列</a></div>
|
||
<ul>
|
||
<?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>
|
||
</div>
|
||
<?php endif; ?>
|
||
<?php
|
||
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
||
foreach($this->keywords as $type=>$kcg) :
|
||
if (is_array($kcg) && count($kcg)>0 ) :
|
||
?>
|
||
<div id='keyword' class="fieldlist">
|
||
<div class="subject"><a href="/data/tag/"><?php echo $keytypezh[$type]; ?></a></div>
|
||
<ul>
|
||
<?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>
|
||
</div>
|
||
<?php endif;endforeach; ?>
|
||
</div>
|
||
</div>
|
||
</div><!-- 数据导航 -->
|
||
<div class="tbox width4 mt12 fleft">
|
||
<div class="title corners-top">数据导航</div>
|
||
<div class="content">
|
||
<div id="search_types">
|
||
<ul>
|
||
<li><a href="/data/category">分类浏览</a></li>
|
||
<li><a href="/data/tag">关键词导航</a></li>
|
||
<li><a href="/data/series">数据集序列</a></li>
|
||
<li><a href="/data/timeline">时间轴导航</a></li>
|
||
<li><a href="/data/map">空间导航</a></li>
|
||
<li><a href="/data/timemap">时空导航</a></li>
|
||
</ul>
|
||
<div id="search_box">
|
||
<form id="search" enctype="application/x-www-form-urlencoded" action="/data/search" method="post">
|
||
<p><input type="text" name="q" value="" class="keywords" /></p>
|
||
<p><button type="submit" class="btn" onclick="">站内搜索</button></p>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="tbox width4 mt12 fright">
|
||
<div class="title corners-top">分类浏览</div>
|
||
<div class="content">
|
||
<ul>
|
||
<li><a href="/data/thumb">数据缩略图浏览</a></li>
|
||
<li><a href="/data/browse">数据列表浏览</a></li>
|
||
<li><a href="/data/onlinelist">在线数据清单</a></li>
|
||
<li><a href="/data/offlinelist">离线数据清单</a></li>
|
||
<li><a href="/data/organisation">分单位浏览</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div><!-- left -->
|
||
<div class="width3 fright">
|
||
<div class="tbox">
|
||
<div class="title corners-top">数据最近更新</div>
|
||
<div class="content">
|
||
<ul>
|
||
<?php foreach($this->metadata as $md) : ?>
|
||
<li><img src="/static/images/icon.png" /> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a> </li>
|
||
<?php endforeach; ?>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="tbox mt12">
|
||
<div class="title corners-top">数据服务</div>
|
||
<div class="content">
|
||
<h3><a href="/data/service">用户服务</a></h3>
|
||
<p class="description">
|
||
了解数据服务内容、方式及政策</p>
|
||
<ul>
|
||
<li>- <a href="/data/offlineapp">离线数据服务记录(最近20个)</a></li>
|
||
<li>- <a href="/data/request">如何申请数据</a></li>
|
||
<li>- <a href="/data/submit">如何发布数据</a></li>
|
||
</ul>
|
||
<h3><a href="/data/visual">数据可视化示例</a></h3>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div><!-- right -->
|
||
</div>
|