66 lines
3.1 KiB
PHTML
Executable File
66 lines
3.1 KiB
PHTML
Executable File
|
|
<div class="row">
|
|
<div class="span12" style=" border-bottom:1px dashed #E0E0E0">
|
|
<form method="get" action="/search" id="search" class="form-search">
|
|
<a class="btn" href="/data/browse"><i class="icon-align-justify"></i>数据列表浏览</a>
|
|
<a class="btn" href="/data/onlinelist"><i class="icon-th"></i>在线数据清单</a>
|
|
<a class="btn" href="/data/offlinelist"><i class="icon-th"></i>离线数据清单</a>
|
|
<li class="input-append">
|
|
<input type="text" value="" id="q" name="q" class="span2 search-query " placeholder="全文搜索">
|
|
<button type="submit" class="btn"><i class="icon-search"></i>搜索</button>
|
|
</li>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<?php $keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词'); ?>
|
|
<div class="row">
|
|
<?php
|
|
$type='theme';
|
|
?>
|
|
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
|
|
<h4><a href="/data/tag/keytype/theme"><img src="/sjyportal/img/keyword.png" width="16" height="16" /> <?php echo $keytypezh[$type]; ?></a></h4>
|
|
<ul class="nav nav-pills">
|
|
<?php foreach($this->keywords[$type] as $cg) : ?>
|
|
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<?php
|
|
$type='discipline';
|
|
?>
|
|
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
|
|
<h4><a href="/data/tag/keytype/discipline"><img src="/sjyportal/img/keyword.png" width="16" height="16" /> <?php echo $keytypezh[$type]; ?></a></h4>
|
|
<ul class="nav nav-pills">
|
|
<?php foreach($this->keywords[$type] as $cg) : ?>
|
|
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<?php
|
|
$type='place';
|
|
?>
|
|
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
|
|
<h4><a href="/data/tag/keytype/place"><img src="/sjyportal/img/keyword.png" width="16" height="16" /> <?php echo $keytypezh[$type]; ?></a></h4>
|
|
<ul class="nav nav-pills">
|
|
<?php foreach($this->keywords[$type] as $cg) : ?>
|
|
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<?php
|
|
$type='temporal';
|
|
?>
|
|
<div class="span12" style="border-bottom:1px dashed #E0E0E0">
|
|
<h4><a href="/data/tag/keytype/temporal"><img src="/sjyportal/img/keyword.png" width="16" height="16" /> <?php echo $keytypezh[$type]; ?></a></h4>
|
|
<ul class="nav nav-pills">
|
|
<?php foreach($this->keywords[$type] as $cg) : ?>
|
|
<li><a href='/data/tag/<?php echo $cg['keyword']; ?>'><?php echo $cg['keyword']."( ". $cg['count'].")"; ?></a></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|