westdc-zf1/application/admin/views/scripts/review/experts.phtml

64 lines
2.7 KiB
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台首页</a>');
$this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
?>
<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 class="active"><a href="/admin/review/experts">专家列表</a></li>
<li><a href="/admin/review/experts/add/1">添加评审专家</a></li>
</ul>
</div>
<div class="input-group form-group">
<form action="" method="get" class="input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字" />
<input type="hidden" name="search" value='1' class="form-control" />
<span class="input-group-btn"><button class="btn btn-default" type="submit" id="search_btn">搜索</button></span>
</form>
</div><!-- search DIV -->
<table class="stylized table table-bordered table-striped table-hover">
<thead><tr>
<td width='150'>姓名</td>
<td width='350'>特长</td>
<td width='150'>操作</td>
</tr></thead>
<?php if (count($this->paginator)): ?>
<tbody id="list">
<?php foreach ($this->paginator as $item): ?>
<tr>
<td><a href='/admin/user/show/id/<?= $item['id'];?>'><span class="glyphicon glyphicon-user"></span> <?= $item['realname']?></a></td>
<td><?php echo $item['speciality']; ?></td>
<td>
<a href='/admin/review/experts/edit/<?php echo $item['mid'];?>'>更改</a>
<a href="/admin/review/comments/ac/list/userid/<?php echo $item['mid'];?>">查看评审记录</a>
<a href='/admin/review/experts/del/<?php echo $item['mid'];?>' 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>