69 lines
2.0 KiB
PHTML
69 lines
2.0 KiB
PHTML
|
<?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->theme->AppendPlus($this,'jquery');
|
||
|
$this->theme->AppendPlus($this,'colorbox');
|
||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
||
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
||
|
$this->breadcrumb()->setSeparator(' > ');
|
||
|
?>
|
||
|
<div id="leftPanel">
|
||
|
<?= $this->partial('user/left.phtml'); ?>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<?php if ($this->msg) :?>
|
||
|
<div id="message">
|
||
|
<?php if ($this->msg) : ?>
|
||
|
<p><?php echo $this->msg; ?>
|
||
|
<?php if(!empty($this->jump_url))
|
||
|
{?>
|
||
|
<a href="<?= $this->jump_url?>"返回</a>
|
||
|
<script>setTimeout('top.location=\'<?= $this->jump_url?>\';',2000)</script>
|
||
|
<?php }?></p>
|
||
|
<?php endif; ?>
|
||
|
</div>
|
||
|
<?php else: ?>
|
||
|
|
||
|
<?php if ($this->error) :?>
|
||
|
<div id="message">
|
||
|
<?php if ($this->error) : ?>
|
||
|
<p><?php echo $this->error; ?></p>
|
||
|
<?php endif; ?>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
|
|
||
|
<div id="rightPanel">
|
||
|
<div id="tabs-controller">
|
||
|
<ul>
|
||
|
<li><a href="/admin/user/userauth?uid=<?= $this->uid;?>">返回</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<form action="/admin/user/userauth/" method="post">
|
||
|
<input type="hidden" name="uid" value="<?= $this->uid ?>" />
|
||
|
<input type="hidden" name="ac" value="<?= $this->ac?>" />
|
||
|
<input type="hidden" name="submit" value="1" />
|
||
|
<p>
|
||
|
<label>要克隆到的用户ID</label><br />
|
||
|
<input type="text" name="target" value="<?php if(isset($this->data['target'])) echo $this->data['target']; ?>" />
|
||
|
</p>
|
||
|
<p>
|
||
|
<button type="submit" class="btn btn-green">提交</button>
|
||
|
<button type="reset" class="btn">重置</button>
|
||
|
</p>
|
||
|
</form>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
|
<script>
|
||
|
//<-- users
|
||
|
|
||
|
// users -->
|
||
|
|
||
|
function Alert(html){
|
||
|
$.colorbox({'innerWidth':'50%','html':'<h4>'+html+'</h4>'});
|
||
|
}
|
||
|
</script>
|