ter("add_to_cart_time"); x_session_register("always_allow_shop"); if (!empty($HTTP_GET_VARS["shopkey"])) $always_allow_shop = (!empty($config["General"]["shop_closed_key"]) && $HTTP_GET_VARS["shopkey"] == $config["General"]["shop_closed_key"]); if ($config["General"]["shop_closed"] == "Y" && !$always_allow_shop){ # # Close store front # Thanks to rubyaryat for the Shop Closed mod # if (!func_readfile($xcart_dir.DIRECTORY_SEPARATOR.$shop_closed_file, true)) echo func_get_langvar_by_name("txt_shop_temporarily_unaccessible"); exit(); } if(!empty($active_modules['Users_online'])) { x_session_register("current_url_page"); x_session_register("current_date"); x_session_register("session_create_date"); $current_url_page = $php_url['url'].($php_url['query_string']?"?".$php_url['query_string']:""); if(empty($session_create_date)) $session_create_date = time(); $current_date = time(); } # # Display # x_session_register("wlid"); if (isset($HTTP_GET_VARS["wlid"]) and $HTTP_GET_VARS["wlid"]) $wlid = $HTTP_GET_VARS["wlid"]; $smarty->assign("wlid", $wlid); # # Browser have disabled/enabled javasript switching # x_session_register("js_enabled", "Y"); if (!isset($js_enabled)) $js_enabled="Y"; if (isset($HTTP_GET_VARS["js"])) { if ($HTTP_GET_VARS["js"]=="y") { $js_enabled = "Y"; $config['Adaptives']['isJS'] = "Y"; $adaptives['isJS'] = "Y"; } elseif ($HTTP_GET_VARS["js"]=="n") $js_enabled = ""; } if ($js_enabled == "Y") { $qry_string = ereg_replace("(&*)js=y", "", $QUERY_STRING); $js_update_link = $PHP_SELF."?".($qry_string?"$qry_string&":"")."js=n"; } else { $qry_string = ereg_replace("(&*)js=n", "", $QUERY_STRING); $js_update_link = $PHP_SELF."?".($qry_string?"$qry_string&":"")."js=y"; } $smarty->assign("js_update_link", $js_update_link); $smarty->assign("js_enabled", $js_enabled); x_session_register("top_message"); if (!empty($top_message)) { $smarty->assign("top_message", $top_message); $top_message = ""; x_session_save("top_message"); } $current_area="C"; $cat = intval(@$cat); $page = intval(@$page); if(!empty($active_modules['XAffiliate'])) { include $xcart_dir."/include/partner_info.php"; include $xcart_dir."/include/adv_info.php"; } include $xcart_dir.DIR_CUSTOMER."/referer.php"; include $xcart_dir."/include/check_useraccount.php"; include $xcart_dir."/include/get_language.php"; $location[] = array($config["Company"]["company_name"], "home.php"); include $xcart_dir.DIR_CUSTOMER."/minicart.php"; if ($config["General"]["enable_tracking_statistics"] == "Y") { include $xcart_dir."/include/atracking.php"; } if(!empty($active_modules["Interneka"])) { include $xcart_dir."/modules/Interneka/interneka.php"; } if(!empty($active_modules["Subscriptions"])) { if ($login) { include $xcart_dir."/modules/Subscriptions/get_subscription_info.php"; $smarty->assign("user_subscription", is_user_subscribed($login)); } } $pages_menu = func_query("SELECT * FROM $sql_tbl[pages] WHERE language='$store_language' AND active='Y' AND level='E' ORDER BY orderby, title"); $smarty->assign("pages_menu", $pages_menu); $speed_bar = unserialize($config["speed_bar"]); if(!empty($speed_bar)) { foreach($speed_bar as $k => $v) { $speed_bar[$k] = func_array_map("stripslashes", $v); } $smarty->assign("speed_bar", $speed_bar); } unset($speed_bar); $smarty->assign("redirect","customer"); if (!empty($active_modules["News_Management"])) include $xcart_dir."/modules/News_Management/news_last.php"; if (!empty($active_modules["Feature_Comparison"]) && $config['Feature_Comparison']['fcomparison_show_product_list'] == 'Y') { $comparison_list = func_get_comparison_list(); $smarty->assign("comparison_list",$comparison_list); } $smarty->assign("printable", $printable); ?>
Warning: require(/include/categories.php) [function.require]: failed to open stream: No such file or directory in /home/highholy/public_html/shop/home.php on line 40

Fatal error: require() [function.require]: Failed opening required '/include/categories.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/highholy/public_html/shop/home.php on line 40