43 lines
1.7 KiB
PHTML
43 lines
1.7 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('知识积累');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/knowledge">知识积累</a>');
|
|
$this->breadcrumb('数据中心');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="span3">
|
|
<?= $this->partial('knowledge/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span9">
|
|
<div id="content">
|
|
<h2>数据中心文献库</h2>
|
|
<div>
|
|
<?php if (count($this->paginator)): ?>
|
|
<ol start="<?php echo ($this->paginator->getCurrentPageNumber() - 1) * $this->paginator->getItemCountPerPage()+1; ?>">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<li> <?php
|
|
if ($item['reftype']==1) echo '<span class="label label-info">数据中心施引文献</span>';
|
|
echo $item['reference'];
|
|
echo ' <a href="/knowledge/paper/id/'.$item['id'].'"><i class="icon-info-sign text-success"></i>查看</a>';
|
|
if (!empty($item['link'])) :
|
|
echo ' <a href="'.$item['link'].'">下载</a>';
|
|
else :
|
|
if (!empty($item['attid'])) echo ' <a href="/service/attach/id/'.$item['attid'].'"><i class="icon-download text-success"></i>下载</a>';
|
|
endif;
|
|
?>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ol>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript" >
|
|
$('#Nav-knowledge-datacenter').addClass('active');
|
|
</script>
|