<?php /* Smarty version 2.6.25, created on 2015-05-15 14:52:34
         compiled from article_paypal.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'article_paypal.tpl', 19, false),array('modifier', 'trim', 'article_paypal.tpl', 19, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>Processing Payment...</title>
</head>
<?php echo '<body onload="document.form.submit();"><h3>Processing Payment...</h3><form name="form" action="https://www.paypal.com/cgi-bin/webscr" method="post">'; ?><?php if (isset ( $this->_tpl_vars['SubscriptionEnabled'] ) && $this->_tpl_vars['SubscriptionEnabled'] == 1 && $this->_tpl_vars['PAYMENT']['SUBSCRIBED'] == 1): ?><?php echo '<input type="hidden" name="cmd" value="_xclick-subscriptions" />'; ?><?php else: ?><?php echo '<input type="hidden" name="cmd" value="_xclick" />'; ?><?php endif; ?><?php echo '<input type="hidden" name="rm" value="2"><input type="hidden" name="business" value="'; ?><?php echo @PAYPAL_ACCOUNT; ?><?php echo '" /><input type="hidden" name="item_name" value="Article \''; ?><?php echo $this->_tpl_vars['TITLE']; ?><?php echo '\' for '; ?><?php echo ((is_array($_tmp=((is_array($_tmp=@DIRECTORY_TITLE)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" /><input type="hidden" name="item_number" value="'; ?><?php echo $this->_tpl_vars['ID']; ?><?php echo '" /><input type="hidden" name="amount" value="'; ?><?php echo $this->_tpl_vars['PAYMENT']['AMOUNT']; ?><?php echo '" /><input type="hidden" name="quantity" value="'; ?><?php echo $this->_tpl_vars['PAYMENT']['QUANTITY']; ?><?php echo '" /><input type="hidden" name="no_shipping" value="1" /><input type="hidden" name="return" value="http://'; ?><?php echo $this->_supers['server']['SERVER_NAME']; ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/article_payment.php?payed='; ?><?php echo $this->_tpl_vars['ID']; ?><?php echo '" /><input type="hidden" name="cancel_return" value="http://'; ?><?php echo $this->_supers['server']['SERVER_NAME']; ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/article_payment.php?canceled='; ?><?php echo $this->_tpl_vars['ID']; ?><?php echo '" /><input type="hidden" name="notify_url" value="http://'; ?><?php echo $this->_supers['server']['SERVER_NAME']; ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/article_ipn.php?pid='; ?><?php echo $this->_tpl_vars['PAYMENT']['ID']; ?><?php echo '" /><input type="hidden" name="custom" value="'; ?><?php echo $this->_tpl_vars['PAYMENT']['ID']; ?><?php echo '" /><input type="hidden" name="no_note" value="1" /><input type="hidden" name="email" value="'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['OWNER_EMAIL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)); ?><?php echo '" /><input type="hidden" name="currency_code" value="'; ?><?php echo @PAY_CURRENCY_CODE; ?><?php echo '" />'; ?><?php if (isset ( $this->_tpl_vars['SubscriptionEnabled'] ) && $this->_tpl_vars['SubscriptionEnabled'] == 1 && $this->_tpl_vars['PAYMENT']['SUBSCRIBED'] == 1): ?><?php echo '<input type="hidden" name="a3" value="'; ?><?php echo $this->_tpl_vars['PAYMENT']['TOTAL']; ?><?php echo '" /><input type="hidden" name="p3" value="'; ?><?php echo $this->_tpl_vars['Subscription']['PERIOD']; ?><?php echo '" /><input type="hidden" name="t3" value="'; ?><?php echo $this->_tpl_vars['Subscription']['UM']; ?><?php echo '" /><input type="hidden" name="src" value="1" /><input type="hidden" name="sra" value="1" />'; ?><?php endif; ?><?php echo '</form></body></html>'; ?>
