Code: Select all
/** Start printing out HTML Form code (Payment Extra Info) **/ ?>
<table width="100%">
<tr>
<td width="100%" align="center">
<?php
@include( CLASSPATH. "payment/".$dbpm->f("payment_class").".cfg.php" );
echo DEBUG ? vmCommonHTML::getInfoField('Beginning to parse the payment extra info code...' ) : '';
// Here's the place where the Payment Extra Form Code is included
// Thanks to Steve for this solution (why make it complicated...?)
if( eval('?>' . $dbpm->f("payment_extrainfo") . '<?php ') === false ) {
echo vmCommonHTML::getErrorField( "Error: The code of the payment method ".$dbpm->f( 'payment_method_name').' ('.$dbpm->f('payment_method_code').') '
.'contains a Parse Error!<br />Please correct that first' );
}
?>
</td>
</tr>
</table>
<?php
$db = $db_temp;
}
// END printing out HTML Form code (Payment Extra Info)
?>