70 lines
2.2 KiB
PHTML
70 lines
2.2 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 id="divContent">
|
|
<div id="leftPanel">
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
</div>
|
|
|
|
|
|
<?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 id="rightPanel">
|
|
|
|
<div class="right_title">评审专家</div>
|
|
|
|
<div><a href="experts/add/1">添加评审专家</a></div>
|
|
|
|
<div class="search">
|
|
<form action="" method="get">
|
|
<input type="hidden" name="search" value='1' />
|
|
<ul>
|
|
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
|
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
|
</ul>
|
|
</form>
|
|
</div><!-- search DIV -->
|
|
|
|
<table>
|
|
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
|
|
<td width='150'>姓名</td>
|
|
<td width='350'>特长</td>
|
|
<td width='150'>操作</td>
|
|
</tr>
|
|
<?php if (count($this->paginator)): ?>
|
|
<?php $autoindex=0;?>
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<?php $autoindex++;?>
|
|
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
|
|
<td><img src="/images/user.gif" /><a href='/admin/user/show/id/<?= $item['id'];?>'><?= $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/experts/del/<?php echo $item['mid'];?>' onclick="return confirm('是否确定删除该评审专家')">删除</a>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
</table>
|
|
<div style="width:50%;text-align:left;">
|
|
<?= $this->paginator; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|