2012-03-09 09:03:50 +00:00
|
|
|
|
<?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(' > ');
|
|
|
|
|
?>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span3">
|
|
|
|
|
<?= $this->partial('author/navi.phtml'); ?>
|
2012-03-09 09:03:50 +00:00
|
|
|
|
</div>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
<div class="span9">
|
|
|
|
|
<div>
|
|
|
|
|
<ul class="nav nav-pills">
|
2013-03-28 07:12:10 +00:00
|
|
|
|
<li class="active"><a href="/author/inauthor/ac/online">在线下载记录</a></li>
|
|
|
|
|
<li><a href="/author/inauthor/ac/offline">离线申请记录</a></li>
|
|
|
|
|
<li><a href="/author/inauthor/ac/datalist">按数据查看</a></li>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<p>请输入元数据标题关键字进行搜索</p>
|
2013-04-11 02:56:21 +00:00
|
|
|
|
<div class="input-append">
|
2013-03-27 09:06:23 +00:00
|
|
|
|
<form id="datasearch" class="search_form" action="/author/inauthor/ac/searchonline">
|
|
|
|
|
<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>
|
2013-04-11 02:56:21 +00:00
|
|
|
|
</div>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
<div>
|
2012-03-09 09:03:50 +00:00
|
|
|
|
<?php
|
|
|
|
|
if (count($this->paginator)):
|
2013-03-27 09:06:23 +00:00
|
|
|
|
echo '<ul class="unstyled">';
|
2012-03-09 09:03:50 +00:00
|
|
|
|
$autoindex=0;
|
|
|
|
|
foreach ($this->paginator as $item):
|
|
|
|
|
$autoindex++;?>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
<li class="well">
|
|
|
|
|
<h4><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a></h4>
|
2012-03-09 09:03:50 +00:00
|
|
|
|
<p>用户:<?php echo $item['username'];?>
|
|
|
|
|
单位:<?php echo $item['unit'];?>
|
|
|
|
|
申请时间:<?php echo date("Y-m-d H:i:s",strtotime($item['ts_created']));?></p>
|
|
|
|
|
<p>项目:<?php echo $item['project'];?></p>
|
|
|
|
|
<p><span id="data_<?php echo $item['uuid'];?>"></span></p>
|
|
|
|
|
</li>
|
|
|
|
|
<?php endforeach;
|
|
|
|
|
echo "</ul>";
|
|
|
|
|
endif; ?>
|
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
|
</div>
|
2013-03-27 09:06:23 +00:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|