$payment_info .= '<table> <tr> <td>' . xtc_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td class="main">' . $confirmation['fields'][$i]['title'] . '</td> <td>' . xtc_draw_separator('pixel_trans.gif', '10', '1') . '</td> <td class="main">' . stripslashes($confirmation['fields'][$i]['field']) . '</td> </tr></table>'; } $smarty->assign('PAYMENT_INFORMATION', $payment_info); } } if (xtc_not_null($order->info['comments'])) { $smarty->assign('ORDER_COMMENTS', nl2br(htmlspecialchars($order->info['comments'])) . xtc_draw_hidden_field('comments', $order->info['comments'])); } // Call Refresh Hook $payment_modules->refresh(); if (isset(${$_SESSION}['payment']->form_action_url) && !${$_SESSION}['payment']->tmpOrders && $_SESSION['payment'] != 'no_payment') { $form_action_url = ${$_SESSION}['payment']->form_action_url; } else { $form_action_url = xtc_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } // BOF GM_MOD saferpay // we need a source for our js to be loaded befor form $sPreForm = ''; if (method_exists(${$_SESSION}['payment'], 'confirm_pre_form')) { $sPreForm = ${$_SESSION}['payment']->confirm_pre_form(); } $smarty->assign('CHECKOUT_FORM', $sPreForm . xtc_draw_form('checkout_confirmation', $form_action_url, 'post')); $smarty->assign('CHECKOUT_FORM_PREFORM', $sPreForm); $smarty->assign('CHECKOUT_FORM_ACTION_URL', $form_action_url); // EOF GM_MOD saferpay