westdc-zf1/application/default/views/scripts/knowledge/datacenter.phtml

45 lines
1.8 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('Published 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">
<span class="pull-right"><a class="btn btn-mini btn-warning" href="http://westdc.westgis.ac.cn/knowledge/datacenter">More in Chinese >></a></span>
<h2>Published 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
if ($item['reftype']==1) echo '<span class="label label-warning">Cited</span>';
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>