2012-12-11 04:57:07 +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('<a href="/admin/user">用户管理</a>');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
|
|
<?= $this->partial('user/left.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<?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="col-md-10 col-sm-12">
|
|
|
|
<h4>数字黑河用户(共 <?= $this->count_users;?> 个)</h4>
|
|
|
|
<hr />
|
|
|
|
<p><button type="button" onclick="self.location='/admin/user/sendmail/ac/heihemail'" class="btn btn-success">发送邮件通知</button></p>
|
|
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
|
|
<thead><tr>
|
|
|
|
<td width='150'>用户名</td>
|
|
|
|
<td width='250'>电子邮箱</td>
|
|
|
|
<td width='150'>最后登录</td>
|
|
|
|
</tr></thead><!-- table's head -->
|
|
|
|
<?php if (count($this->paginator)): ?>
|
|
|
|
<?php $autoindex=0;?>
|
|
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
|
|
<?php $autoindex++;?>
|
|
|
|
<tr>
|
|
|
|
<td><?= $item['username']?></td>
|
|
|
|
<td><?= $item['email']; ?></td>
|
|
|
|
<td><?= date("Y-m-d",strtotime($item['lastlogin'])); ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
</table>
|
|
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
|
|
</div>
|
2012-12-11 04:57:07 +00:00
|
|
|
</div>
|