westdc-zf1/application/default/views/scripts/author/literature-byliter.phtml

51 lines
2.1 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->author);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/author.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/author">数据作者</a>');
$this->breadcrumb('数据文献管理');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="span3">
<?= $this->partial('author/navi.phtml'); ?>
</div>
<div class="span9">
<div>
<ul class="nav nav-pills">
<li class=""><a class="text-shadow" href="/author/literature/">所有文献概况</a></li>
<li class="active"><a class="text-shadow" href="/author/literature/ac/byliter">逐文献浏览</a></li>
<li class=""><a class="text-shadow" href="/author/literature/ac/bydata">逐数据浏览</a></li>
</ul>
</div>
<p>请输入元数据或文献标题关键字进行搜索</p>
<div class="input-append">
<form id="datasearch" class="search_form" action="/author/literature/ac/bydata">
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
<button type="submit" class="btn" id="search_btn">搜索</button>
</form>
</div>
<div>
<?php
if (count($this->paginator)):
echo '<ul class="unstyled">';
$autoindex=0;
foreach ($this->paginator as $item):
$autoindex++;?>
<li class="well">
<h4><a href="/author/literature/id/<?php echo $item['id'];?>"><?php echo $item['reference'];?></a></h4>
<p>共有<?php echo $item['c'];?>条数据使用此文献。
<a href="/author/literature/id/<?php echo $item['id'];?>">查看详细</a></p>
</li>
<?php endforeach;
echo "</ul>";
endif; ?>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
</div>