2011-09-06 07:57:44 +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>');
|
2011-09-14 07:02:47 +00:00
|
|
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
2011-09-06 07:57:44 +00:00
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<div id="leftPanel">
|
2011-09-14 07:02:47 +00:00
|
|
|
<?= $this->partial('user/left.phtml'); ?>
|
2011-09-06 07:57:44 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="rightPanel">
|
2011-10-12 14:01:46 +00:00
|
|
|
<div class="title">管理员列表</div>
|
2011-09-06 07:57:44 +00:00
|
|
|
<table>
|
2011-09-14 02:34:15 +00:00
|
|
|
<thead>
|
2011-09-06 07:57:44 +00:00
|
|
|
<tr>
|
|
|
|
<td width='150'>用户名</td>
|
|
|
|
<td width='250'>电子邮箱</td>
|
|
|
|
<td width='100'>用户类型</td>
|
|
|
|
<td width='150'>真实姓名</td>
|
|
|
|
<td width='150'>电话</td>
|
|
|
|
<td width='150'>操作</td>
|
|
|
|
</tr>
|
2011-09-14 02:34:15 +00:00
|
|
|
</thead>
|
2011-09-06 07:57:44 +00:00
|
|
|
<?php if (count($this->paginator)): ?>
|
2011-09-14 02:34:15 +00:00
|
|
|
<?php $autoindex=0;?>
|
2011-09-06 07:57:44 +00:00
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
2011-09-14 02:34:15 +00:00
|
|
|
<?php $autoindex++;?>
|
2011-10-12 14:01:46 +00:00
|
|
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
2011-09-06 07:57:44 +00:00
|
|
|
<td><?= $item['username']?></td>
|
|
|
|
<td><?= $item['email']; ?></td>
|
|
|
|
<td><?= $item['usertype']; ?></td>
|
|
|
|
<td><?= $item['realname']; ?></td>
|
|
|
|
<td><?= $item['phone']; ?></td>
|
|
|
|
<td>
|
|
|
|
<a href='/admin/user/show/id/<?= $item['id'];?>'>查看详细</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
2011-10-12 14:01:46 +00:00
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
2011-09-06 07:57:44 +00:00
|
|
|
</div>
|