<?php /* Smarty version Smarty-3.1.15, created on 2015-05-14 12:08:34
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.gateway.php" */ ?>
<?php /*%%SmartyHeaderCode:178685244555541fc250ade3-73141024%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '327d66df2f717548863c586518be1f167d792313' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.gateway.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '178685244555541fc250ade3-73141024',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'GATEWAYS' => 0,
    'LANG' => 0,
    'VAL_SELF' => 0,
    'gateway' => 0,
    'TRANSFER' => 0,
    'IFRAME_SRC' => 0,
    'IFRAME_FORM' => 0,
    'FORM_VARS' => 0,
    'name' => 0,
    'value' => 0,
    'LANG_AMOUNT_DUE' => 0,
    'FORM_TEMPLATE' => 0,
    'DISPLAY_3DS' => 0,
    'BTN_PROCEED' => 0,
    'AFFILIATES' => 0,
    'affiliate' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_55541fc277b694_43309377',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_55541fc277b694_43309377')) {function content_55541fc277b694_43309377($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['GATEWAYS']->value)) {?>
<h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['gateway']['select'];?>
</h2>
<form id="gateway-select" action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post">
   <ul class="no-bullet">
      <?php  $_smarty_tpl->tpl_vars['gateway'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gateway']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['GATEWAYS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['gateway']->key => $_smarty_tpl->tpl_vars['gateway']->value) {
$_smarty_tpl->tpl_vars['gateway']->_loop = true;
?>
      <li>
         <input name="gateway" type="radio" value="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
" id="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
" <?php echo $_smarty_tpl->tpl_vars['gateway']->value['checked'];?>
>
         <?php if (!empty($_smarty_tpl->tpl_vars['gateway']->value['help'])) {?>
         <a href="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['help'];?>
" class="info" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['information'];?>
"><i class="fa fa-info-circle"></i></a>
         <?php }?>
         <label for="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
"><?php echo $_smarty_tpl->tpl_vars['gateway']->value['description'];?>
</label>
      </li>
      <?php } ?>
   </ul>
   <div class="text-center"><input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['continue'];?>
" class="button"></div>
</form>
<?php }?>
<?php if (isset($_smarty_tpl->tpl_vars['TRANSFER']->value)) {?>
<?php if ($_smarty_tpl->tpl_vars['TRANSFER']->value['mode']=='iframe') {?>
<iframe src="<?php echo $_smarty_tpl->tpl_vars['IFRAME_SRC']->value;?>
" frameborder="0" scrolling="auto" width="100%" height="500">
<?php echo $_smarty_tpl->tpl_vars['IFRAME_FORM']->value;?>

<?php } else { ?>
<form id="gateway-transfer" action="<?php echo $_smarty_tpl->tpl_vars['TRANSFER']->value['action'];?>
" method="<?php echo $_smarty_tpl->tpl_vars['TRANSFER']->value['method'];?>
" target="<?php echo $_smarty_tpl->tpl_vars['TRANSFER']->value['target'];?>
">
   <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_smarty_tpl->tpl_vars['name'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['FORM_VARS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
 $_smarty_tpl->tpl_vars['name']->value = $_smarty_tpl->tpl_vars['value']->key;
?><input type="hidden" name="<?php echo $_smarty_tpl->tpl_vars['name']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
">
   <?php } ?>
   <?php if ($_smarty_tpl->tpl_vars['TRANSFER']->value['mode']=='automatic') {?>
   <div class="thickpad-top text-center">
      <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['gateway']['transferring'];?>
</p>
      <p><i class="fa fa-spinner fa-6 fa-spin fa-submit"></i></p>
   </div>
   <?php } elseif ($_smarty_tpl->tpl_vars['TRANSFER']->value['mode']=='manual') {?>
   <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['gateway']['amount_due'];?>
</h2>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG_AMOUNT_DUE']->value;?>
</p>
   <?php echo $_smarty_tpl->tpl_vars['FORM_TEMPLATE']->value;?>

   <?php }?>
   <?php if (!$_smarty_tpl->tpl_vars['DISPLAY_3DS']->value) {?>
   <div class="text-center"><input type="submit" class="button success" value="<?php echo $_smarty_tpl->tpl_vars['BTN_PROCEED']->value;?>
"></div>
   <?php }?>
   <?php  $_smarty_tpl->tpl_vars['affiliate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['affiliate']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['AFFILIATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['affiliate']->key => $_smarty_tpl->tpl_vars['affiliate']->value) {
$_smarty_tpl->tpl_vars['affiliate']->_loop = true;
?>
   <?php echo $_smarty_tpl->tpl_vars['affiliate']->value;?>

   <?php } ?>
   <?php }?>
</form>
<?php }?>
<?php }} ?>
