2013-03-01 09:12:26 +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->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(' > ');
|
|
|
|
?>
|
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) :?>
|
|
|
|
<div id="message" class="aga alert alert-info">
|
|
|
|
<?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: ?>
|
2013-03-01 09:12:26 +00:00
|
|
|
|
2014-09-13 02:18:32 +00:00
|
|
|
<?php if ($this->error) :?>
|
|
|
|
<div id="message" class="alert alert-info">
|
|
|
|
<?php if ($this->error) : ?>
|
|
|
|
<p><?php echo $this->error; ?></p>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
2013-03-01 09:12:26 +00:00
|
|
|
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="col-md-10 col-sm-12">
|
|
|
|
<p><a class="btn btn-primary" href="/admin/user/groupauth?gid=<?= $this->gid;?>">返回</a></p>
|
|
|
|
<form action="/admin/user/groupauth/" method="post" class="form-horizontal">
|
|
|
|
<input type="hidden" name="gid" value="<?= $this->gid ?>" />
|
|
|
|
<input type="hidden" name="ac" value="<?= $this->ac?>" />
|
|
|
|
<input type="hidden" name="submit" value="1" />
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">模块</label>
|
|
|
|
<div class="col-md-7 col-sm-7 col-xs-6">
|
|
|
|
<input type="text" name="name_module" value="<?php if(isset($this->data['module'])) echo $this->data['module']; ?>" class="form-control"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">控制器</label>
|
|
|
|
<div class="col-md-7 col-sm-7 col-xs-6">
|
|
|
|
<input type="text" name="name_controller" value="<?php if(isset($this->data['controller'])) echo $this->data['controller']; ?>" class="form-control"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">特殊</label>
|
|
|
|
<div class="col-md-7 col-sm-7 col-xs-6">
|
|
|
|
<input type="text" name="name_special" value="<?php if(isset($this->data['special'])) echo $this->data['special']; ?>" class="form-control"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label">状态</label>
|
|
|
|
<div class="col-md-2 col-sm-4 col-xs-6">
|
|
|
|
<select name="allow" class="form-control">
|
|
|
|
<option value="1">允许</option>
|
|
|
|
<option value="-1">拒绝</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 col-xs-3 control-label"></label>
|
|
|
|
<div class="col-md-7 col-sm-7 col-xs-6">
|
|
|
|
<button type="submit" class="btn btn-primary">提交</button>
|
|
|
|
<button type="reset" class="btn btn-danger">重置</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2013-03-01 09:12:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<script>
|
|
|
|
//<-- users
|
|
|
|
|
|
|
|
// users -->
|
|
|
|
|
|
|
|
function Alert(html){
|
|
|
|
$.colorbox({'innerWidth':'50%','html':'<h4>'+html+'</h4>'});
|
|
|
|
}
|
|
|
|
</script>
|