---------------------------------------------------------------------- Released under the GNU General Public License ---------------------------------------------------------------------- */ // DO NOT RUN THIS SCRIPT STANDALONE defined( 'OOS_VALID_MOD' ) or die( 'Direct Access to this location is not allowed.' ); //smarty require 'includes/classes/class_template.php'; $oSmarty = new Template(); //debug if ($oEvent->installed_plugin('debug')) { $oSmarty->force_compile = true; $oSmarty->debugging = true; $oSmarty->clear_all_cache(); $oSmarty->clear_compiled_tpl(); } // object register $oSmarty->register_object("cart", $_SESSION['cart'],array('count_contents', 'get_products')); $oSmarty->assign_by_ref("oEvent", $oEvent); // cache_id $oos_cache_id = $sTheme . '|block|' . $sLanguage. '|' . intval($nGroupID); $oos_system_cache_id = $sTheme . '|block|' . $sLanguage. '|' . intval($nGroupID); $oos_categories_cache_id = $sTheme . '|block|categories|' . $sLanguage . '|' . $categories . '|' . intval($nGroupID); $oos_modules_cache_id = $sTheme . '|modules|' . $sLanguage . '|' . $_SESSION['currency']. '|' . intval($nGroupID);