43 lines
1.5 KiB
PHTML
43 lines
1.5 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('Knowledge');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/mdreview.css');
|
|
$this->breadcrumb('<a href="/">Home</a>');
|
|
$this->breadcrumb('<a href="/knowledge">Knowledge</a>');
|
|
$this->breadcrumb('Publicated by CARD');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
|
?>
|
|
<div class="row">
|
|
<div class="span3">
|
|
<?= $this->partial('knowledge/navi.phtml'); ?>
|
|
</div>
|
|
<div class="span9">
|
|
<div id="content">
|
|
<h2>Publicated by CARD</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
|
|
echo $item['reference'];
|
|
echo ' <a class="btn btn-mini btn-info" href="/knowledge/paper/id/'.$item['id'].'">View</a>';
|
|
if (!empty($item['attid'])) :
|
|
echo ' <a class="btn btn-mini btn-info" href="/service/attach/id/'.$item['attid'].'">Download</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>
|