76 lines
3.6 KiB
PHTML
76 lines
3.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="text" class="q" name="keyword" value="<?php echo $this->keyword; ?>" />
|
|
<button type="submit" class="btn">搜索</button>
|
|
</form>
|
|
|
|
<table class="table table-bordered table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th width='500'>元数据标题</th>
|
|
<th width='80'>状态</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<?php if (count($this->paginator)): ?>
|
|
<tbody id="list">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<tr>
|
|
<td><?= $item['title']?> [<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['mdid'] ?>" target="_blank">编辑</a>]</td>
|
|
<td><?php
|
|
if($item['status'] == 0) echo "初始";
|
|
if($item['status'] == -1) echo "取消审核";
|
|
if($item['status'] == 1) echo "进入评审";
|
|
if($item['status'] == 2) echo "邀请专家";
|
|
if($item['status'] == 3) echo "专家接受邀请";
|
|
if($item['status'] == 4) echo "专家反馈";
|
|
if($item['status'] == 5) echo "已发布";
|
|
?></td>
|
|
<td>
|
|
<a href="/admin/review/invite/id/<?php echo $item['id'];?>">邀请专家</a>
|
|
<a href="/admin/review/changeadmin/id/<?php echo $item['id'];?>">更改管理员</a>
|
|
<a href="/admin/review/inreview/show/<?php echo $item['id'];?>">查看详细</a>
|
|
<a href="/admin/review/comments/ac/list/uuid/<?php echo $item['uuid'];?>">查看评审意见</a>
|
|
<a href="/admin/review/reply/uuid/<?php echo $item['uuid'];?>">意见反馈</a>
|
|
<a href='/admin/review/accept/cancel/<?php echo $item['id'];?>' onclick="return confirm('是否确定取消评审')">取消评审</a>
|
|
<a href="/admin/review/checkmail/id/<?php echo $item['id'];?>" style="color:#6C0">发布</a>
|
|
<a href="/admin/review/delete/id/<?php echo $item['id'];?>" style="color:#F00" onclick="return confirm('是否确定删除?该操作不可逆')">删除</a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
<?php endif; ?>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
//$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")});
|
|
</script>
|