<?php
/**
* @version 1.0.0
* @package RSEvents! 1.0.0
* @copyright (C) 2009 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/

defined('_JEXEC') or die('Restricted access');
if(!empty($this->fields)) {
?>
<fieldset style="margin:30px;">
<legend><?php echo JText::_('RSE_SUBSCRIPTION_INFO');?></legend>
<table width="100%" border="0" class="adminForm">
<?php foreach($this->fields as $fieldname => $fieldvalue) { ?>
	<tr> 
		<td><?php echo $this->captions[$fieldname]; ?></td> 
		<td><?php echo strpos($fieldvalue,'http://') !== false || strpos($fieldvalue,'https://') !== false ? '<a href="'.$fieldvalue.'" target="_blank">'.$fieldvalue.'</a>' : $fieldvalue; ?></td>
	</tr>
<?php } ?>
</table>
</fieldset>
<?php }  else { ?>
<center><font size="4"> <?php echo JText::_('RSE_SUBSCRIPTION_NO_INFO');?></font></center>
<?php } if(!empty($this->TD)){ ?>
<fieldset style="margin:30px;">
<legend><?php echo $this->TD['TransactionTitle'];?></legend>
<table width="100%" border="0" class="adminForm">
	<tr>
		<td>
			<h2><?php echo JText::_('RSE_PAYER_DETAILS');?>:</h2>
			<strong><?php echo $this->TD['TransactionCustomer'];?></strong>
			<p><?php echo $this->TD['TransactionEmail'];?></p>
			<p><?php echo $this->TD['TransactionAddressStreet'];?></p>
			<p><?php echo $this->TD['TransactionAddress'];?></p>
			
		</td>
		<td>
			<h2><?php echo JText::_('RSE_TRANSACTION_DETAILS');?>:</h2>
			<strong><?php echo $this->TD['TransactionItem'];?></strong>
			<p><?php echo JText::_('RSE_TRANSACTION_PRICE');?>: <?php echo $this->TD['TransactionItemPrice'];?></p>
			<p><?php echo JText::_('RSE_TRANSACTION_DATE');?>: <?php echo $this->TD['TransactionDate'];?></p>
			<p><?php echo JText::_('RSE_TRANSACTION_GATEWAY');?>: <?php echo $this->TD['TransactionGateway'];?></p>
		</td>
	</tr>
</table>
</fieldset>
<?php } ?>