<?php /* Smarty version 2.6.22, created on 2014-02-05 01:28:46
         compiled from D:/Program+Files/Ampps/www/zipmarket%5Capps%5Ccontacts%5Cadmin/add.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'D:/Program Files/Ampps/www/zipmarket\\apps\\contacts\\admin/add.html', 7, false),)), $this); ?>
<div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href="/admin" class="first">Home</a> \ <a href="?m=<?php echo $_GET['m']; ?>
&c=list&p=<?php echo $_GET['p']; ?>
">Support Center</a> \
		<a href="?m=<?php echo $_GET['m']; ?>
&c=categories&p=<?php echo $_GET['p']; ?>
">Issue categories</a> \
      </div>
      <h1 class="page-title"><?php echo $this->_tpl_vars['title']; ?>
 <?php if ($_GET['c'] == 'edit'): ?><?php echo ((is_array($_tmp=$_POST['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
 Issue<?php else: ?> New Issue<?php endif; ?></h1>
    </div>
  </div>
    <div id="content">
      <div class="container">
    <div class="content" style="width:984px;">
   <div class="content-box">
	<form action="" class="horizontal-form item-form disable-on-submit" action="" method="post" enctype="multipart/form-data">
	<div class="input-group">
        <label for="name"><?php echo $this->_tpl_vars['lang']['name']; ?>
</label>
        <div class="inputs">
          <input 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)); ?>
" required="true" />
			<?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">
        <label for="desc"><?php echo $this->_tpl_vars['lang']['text']; ?>
</label>
        <div class="inputs">
         <textarea name="text" id="desc"><?php echo $_POST['text']; ?>
</textarea>
        </div>
    </div>
	<div class="input-group">
        <label for="visible"><?php echo $this->_tpl_vars['lang']['visible']; ?>
</label>
        <div class="inputs">
         <input type="checkbox" name="visible" id="visible" value="true" class="checkbox" <?php if ($_POST['visible'] == 'true'): ?>checked="checked"<?php endif; ?> /> <?php echo $this->_tpl_vars['lang']['yes']; ?>

        </div>
    </div>
    <div class="form-submit">
	<?php if ($_GET['c'] == 'edit'): ?>
     <button type="submit" name="edit" class="btn-icon submit auto-width"><?php echo $this->_tpl_vars['lang']['edit']; ?>
</button>
	 <?php else: ?>
     <button type="submit" name="add" class="btn-icon submit auto-width"><?php echo $this->_tpl_vars['lang']['add']; ?>
</button>
	<?php endif; ?>
    </div>
	</form>
    </div>
   </div>
  </div>
 </div>