<?php /* Smarty version 2.6.25, created on 2015-05-15 14:52:31
         compiled from article_payment.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'article_payment.tpl', 38, false),array('modifier', 'trim', 'article_payment.tpl', 38, false),array('function', 'html_radios', 'article_payment.tpl', 60, false),)), $this); ?>
<?php ob_start(); ?> - Article Payment<?php $this->_smarty_vars['capture']['title'] = ob_get_contents(); ob_end_clean(); ?>
<?php ob_start(); ?>Article Payment<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('in_page_title', ob_get_contents());ob_end_clean(); ?>
<?php ob_start(); ?>Submit a new article to the directory<?php $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('description', ob_get_contents());ob_end_clean(); ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "validation.tpl", 'smarty_include_vars' => array('form_id' => 'submit_payment_form','validators' => $this->_tpl_vars['validators'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo ''; ?><?php if (empty ( $this->_tpl_vars['ID'] )): ?><?php echo 'Invalid link id.'; ?><?php else: ?><?php echo '<form method="post" action="" id="submit_payment_form"><table border="0" class="formPage">'; ?><?php if ($this->_tpl_vars['action'] == 'payed'): ?><?php echo '<tr><td colspan="2" class="msg">Thank you.<br />Article submitted and awaiting approval.</td></tr>'; ?><?php elseif ($this->_tpl_vars['action'] == 'canceled'): ?><?php echo '<tr><td colspan="2" class="err">The payment was canceled.</td></tr>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['error']): ?><?php echo '<tr><td colspan="2" class="err">An error occured while saving the article payment data.</td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label">Title:</td><td class="field">'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</td></tr><tr><td class="label">Description:</td><td class="field">'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['DESCRIPTION'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</td></tr><tr><td class="label">Your Name:</td><td class="field">'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['OWNER_NAME'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</td></tr><tr><td class="label">Your Email:</td><td class="field">'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['OWNER_EMAIL'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'decentity') : smarty_modifier_escape($_tmp, 'decentity')))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '</td></tr>'; ?><?php if ($this->_tpl_vars['SubscriptionEnabled'] == 1): ?><?php echo '<tr><td class="label">Subscribe</td><td class="field">'; ?><?php echo smarty_function_html_radios(array('name' => 'subscribe','options' => $this->_tpl_vars['SubscribeOptions'],'selected' => $this->_tpl_vars['subscribe'],'separator' => "<br />"), $this);?><?php echo '</td></tr>'; ?><?php endif; ?><?php echo '<tr><td class="label">Unit price</td>'; ?><?php $this->assign('um', ($this->_tpl_vars['SubLength'])); ?><?php echo '<td class="field">'; ?><?php echo @HTML_CURRENCY_CODE; ?><?php echo ' '; ?><?php echo $this->_tpl_vars['price'][$this->_tpl_vars['ARTICLE_TYPE']]; ?><?php echo '  '; ?><?php if ($this->_tpl_vars['SubscriptionEnabled'] == 1): ?><?php echo 'every '; ?><?php echo $this->_tpl_vars['SubscriptionPeriod']; ?><?php echo ' '; ?><?php echo $this->_tpl_vars['SubscriptionUm']; ?><?php echo ''; ?><?php endif; ?><?php echo '</td></tr>'; ?><?php if ($this->_tpl_vars['action'] == 'pay'): ?><?php echo '<tr><td class="label">Quantity</td><td class="field">'; ?><?php if ($this->_tpl_vars['SubLength'] != 5): ?><?php echo '<input type="text" name="quantity" value="'; ?><?php echo $this->_tpl_vars['quantity']; ?><?php echo '" size="10" maxlength="5" class="text" />'; ?><?php else: ?><?php echo 'n/a<input type="hidden" name="quantity" value="1" />'; ?><?php endif; ?><?php echo '</td></tr><tr><td class="buttons" colspan="2" align="center"><input type="hidden" name="formSubmitted" value="1" /><input type="image" name="paypal" src="https://www.paypal.com/en_US/i/btn/x-click-but01.gif" alt="Make payments with PayPal - it\'s fast, free and secure!" onClick="this.submit();"/></td></tr>'; ?><?php endif; ?><?php echo '</table></form>'; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?>
