update tag
This commit is contained in:
parent
9e81d2a295
commit
994442b3c1
|
@ -5,8 +5,8 @@ if (!empty($this->codename)) $this->headTitle($this->codename);
|
|||
$this->headTitle()->setSeparator(' - ');
|
||||
$this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css');
|
||||
$this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css');
|
||||
$this->nav[] = array('link'=>"/data/tag",'title'=>'关键词浏览');
|
||||
$this->theme->AppendPlus($this,'colorbox');
|
||||
$this->nav[] = array('link' => "/data/tag", 'title' => '关键词浏览');
|
||||
$this->theme->AppendPlus($this, 'colorbox');
|
||||
?>
|
||||
<!--当前位置-->
|
||||
<div class="breadcrumb-wrapper">
|
||||
|
@ -31,26 +31,33 @@ $this->theme->AppendPlus($this,'colorbox');
|
|||
<a href="/data/onlinelist">在线数浏览</a>
|
||||
<a href="/data/offlinelist">离线浏览</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="col-lg-12">
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='metacontent'>
|
||||
|
||||
<?php if (!empty($this->metadata)) : ?>
|
||||
<div id='metacontent'>
|
||||
<h1>当前浏览:<?php echo $this->codename; ?></h1>
|
||||
<hr />
|
||||
<hr/>
|
||||
<div class="col-md-3" style="padding-left: 0;">
|
||||
<ul class="newUlList">
|
||||
<?php foreach ($this->paginator as $md) : ?>
|
||||
<li>
|
||||
<div class="newsImgBox">
|
||||
<a href="/data/<?php echo $md['uuid'];?>">
|
||||
<a href="/data/<?php echo $md['uuid']; ?>">
|
||||
<img src="/service/thumb/id/<?php echo $md['id']; ?>">
|
||||
</a>
|
||||
</div>
|
||||
<div class="newRight">
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="main inner-left col-md-9" style="padding-right:0 ;">
|
||||
<ul class="newUlList">
|
||||
<?php foreach ($this->paginator as $md) : ?>
|
||||
<li>
|
||||
<div class="">
|
||||
<div class="newTopTitle">
|
||||
<span><a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']);?></a></span>
|
||||
<span><a href="/data/<?php echo $md['uuid']; ?>"><?php echo $this->escape($md['title']); ?></a></span>
|
||||
<i><?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></i>
|
||||
</div>
|
||||
<p>
|
||||
|
@ -61,39 +68,45 @@ $this->theme->AppendPlus($this,'colorbox');
|
|||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="page">
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="page">
|
||||
<div class="pagenavi"><?= $this->paginator; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div id='leftnav'>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div id='leftnav'>
|
||||
<?php
|
||||
$keytypezh=array('place'=>'地点关键词','theme'=>'主题关键词','discipline'=>'学科关键词','stratum'=>'地层关键词','temporal'=>'时间关键词');
|
||||
$type='';
|
||||
foreach($this->keywords as $cg) :
|
||||
if ($type!=$cg['keytype']) :
|
||||
if ($type!='') : ?>
|
||||
</ul></fieldset>
|
||||
<?php endif;
|
||||
$type=$cg['keytype'];
|
||||
?>
|
||||
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend>
|
||||
<ul class="list-inline">
|
||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||
<?php else : ?>
|
||||
<li><a href='/data/tag/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
$keytypezh = array('place' => '地点关键词', 'theme' => '主题关键词', 'discipline' => '学科关键词', 'stratum' => '地层关键词', 'temporal' => '时间关键词');
|
||||
$type = '';
|
||||
foreach ($this->keywords as $cg) :
|
||||
if ($type != $cg['keytype']) :
|
||||
if ($type != '') : ?>
|
||||
</ul></fieldset>
|
||||
<?php endif;
|
||||
$type = $cg['keytype'];
|
||||
?>
|
||||
<fieldset>
|
||||
<legend><?php echo $keytypezh[$type]; ?></legend>
|
||||
<ul class="list-inline">
|
||||
<li>
|
||||
<a href='/data/tag/key/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span
|
||||
class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||
<?php else : ?>
|
||||
<li>
|
||||
<a href='/data/tag/key/<?php echo urlencode($cg['keyword']); ?>'><?php echo $cg['keyword']; ?></a><span
|
||||
class="note">(<?php echo $cg['count']; ?>)</span></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="col-md-10">
|
||||
<ul class="col-md-4">
|
||||
<li class="first">联系我们</li>
|
||||
<li>地址:中国科学院寒区环境与工程研究院 6#1102</li>
|
||||
<li>单位:中国科学院西北生态环境资源研究院</li>
|
||||
<li>电话:0931-4967287</li>
|
||||
<li>Email:westdc@lzb.ac.cn</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue