68 lines
3.4 KiB
PHTML
68 lines
3.4 KiB
PHTML
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
|
$this->breadcrumb('元数据评审');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
</div>
|
|
<div class="col-md-10 col-sm-12">
|
|
<?php if ($this->msg or $this->messages) :?>
|
|
<div id="message" class="alert alert-info">
|
|
<?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="form-group">
|
|
<ul class="nav nav-tabs">
|
|
<li><a href="/admin/review/comments/">按评审数据查看</a></li>
|
|
<li><a href="/admin/review/comments/ac/listbyuser">按评审用户查看</a></li>
|
|
<li class="active"><a href="/admin/review/comments/ac/list">直接查看评审意见列表</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="input-group form-group">
|
|
<form action="" method="get" class="search_form input-group">
|
|
<input type="text" name="q" value="<?php echo $this->q; ?>" class="form-control" placeholder="搜索关键字"/>
|
|
<input type="hidden" name="search" value='1'/>
|
|
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
|
|
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
|
|
</form>
|
|
</div><!-- search DIV -->
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
<thead>
|
|
<tr>
|
|
<td width='600'>标题</td>
|
|
<td width='80'>评审人</td>
|
|
<td width='80'>操作</td>
|
|
</tr>
|
|
</thead>
|
|
<?php if (count($this->paginator)): ?>
|
|
<tbody id="list">
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<tr>
|
|
<td>
|
|
<p><a href="/data/<?php echo $item['uuid'];?>"><?php echo $item['title']; ?></a></p>
|
|
评审时间: <?php echo date("Y-m-d H:i",strtotime($item['ts_created'])); ?> 是否为受邀专家:
|
|
<?php if($item['is_expert']==false) echo "<span class='text-danger'>否</span>" ;else echo "<span class='text-success'>是</span>";?>
|
|
<?php if(time()-strtotime($item['ts_created'])<1800) {echo '<strong class="text-warning">New!</strong>';} ?>
|
|
</td>
|
|
<td><?php echo $item['realname'];?></td>
|
|
<td><a href="/admin/review/comments/ac/view/id/<?php echo $item['id']?>">查看详细</a></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
<?php endif; ?>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|