%%2C^2C1^2C11569A%%permission.html.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php /* Smarty version 2.6.17, created on 2018-05-26 11:58:18
  2. compiled from admin/backUser/permission.html */ ?>
  3. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  4. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
  5. $this->_tpl_vars = $_smarty_tpl_vars;
  6. unset($_smarty_tpl_vars);
  7. ?>
  8. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  9. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
  10. $this->_tpl_vars = $_smarty_tpl_vars;
  11. unset($_smarty_tpl_vars);
  12. ?>
  13. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  14. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
  15. $this->_tpl_vars = $_smarty_tpl_vars;
  16. unset($_smarty_tpl_vars);
  17. ?>
  18. <?php if ($this->_tpl_vars['errMsg']['ok'] == 1): ?>
  19. <div class="tip_message_success">设置角色成功</div>
  20. <?php endif; ?>
  21. <form method="post" action="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
  22. /?c=admin_backUser&a=setPermission&uid=<?php echo $this->_tpl_vars['user']['uid']; ?>
  23. " style="">
  24. <div class="form-group">
  25. <label class="control-label">“<?php echo $this->_tpl_vars['user']['name']; ?>
  26. ” 角色设置:</label>
  27. <div>
  28. <label class="radio-inline"><input name="permission" type="radio" value="admin" <?php if ($this->_tpl_vars['user']['permission'] == 'admin'): ?>checked<?php endif; ?> > 管理员</label>
  29. <label class="radio-inline"><input name="permission" type="radio" value="ordinary" <?php if ($this->_tpl_vars['user']['permission'] != 'admin'): ?>checked<?php endif; ?>> 普通帐号</label>
  30. </div>
  31. </div>
  32. <button class="button button-primary button-small">保存</button>
  33. </form>
  34. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  35. $this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
  36. $this->_tpl_vars = $_smarty_tpl_vars;
  37. unset($_smarty_tpl_vars);
  38. ?>