<?php /* Smarty version Smarty-3.1.19, created on 2017-04-19 19:10:17
         compiled from "/home/atlantic/shop.atlanticseacucumber.ca/modules//iemt//views/templates/front/payment.tpl" */ ?>
<?php /*%%SmartyHeaderCode:96075898258f7b6192fd6c6-70554054%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7678374993a624c8a7320d1f4d5284ef419f7851' => 
    array (
      0 => '/home/atlantic/shop.atlanticseacucumber.ca/modules//iemt//views/templates/front/payment.tpl',
      1 => 1492624717,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '96075898258f7b6192fd6c6-70554054',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'modules_dir' => 0,
    'challenge' => 0,
    'mess_error' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_58f7b619703474_13729552',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f7b619703474_13729552')) {function content_58f7b619703474_13729552($_smarty_tpl) {?>

<form id="iemt_form" name="iemt_form" action="<?php echo $_smarty_tpl->tpl_vars['modules_dir']->value;?>
iemt/validation.php" method="post">
<div class="payment_module">

	<div><img src="<?php echo $_smarty_tpl->tpl_vars['modules_dir']->value;?>
iemt/img/interact.png" /></div>
	<div style="height: 87px;">
		<label for="challenge" style="display: inline;"><?php echo smartyTranslate(array('s'=>'Challenge Answer','mod'=>'iemt'),$_smarty_tpl);?>
</label> 
		<input type="text" name="challenge" value="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['challenge']->value)===null||$tmp==='' ? '' : $tmp);?>
" id="challenge" size="12" maxlength="12" />
		<a style="display:inline" class="menuitems" href="#myText"><img style="float: none;" id="menuitem" src="<?php echo $_smarty_tpl->tpl_vars['modules_dir']->value;?>
iemt/img/help.png" alt="" /></a>

		<input type="submit" id="asubmit" value="<?php echo smartyTranslate(array('s'=>'Make payment','mod'=>'iemt'),$_smarty_tpl);?>
" onclick="return checkIEMTForm();" xstyle="display:inline;bottom:0;position: absolute;margin-bottom: 5px;" class="button exclusive_large" />
		
		<div style="display:none;">
			<div id="myText" class="fanlink" style="text-align: left;width:600px;height:auto;overflow:auto;">
				<h1><?php echo smartyTranslate(array('s'=>'Interac Email Money Transfer Help','mod'=>'iemt'),$_smarty_tpl);?>
</h1>
				<p style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'Pick a word, any word...','mod'=>'iemt'),$_smarty_tpl);?>
</p>
				<p style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'After you have completed your order with us, the next step will be to initiate a Interac Email Money Transfer using your Bank\'s online banking website','mod'=>'iemt'),$_smarty_tpl);?>
</p>
				<p style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'When you send payment this way, you create challenge question and answer. For us to receive payment, we require the answer to the challenge question you will later create','mod'=>'iemt'),$_smarty_tpl);?>
</p>
				<p style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'Tips:','mod'=>'iemt'),$_smarty_tpl);?>

				<ul style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'EXACT spelling is important. We recommend a ONE WORD answer and avoid using special characters or punctuation. Any delays in our ability to receive payment will delay shipment of your order.','mod'=>'iemt'),$_smarty_tpl);?>
</ul>
				<ul style="padding-bottom:10px"><?php echo smartyTranslate(array('s'=>'The challenge question serves as a hint, but we only require the ANSWER from you to receive payment.','mod'=>'iemt'),$_smarty_tpl);?>
</ul>
			</div>
		</div>
	</div>
	
</div>
</form>

<script type="text/javascript">
	var mess_error = "<?php echo $_smarty_tpl->tpl_vars['mess_error']->value;?>
";
	
		function checkIEMTForm() {
			$('#asubmit').attr('disabled', 'disabled');

			if ($('#challenge').val() == '')
			{
				alert(mess_error);
				$('#asubmit').removeAttr('disabled');
				return false;
			} else {
				return $('#iemt_form').submit();
			}
		}			
		$(document).ready(function(){
			$(".menuitems").fancybox({});
		});
	
</script>
<?php }} ?>
