<?php /* Smarty version 2.6.17, created on 2018-04-18 10:06:58 compiled from admin/backUser/permission.html */ ?> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?> <?php if ($this->_tpl_vars['errMsg']['ok'] == 1): ?> <div class="tip_message_success">设置角色成功</div> <?php endif; ?> <form method="post" action="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?> /?c=admin_backUser&a=setPermission&uid=<?php echo $this->_tpl_vars['user']['uid']; ?> " style=""> <div class="form-group"> <label class="control-label">“<?php echo $this->_tpl_vars['user']['name']; ?> ” 角色设置:</label> <div> <label class="radio-inline"><input name="permission" type="radio" value="admin" <?php if ($this->_tpl_vars['user']['permission'] == 'admin'): ?>checked<?php endif; ?> > 管理员</label> <label class="radio-inline"><input name="permission" type="radio" value="ordinary" <?php if ($this->_tpl_vars['user']['permission'] != 'admin'): ?>checked<?php endif; ?>> 普通帐号</label> </div> </div> <button class="button button-primary button-small">保存</button> </form> <?php $_smarty_tpl_vars = $this->_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>