<?php
/**
 * JE GroupBuy package
 * @author J-Extension <contact@jextn.com>
 * @link http://www.jextn.com
 * @copyright (C) 2011 - 2012 J-Extension
 * @license GNU/GPL, see LICENSE.php for full license.
**/

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

?>
<style type="text/css">
.paymentmsg tr, td
{
	border:none;
}
</style>
<link rel="stylesheet" type="text/css" href="<?php echo JURI::root().'components/com_jegroupbuy/assets/css/style.css'?>">
<?php
if($this->result!="")
{
?>

<table style="width:100%;" class="paymentmsg">
	<tr >
		<td align="center" width="100%" >
			<table cellpadding="0" cellspacing="10" style="width:80%;border: 1px solid rgb(0, 0, 0);background-color:#FFEEED;border-color:#FFB5B3;">
				<tr height="30">
					<td width="16"><img src="<?php echo JURI::root(); ?>components/com_jegroupbuy/assets/images/cross.png"></td>
					<td align="left">
						<b color="#4A4646">&nbsp;<?php echo JText::_("COM_JEGROUPBUY_PAYMENT_FAILURE_MSG"); ?></b>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br/>
<?php
}
?>
<table cellpadding="0" cellspacing="0" width="98%" border="0" class="paymentdetails">
	<tr>
		<td>
			<h2 style="font-size:2.1em;line-height:30px;"><?php echo JText::_("COM_JEGROUPBUY_PAYMENT_METHODS"); ?></h2>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>
			<table cellpadding="0" cellspacing="0" width="100%" border="0">
				<?php

					$i = 0;
					foreach($this->PaymentMethodDetails AS $pminfo)
					{
						//$paymentLogoPath = JURI::root()."plugins/jegroupbuypayment/".$this->plugin_info[$i]->name."/images/".$pminfo["logo"];
						?>
							<tr>
								<td style="border:solid 1px #e5eff8;background-color:#f4f9fe;padding:5px;">
									<?php echo $pminfo; ?>
								</td>
							</tr>
							<tr>
								<td>&nbsp;</td>
							</tr>
						<?php
						$i++;
					}
				?>
			</table>
		</td>
	</tr>
</table>