2011-10-12 09:50:04 +00:00
|
|
|
<?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(' > ');
|
|
|
|
?>
|
|
|
|
<div id="leftPanel">
|
|
|
|
<?= $this->partial('review/left.phtml'); ?>
|
|
|
|
</div>
|
2011-10-12 14:32:51 +00:00
|
|
|
<div id="rightPanel">
|
2011-10-12 09:50:04 +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; ?>
|
|
|
|
|
2011-10-12 14:32:51 +00:00
|
|
|
<table><thead>
|
|
|
|
<tr>
|
2011-10-12 09:50:04 +00:00
|
|
|
<td width='80'>用户ID</td>
|
|
|
|
<td width='100'>用户名</td>
|
|
|
|
<td width='100'>姓名</td>
|
|
|
|
<td width="250">单位</td>
|
|
|
|
<td width="100">联系电话</td>
|
|
|
|
<td width="100">电子邮箱</td>
|
|
|
|
<td width="100">操作</td>
|
2011-10-12 14:32:51 +00:00
|
|
|
</tr></thead>
|
2011-10-12 09:50:04 +00:00
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<?php $autoindex=0;?>
|
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
|
|
<?php $autoindex++;?>
|
2011-10-12 14:32:51 +00:00
|
|
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
2011-10-12 09:50:04 +00:00
|
|
|
<td><?php echo $item['id']; ?></td>
|
|
|
|
<td><?php echo $item['username']; ?></td>
|
|
|
|
<td><?php echo $item['realname']; ?></td>
|
|
|
|
<td><?php echo $item['unit']; ?></td>
|
|
|
|
<td><?php echo $item['phone']; ?></td>
|
|
|
|
<td><?php echo $item['email']; ?></td>
|
|
|
|
<td><a href="/admin/review/changeadmin/?id=<?php echo $this->id;?>&uid=<?php echo $item['id'];?>">设置为此评审的管理员</a></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
2011-10-12 14:32:51 +00:00
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
2011-10-12 09:50:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|