59 lines
2.6 KiB
PHTML
59 lines
2.6 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('元数据评审');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<style>
|
|
table thead tr th {background:#EBF2F6;color:#444;}
|
|
.high{background:#444;color:#FFF;}
|
|
</style>
|
|
<div class="row-fluid">
|
|
<div class="span3"><?= $this->partial('review/left.phtml'); ?></div>
|
|
<div class="span9">
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
<div id="message">
|
|
<?php if ($this->msg) : ?>
|
|
<p><?php echo $this->msg; ?></p>
|
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
|
<p><?php echo $msg; ?></p>
|
|
<?php endforeach;endif; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<form action="" method="get" class="search input-append">
|
|
<input type="hidden" name="search" value='1' />
|
|
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
|
|
<input type="text" name="keyword" class="q" value="<?php echo $this->keyword; ?>" />
|
|
<button type="submit" class="btn">搜索</button>
|
|
</form>
|
|
<form action="" method="post">
|
|
<table class="table table-bordered table-hover"><thead>
|
|
<tr>
|
|
<th width='40'>选择</th>
|
|
<th width='600'>标题</th>
|
|
<th width='120'>时间</th>
|
|
<th width="180">操作</th>
|
|
</tr></thead>
|
|
<?php if (count($this->paginator)): ?>
|
|
<tbody id="list">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<tr>
|
|
<td><input type="checkbox" name="update[]" value="<?php echo $item['id']; ?>"/></td>
|
|
<td><?php echo $item['title']; ?>【<a href="/service/geonetwork?url=metadata.show?id=<?php echo $item['gnid'];?>">GeoNetwork查看</a>】</td>
|
|
<td><?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?></td>
|
|
<td><a href="/admin/review/draft/update/<?php echo $item['id']; ?>">接收</a> |
|
|
<a href="/admin/review/accept/cancel/<?php echo $item['id']; ?>">取消评审</a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
<?php endif; ?>
|
|
</table>
|
|
<input type="submit" class="btn btn-primary" value="接收已选择的元数据" />
|
|
</form>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|