<?php /* Smarty version 2.6.22, created on 2017-12-13 16:37:34
         compiled from D:%5CphpStudy%5CWWW//templates/admin/default/users/addGroup.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'D:\\phpStudy\\WWW//templates/admin/default/users/addGroup.html', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['admin_template_path'])."/html/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>
<body>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['admin_template_path'])."/html/pagetops.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['errorMessage']): ?>
<div id="errormsg">
<div class="msg">
  <div class="closebtn"><i data-icon="" class="icon-close"></i></div>
  <?php echo $this->_tpl_vars['errorMessage']; ?>

</div>
</div>
<?php echo '
<script type="text/javascript">
seajs.use(["modules/pageui/msg"], function(msg){
    msg.msginit("#errormsg");
});
</script>
'; ?>

<?php endif; ?>

<div class="pagebg">
  <div class="mcontent pagemain clr">
    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['admin_template_path'])."/html/leftmenu.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div class="pagemainconent">

    <div class="rightdetail_admin">
      <div class="sideblock">
        <div class="sideheader">添加自定义页面</div>
        <div class="sidebody">
          <form action="" class="horizontal-form item-form disable-on-submit" action="" method="post" enctype="multipart/form-data">
            <div class="input-group clr">
              <label class="control-label" for="name">用户组名</label>
              <div class="inputs">
                <input class="ipttheme" id="name" type="text" name="name" value="<?php echo ((is_array($_tmp=$_POST['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
                <?php if (isset ( $this->_tpl_vars['error']['name'] )): ?>
                <small><?php echo $this->_tpl_vars['error']['name']; ?>
</small>
                <?php endif; ?>
              </div>
            </div>
            <div class="input-group clr">
              <label class="control-label" for="description">描述</label>
              <div class="inputs">
                <input class="ipttheme" id="description" type="text" name="description" value="<?php echo ((is_array($_tmp=$_POST['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
              </div>
            </div>
            <div class="input-group clr">
              <label class="control-label" for="meta_keywords">权限设置</label>
              <div class="inputs">
                <?php if (is_array ( $this->_tpl_vars['modules'] )): ?>
                <table class="general_table" cellspacing="0" cellpadding="0" border="0">
                  <tr>
                    <td width="150"> system_系统 </td>
                    <td><input type="checkbox" name="modules[system]" value="on" id="modules[system]" class="checkbox" <?php if ($_POST['rights']['system'] == 'on'): ?>checked="checked"<?php endif; ?> /></td>
                    </tr>
                    <?php $_from = $this->_tpl_vars['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['m'] => $this->_tpl_vars['conf']):
?>
                    <tr>
                    <td> <?php echo $this->_tpl_vars['m']; ?>
_<?php echo $this->_tpl_vars['lang'][$this->_tpl_vars['m']]; ?>
 </td>
                    <td> <input type="checkbox" name="modules[<?php echo $this->_tpl_vars['m']; ?>
]" value="on" id="modules[<?php echo $this->_tpl_vars['m']; ?>
]" class="checkbox" <?php if ($_POST['rights'][$this->_tpl_vars['m']] == 'on'): ?>checked="checked"<?php endif; ?> /></td>
                  </tr>
                  <?php endforeach; endif; unset($_from); ?>
                </table>
                <?php endif; ?>
              </div>
            </div>
            <div class="form-submit">
              <?php if ($_GET['id']): ?>
              <button type="submit" name="edit" class="btntheme btnsize btn-primary">编辑</button>
              <?php else: ?>
              <button type="submit" name="add" class="btntheme btnsize btn-primary">添加</button>
              <?php endif; ?>
            </div>
          </form>
        </div>
      </div>
    </div>

    </div>
  </div>
</div>
</body>
</html>