update tag

This commit is contained in:
avene 2018-06-24 15:20:02 +08:00
parent 9e81d2a295
commit 994442b3c1
2 changed files with 55 additions and 42 deletions

View File

@ -31,15 +31,13 @@ $this->theme->AppendPlus($this,'colorbox');
<a href="/data/onlinelist">在线数浏览</a> <a href="/data/onlinelist">在线数浏览</a>
<a href="/data/offlinelist">离线浏览</a> <a href="/data/offlinelist">离线浏览</a>
</div> </div>
</div>
</div>
<div class="container">
<div class="col-lg-12">
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='metacontent'> <div id='metacontent'>
<h1>当前浏览:<?php echo $this->codename; ?></h1> <h1>当前浏览:<?php echo $this->codename; ?></h1>
<hr/> <hr/>
<div class="col-md-3" style="padding-left: 0;">
<ul class="newUlList"> <ul class="newUlList">
<?php foreach ($this->paginator as $md) : ?> <?php foreach ($this->paginator as $md) : ?>
<li> <li>
@ -48,7 +46,16 @@ $this->theme->AppendPlus($this,'colorbox');
<img src="/service/thumb/id/<?php echo $md['id']; ?>"> <img src="/service/thumb/id/<?php echo $md['id']; ?>">
</a> </a>
</div> </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"> <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> <i><?php echo date("Y-m-d", strtotime($md['ts_published'])); ?></i>
@ -61,7 +68,7 @@ $this->theme->AppendPlus($this,'colorbox');
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
</div>
</div> </div>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -84,11 +91,16 @@ $this->theme->AppendPlus($this,'colorbox');
<?php endif; <?php endif;
$type = $cg['keytype']; $type = $cg['keytype'];
?> ?>
<fieldset><legend><?php echo $keytypezh[$type]; ?></legend> <fieldset>
<legend><?php echo $keytypezh[$type]; ?></legend>
<ul class="list-inline"> <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> <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 : ?> <?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> <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 endif; ?>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
@ -97,3 +109,4 @@ $this->theme->AppendPlus($this,'colorbox');
<?php endif; ?> <?php endif; ?>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@
<div class="col-md-10"> <div class="col-md-10">
<ul class="col-md-4"> <ul class="col-md-4">
<li class="first">联系我们</li> <li class="first">联系我们</li>
<li>地址:中国科学院寒区环境与工程研究院 6#1102</li> <li>单位:中国科学院西北生态环境资源研究院</li>
<li>电话0931-4967287</li> <li>电话0931-4967287</li>
<li>Emailwestdc@lzb.ac.cn</li> <li>Emailwestdc@lzb.ac.cn</li>
</ul> </ul>