2011-09-30 03:25:37 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
2011-11-30 07:15:48 +00:00
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
2011-09-30 03:25:37 +00:00
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
|
|
$this->breadcrumb('元数据评审');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<div id="leftPanel">
|
|
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
|
|
</div>
|
2011-10-12 14:27:02 +00:00
|
|
|
<div id="rightPanel">
|
2011-09-30 03:25:37 +00:00
|
|
|
<?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; ?>
|
|
|
|
<div class="search">
|
|
|
|
<form action="" method="get">
|
|
|
|
<input type="hidden" name="search" value='1' />
|
2011-10-20 02:06:24 +00:00
|
|
|
<label>搜索关键字</label><input type="text" class="q" name="keyword" value="<?php echo $this->keyword; ?>" />
|
|
|
|
<input type="submit" class="btn" value="搜索" />
|
2011-09-30 03:25:37 +00:00
|
|
|
</form>
|
|
|
|
</div><!-- search DIV -->
|
|
|
|
|
2011-10-20 02:06:24 +00:00
|
|
|
<table class="stylized"><thead>
|
2011-10-12 14:27:02 +00:00
|
|
|
<tr>
|
2011-09-30 03:25:37 +00:00
|
|
|
<td width='500'>元数据标题</td>
|
2011-10-20 02:06:24 +00:00
|
|
|
<td width='80'>状态</td>
|
2012-05-14 15:06:32 +00:00
|
|
|
<td>操作</td>
|
2011-10-12 14:27:02 +00:00
|
|
|
</tr></thead>
|
2011-09-30 03:25:37 +00:00
|
|
|
<?php if (count($this->paginator)): ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
<tbody id="list">
|
2011-09-30 03:25:37 +00:00
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
<tr>
|
2011-09-30 03:25:37 +00:00
|
|
|
<td><?= $item['title']?></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>
|
2011-10-20 02:06:24 +00:00
|
|
|
<td>
|
|
|
|
<a href="/admin/review/invite/id/<?php echo $item['id'];?>">邀请专家</a>
|
2011-10-28 02:01:47 +00:00
|
|
|
<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>
|
2012-11-29 08:02:10 +00:00
|
|
|
<a href="/admin/review/reply/uuid/<?php echo $item['uuid'];?>">意见反馈</a>
|
2011-10-28 02:01:47 +00:00
|
|
|
<a href='/admin/review/accept/cancel/<?php echo $item['id'];?>' onclick="return confirm('是否确定取消评审')">取消评审</a>
|
2011-11-30 07:06:31 +00:00
|
|
|
<a href="/admin/review/checkmail/id/<?php echo $item['id'];?>" style="color:#6C0">发布</a>
|
2011-10-28 02:01:47 +00:00
|
|
|
<a href="/admin/review/delete/id/<?php echo $item['id'];?>" style="color:#F00" onclick="return confirm('是否确定删除?该操作不可逆')">删除</a>
|
2011-09-30 03:25:37 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
2011-10-20 02:06:24 +00:00
|
|
|
</tbody>
|
2011-09-30 03:25:37 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
2011-10-12 14:27:02 +00:00
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
2011-10-20 02:06:24 +00:00
|
|
|
</div>
|
2011-11-30 07:15:48 +00:00
|
|
|
<script>$("#list tr").mouseover(function(){$(this).addClass("high")}).mouseout(function(){$(this).removeClass("high")});</script>
|