88 lines
2.8 KiB
PHTML
88 lines
2.8 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/groupauth?gid=<?= $this->gid;?>">返回</a></li>
|
|
</ul>
|
|
</div>
|
|
<form action="/admin/user/groupauth/" method="post">
|
|
<input type="hidden" name="gid" value="<?= $this->gid ?>" />
|
|
<input type="hidden" name="ac" value="<?= $this->ac?>" />
|
|
<input type="hidden" name="submit" value="1" />
|
|
<p>
|
|
<label>模块</label><br />
|
|
<input type="text" name="name_module" value="<?php if(isset($this->data['module'])) echo $this->data['module']; ?>" />
|
|
</p>
|
|
<p>
|
|
<label>控制器</label><br />
|
|
<input type="text" name="name_controller" value="<?php if(isset($this->data['controller'])) echo $this->data['controller']; ?>" />
|
|
</p>
|
|
<p>
|
|
<label>动作</label><br />
|
|
<input type="text" name="name_action" value="<?php if(isset($this->data['action'])) echo $this->data['action']; ?>" />
|
|
</p>
|
|
<p>
|
|
<label>特殊</label><br />
|
|
<input type="text" name="name_special" value="<?php if(isset($this->data['special'])) echo $this->data['special']; ?>" />
|
|
</p>
|
|
<p>
|
|
<label>状态</label><br />
|
|
<select name="allow">
|
|
<option value="1">允许</option>
|
|
<option value="-1">拒绝</option>
|
|
</select>
|
|
</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>
|