2012-12-10 09:30:38 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/admin.css');
|
|
|
|
$this->headLink()->appendStylesheet('/css/author.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
|
|
|
<style>
|
|
|
|
.process {width:99%;height:20px;overflow:hidden;border:1px solid #6CF;}
|
|
|
|
.process .display { position:absolute;height:20px;color:#6CF; margin:0px; padding:0px;}
|
|
|
|
.process .np{display:block;height:20px;background-color:green;}
|
|
|
|
</style>
|
|
|
|
<div id="leftPanel">
|
|
|
|
<?= $this->partial('user/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">
|
|
|
|
<?php
|
|
|
|
if(empty($this->stop)){ ?>
|
|
|
|
<?php
|
|
|
|
echo '<div class="process">';
|
|
|
|
echo '<div class="display">'.$this->percent.'%</div>';
|
|
|
|
echo '<div class="np" style="width:'.$this->percent.'%;"></div>';
|
|
|
|
echo '</div>';
|
|
|
|
?>
|
|
|
|
<div id="datalist">
|
|
|
|
<ul>
|
|
|
|
<?php
|
|
|
|
foreach($this->result as $v)
|
|
|
|
{
|
2012-12-10 13:16:28 +00:00
|
|
|
echo "<li>".$v['username'].' - '.$v['email'] . " - " . $v['lastlogin'] ."</li>\r\n";
|
2012-12-10 09:30:38 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function jump_url(now,page,time){
|
|
|
|
self.location="/admin/user/sendmail/ac/send?"
|
|
|
|
+"now=" + now
|
|
|
|
+"&page=" + page
|
|
|
|
+"&time=" + time;
|
|
|
|
}
|
|
|
|
function jump(now,page,time)
|
|
|
|
{
|
|
|
|
setTimeout("jump_url('"+now+"','"+page+"','"+time+"');",1000);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<?php
|
|
|
|
echo '<script>jump("'.$this->now.'","'.$this->page.'","'.$this->gotime.'")</script>';
|
|
|
|
?>
|
|
|
|
<?php } else {
|
|
|
|
echo "邮件发送完成!";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|