<?php
/**
* @version		3.0.0
* @package		JomLand TicketCenter
* @copyright	Copyright (C) 2010 JomLand.com. All rights reserved.
* @link 		www.jomland.com
* @license		GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

$currency = $this->params->get('currency_symbol');
$data = $this->data;
?>

<div class="contentpane<?php echo $this->escape($this->menuparams->get('pageclass_sfx')); ?>">
<h3><?php echo JText::_('JLTC_CREDIT_CARD_ERROR');?></h3>
<span class="err"><?php echo $data['error_msg'];?></span>
<br /><br />
<?php echo JText::_('JLTC_CREDIT_CARD_ERROR_MSG')?>
<br />
<div id="cart">
	<form name="josForm" id="josForm"  method="post" action="" class="form-validate">
		<div id="jltcenter_order">
		<?php
			require_once JPATH_SITE.DS.'components/com_jlticketcenter/views/cart/tmpl/credit_card.php';
		?>
	</div>
	
	<fieldset class="payment_methods">
		<label for="creditCardType"><strong><?php echo JText::_('TICKETS_TOTAL');?></strong></label>
		&nbsp;&nbsp;&nbsp;
		<strong><?php echo $currency;?><span id="TicketTotal"><?php echo number_format($this->data['order_total'],2);?></span></strong>
		<br /><br />
		<button type="submit" id="order_btn" class="button validate"><?php echo JText::_('Payment');?></button>
	</fieldset>
		
	
	<?php echo JHTML::_( 'form.token' ); ?>
	<input type="hidden" name="option" value="com_jlticketcenter" />
	<input type="hidden" name="controller" value="credit_error" />
	<input type="hidden" name="task" value="checkout_pross" />
	</form>

 </div>

</div>