1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
| e width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#f4f4f4"> </td>
</tr>
<tr>
<td bgcolor="#f4f4f4"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"><tr><td>
<table width="100%" border="0" cellspacing="4" cellpadding="4">
<tr>
<?php
echo $p=$_POST['mode'];
if (($p=='PAY') || ($p=='CP'))
{?>
<td>
<?php if($_POST['discount_code']!=''){
$query = 'SELECT * FROM jos_hikashop_discount WHERE discount_code="'.$_POST['discount_code'].'"';
$database =mysql_query($query);
$discount_code = mysql_fetch_array($database);
}
if(!empty($discount_code)){
$xx=$_POST['tarif']-$discount_code['discount_flat_amount'];
}else {
$xx=$_POST['tarif'];
} ?>
<table width="100%" border="0" align="center" >
<tr>
<td><table align="center" width="95%" border="0">
<tr bgcolor="#FFFFFF">
<td><table width="90%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="headertext1">Thank You for Your Booking</td>
</tr>
<tr>
<td class="innertext"> </td>
</tr>
<tr>
<td class="innertext"><div align="justify"><?php echo JText::_( 'PAYPAY'); ?></div></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><?php echo $mosConfig_lang;?>
<p align="justify">
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'target='_blank'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='business' value='info@paris-shuttle-airport.com'>
<input type='hidden' name='item_name' value="<?php echo $vardefinitif;?>">
<input type='hidden' name='item_number' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='amount' value='<?php echo $xx;?>'>
<input type='hidden' name='currency_code' value='EUR'>
<input type='hidden' name='tax' value='0'>
<?php
global $mainframe;
$langmm = & JFactory::getLanguage();
$tagmm = $langmm->getTag();
if($tagmm =='fr-FR'){ ?>
<input type='image' src='<?php echo JURI::base(); ?>/images/payerfrench.gif' target='_blank' border='0' name='submit' alt='PayPal'>
<?php }else{?>
<input type='image' src='<?php echo JURI::base(); ?>/images/payerenglish.gif' target='_blank' border='0' name='submit' alt='PayPal'>
<?php }?>
</FORM>
</td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><span class="headertext"><?php echo JText::_( 'NUM'); ?> :<?php echo $aleatoire; ?></span></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><a href="#" onClick="javascript:window.print()"><img src="<?php echo JURI::base(); ?>/images/printbutton.jpg" width="131" height="32"/></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</td>
<?php }
if (($p=='ESP') ){?>
<td>
<!--<p align="justify"><?php echo JText::_( 'PAYESP'); ?></p>
-->
<table width="100%" border="0" align="center" >
<tr>
<td><table align="center" width="95%" border="0">
<tr bgcolor="#FFFFFF">
<td><table width="90%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="headertext1">Thank You for Your Booking</td>
</tr>
<tr>
<td class="innertext"> </td>
</tr>
<tr>
<td class="innertext"><div align="justify"><?php echo JText::_( 'MSGR'); ?></div></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><img src="<?php echo JURI::base(); ?>images/inboxnew.jpg" width="94" height="96" /></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><span class="headertext"><?php echo JText::_( 'NUM'); ?> :<?php echo $aleatoire; ?></span></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><a href="#" onClick="javascript:window.print()"><img src="<?php echo JURI::base(); ?>/images/printbutton.jpg" width="131" height="32"/></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</td><?php }
?>
</table>
</td></tr></table>
</td>
</tr>
<tr>
<td bgcolor="#f4f4f4"> </td>
</tr>
</table>
<?php
}
}
?>
<?php }?> |
Partager