<?php /** * Curebit Checkout * * @package templateSystem * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 */ require DIR_WS_MODULES . 'addons/curebit_checkout.php'; if (defined('MODULE_ADDONS_CUREBIT_STATUS') && MODULE_ADDONS_CUREBIT_STATUS == 'True') { $curebit = new curebit_checkout(); $rci = $curebit->getCurebitJs(); } ?>
<?php /** * Curebit Checkout * * @package templateSystem * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 */ $curebit_js = ""; if ($page_directory == 'includes/modules/pages/checkout_success') { require DIR_FS_CATALOG . DIR_WS_MODULES . 'order_total/curebit_checkout.php'; $curebit = new curebit_checkout(); //var_dump($curebit); $curebit_js = $curebit->getCurebitJs(); } ?> <?php if ($curebit_js != "") { ?> <div class="curebit"> <!-- Begin Curebit integration code --> <?php echo $curebit_js; ?> <!-- End Curebit integration code --> </div>