ccUserData['customer_id'] == false && $config['hide_prices'] == 1) { ## have a break, have a KitKat } else { $extraEvents = "flashBasket(6);"; } } $body->assign("EXTRA_EVENTS",$extraEvents); if (isset($_GET['searchStr'])) { $body->assign("SEARCHSTR", sanitizeVar($_GET['searchStr'])); } else { $body->assign("SEARCHSTR",""); } $body->assign("CURRENCY_VER",$currencyVer); ## Incluse langauge config include("language".CC_DS.LANG_FOLDER.CC_DS."config.php"); $body->assign("VAL_ISO",$charsetIso); ## START MAIN CONTENT if (!empty($_GET['_a'])) { if (file_exists("includes".CC_DS."content".CC_DS.sanitizeVar($_GET['_a']).".inc.php")) { require_once"includes".CC_DS."content".CC_DS.sanitizeVar($_GET['_a']).".inc.php"; } else { require_once"includes".CC_DS."content".CC_DS."index.inc.php"; } } else { require_once"includes".CC_DS."content".CC_DS."index.inc.php"; } ## END MAIN CONTENT ## START CONTENT BOXES require_once"includes".CC_DS."boxes".CC_DS."searchForm.inc.php"; $body->assign("SEARCH_FORM",$box_content); require_once"includes".CC_DS."boxes".CC_DS."session.inc.php"; $body->assign("SESSION",$box_content); require_once"includes".CC_DS."boxes".CC_DS."categories.inc.php"; $body->assign("CATEGORIES",$box_content); require_once"includes".CC_DS."boxes".CC_DS."randomProd.inc.php"; $body->assign("RANDOM_PROD",$box_content); require_once"includes".CC_DS."boxes".CC_DS."info.inc.php"; $body->assign("INFORMATION",$box_content); require_once"includes".CC_DS."boxes".CC_DS."language.inc.php"; $body->assign("LANGUAGE",$box_content); require_once"includes".CC_DS."boxes".CC_DS."currency.inc.php"; $body->assign("CURRENCY",$box_content); require_once"includes".CC_DS."boxes".CC_DS."shoppingCart.inc.php"; $body->assign("SHOPPING_CART",$box_content); require_once"includes".CC_DS."boxes".CC_DS."popularProducts.inc.php"; $body->assign("POPULAR_PRODUCTS",$box_content); require_once"includes".CC_DS."boxes".CC_DS."saleItems.inc.php"; $body->assign("SALE_ITEMS",$box_content); require_once"includes".CC_DS."boxes".CC_DS."mailList.inc.php"; $body->assign("MAIL_LIST",$box_content); require_once"includes".CC_DS."boxes".CC_DS."siteDocs.inc.php"; $body->assign("SITE_DOCS",$box_content); require_once"includes".CC_DS."boxes".CC_DS."skin.inc.php"; $body->assign("SKIN",$box_content); ## END CONTENT BOXES ## START META DATA if (isset($meta)) { $body->assign("META_TITLE", sefMetaTitle()); $body->assign("META_DESC", sefMetaDesc()); $body->assign("META_KEYWORDS", sefMetaKeywords()); } else { $body->assign("META_TITLE", htmlspecialchars(str_replace("'","'",$config['siteTitle']))); $body->assign("META_DESC", $config['metaDescription']); $body->assign("META_KEYWORDS", $config['metaKeyWords']); } ?>