<?php /* Smarty version 2.6.22, created on 2014-02-11 00:21:22
         compiled from D:/Program+Files/Ampps/www/zipmarket%5Capps%5Cusers%5Cadmin/pay.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'D:/Program Files/Ampps/www/zipmarket\\apps\\users\\admin/pay.html', 29, false),array('modifier', 'date_format', 'D:/Program Files/Ampps/www/zipmarket\\apps\\users\\admin/pay.html', 58, false),array('modifier', 'string_format', 'D:/Program Files/Ampps/www/zipmarket\\apps\\users\\admin/pay.html', 75, false),array('modifier', 'escape', 'D:/Program Files/Ampps/www/zipmarket\\apps\\users\\admin/pay.html', 94, false),)), $this); ?>
<div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href="/admin" class="first">Home</a> \ <a href="/admin/?m=users&c=list">Users</a> \ <a href="?m=<?php echo $_GET['m']; ?>
&c=withdraws">Withdraws</a>
      </div>
      <h1 class="page-title">Pay out</h1>
    </div>
  </div>
    <div id="content">
      <div class="container">
	  <?php echo $this->_tpl_vars['errorMessage']; ?>

   <div class="content-box">
	<form class="horizontal-form item-form disable-on-submit" action="" method="post" enctype="multipart/form-data">
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['user']; ?>
</label>
        <div class="right">
          <a href="/admin/?m=users&c=edit&id=<?php echo $this->_tpl_vars['user']['user_id']; ?>
" title="" target="_blank"><?php echo $this->_tpl_vars['user']['username']; ?>
</a>
        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['payment_method']; ?>
</label>
        <div class="right">
          <?php echo $this->_tpl_vars['data']['method']; ?>

        </div>
      </div>
	<div class="input-group">
       <label><?php echo $this->_tpl_vars['lang']['text']; ?>
</label>
        <div class="right">
          <?php echo ((is_array($_tmp=$this->_tpl_vars['data']['text'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

        </div>
     </div>
	<div class="input-group">
       <label><?php echo $this->_tpl_vars['lang']['australian_res']; ?>
</label>
       <div class="right">
		<?php if ($this->_tpl_vars['data']['australian'] != 'false'): ?>
			<?php if ($this->_tpl_vars['data']['australian'] == 'iam'): ?>
				<?php echo $this->_tpl_vars['lang']['i_am_author']; ?>

			<?php else: ?>
				<?php echo $this->_tpl_vars['lang']['i_am_not_author']; ?>

				<br /><br />
				<strong>ABN:</strong> <?php echo $this->_tpl_vars['data']['abn']; ?>
<br />
				<strong>ACN:</strong> <?php echo $this->_tpl_vars['data']['acn']; ?>

			<?php endif; ?>
		<?php else: ?>
			<img src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/images/icons/24x24/delete.png" alt="" class="middle" />
		<?php endif; ?>
       </div>
    </div>
	 <div class="input-group">
        <label>Email</label>
        <div class="right">
          <?php echo ((is_array($_tmp=$this->_tpl_vars['data']['text'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['date']; ?>
</label>
        <div class="right">
          <?php echo ((is_array($_tmp=$this->_tpl_vars['data']['datetime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, 'j F Y') : smarty_modifier_date_format($_tmp, 'j F Y')); ?>

        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['paid']; ?>
</label>
        <div class="right">
		<?php if ($this->_tpl_vars['data']['paid'] == 'true'): ?>
			<img src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/images/icons/24x24/accept.png" alt="" class="middle" />
		<?php else: ?>
			<img src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/images/icons/24x24/delete.png" alt="" class="middle" />
		<?php endif; ?>
        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['amount']; ?>
</label>
        <div class="right">
		<?php if ($this->_tpl_vars['data']['paid'] == 'true'): ?>
			<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['amount'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
 <?php echo $this->_tpl_vars['currency']['symbol']; ?>

		<?php else: ?>
			<?php if (! is_numeric ( $this->_tpl_vars['data']['amount'] )): ?>
				<?php echo $this->_tpl_vars['data']['amount']; ?>

			<?php else: ?>
				<?php echo ((is_array($_tmp=$this->_tpl_vars['data']['amount'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
 <?php echo $this->_tpl_vars['currency']['symbol']; ?>

			<?php endif; ?>
		<?php endif; ?>
        </div>
      </div>
	 <div class="input-group">
       <label><?php echo $this->_tpl_vars['lang']['current_balance']; ?>
</label>
        <div class="right">
        <?php echo ((is_array($_tmp=$this->_tpl_vars['user']['earning'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
 <?php echo $this->_tpl_vars['currency']['symbol']; ?>

        </div>
      </div>
	 <div class="input-group">
       <label for="payout"><?php echo $this->_tpl_vars['lang']['payout']; ?>
</label>
        <div class="inputs">
        <input type="text" id="payout" name="payout" value="<?php if (isset ( $_POST['payout'] )): ?><?php echo ((is_array($_tmp=$_POST['payout'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php elseif (! is_numeric ( $this->_tpl_vars['data']['amount'] )): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['user']['earning'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['data']['amount'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
<?php endif; ?>" />
        </div>
      </div>
     <div class="form-submit">
      <button type="submit" name="edit" class="btn-icon upload"><?php echo $this->_tpl_vars['lang']['payout']; ?>
</button>
     </div>
	</form>
   </div>
  </div>
</div>