<?php /* Smarty version 2.6.22, created on 2014-01-31 02:43:42
         compiled from D:/Program+Files/Ampps/www/zipmarket%5Capps%5Cpercents%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\\percents\\admin/add.html', 17, 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']; ?>
">Payment Rates</a> \ 
      </div>
      <h1 class="page-title"><?php if ($_GET['c'] == 'edit'): ?><?php echo $this->_tpl_vars['lang']['edit']; ?>
<?php else: ?><?php echo $this->_tpl_vars['lang']['add']; ?>
<?php endif; ?> Percents</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="percent"><?php echo $this->_tpl_vars['lang']['percent']; ?>
</label>
        <div class="inputs">
          <input id="percent" type="text" name="percent" required="true" value="<?php echo ((is_array($_tmp=$_POST['percent'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
			<?php if (isset ( $this->_tpl_vars['error']['percent'] )): ?>
				<small><?php echo $this->_tpl_vars['error']['percent']; ?>
</small>
			<?php endif; ?>
        </div>
    </div>
	 <div class="input-group">
        <label for="from"><?php echo $this->_tpl_vars['lang']['from_sum']; ?>
</label>
        <div class="inputs">
          <input id="from" type="text" name="from" value="<?php echo ((is_array($_tmp=$_POST['from'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="true" />
			<?php if (isset ( $this->_tpl_vars['error']['from'] )): ?>
				<small><?php echo $this->_tpl_vars['error']['from']; ?>
</small>
			<?php endif; ?>
        </div>
    </div>
	 <div class="input-group">
        <label for="too"><?php echo $this->_tpl_vars['lang']['to_sum']; ?>
</label>
        <div class="inputs">
          	<input id="too" type="text" name="to" value="<?php echo ((is_array($_tmp=$_POST['to'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" required="true" />
			<?php if (isset ( $this->_tpl_vars['error']['to'] )): ?>
				<small><?php echo $this->_tpl_vars['error']['to']; ?>
</small>
			<?php endif; ?>
        </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>