<?php /* Smarty version 2.6.22, created on 2017-12-13 16:30:14
         compiled from D:%5CphpStudy%5CWWW//templates/admin/default/system/add.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/system/add.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" method="post">
          <div class="input-group clr">
            <label class="control-label" for="edit"><?php echo $_POST['help_text']; ?>
</label>
            <div class="inputs">
              <input class="ipttheme" id="edit" type="text" name="value" value="<?php echo ((is_array($_tmp=$_POST['value'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="true"/>
              <input id="edit" type="<?php if (! isset ( $_POST['system'] ) || ! $_POST['system']): ?>text<?php else: ?>hidden<?php endif; ?>" name="key" value="<?php echo ((is_array($_tmp=$_POST['key'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="true" />
              <?php if (isset ( $this->_tpl_vars['error']['value'] )): ?>
              <small><?php echo $this->_tpl_vars['error']['value']; ?>
</small>
              <?php endif; ?>
              <?php if (isset ( $this->_tpl_vars['error']['key'] )): ?>
              <small><?php echo $this->_tpl_vars['error']['key']; ?>
</small>
              <?php endif; ?>
            </div>
          </div>
          <div class="form-submit">
            <?php if ($_GET['c'] == 'edit'): ?>
            <button id="personal_info_submit_button" class="btntheme btnsize btn-primary" type="submit" name="edit" >编辑</button>
            <?php else: ?>
            <button id="personal_info_submit_button" class="btntheme btnsize btn-primary" type="submit" name="add" >添加</button>
            <?php endif; ?>
          </div>
        </form>
        </div>
      </div>
    </div>
    
    </div>
  </div>
</div>
</body>
</html>