= 4.3) && function_exists('ini_get') && (ini_get('register_globals') == false) ) { extract($_SESSION, EXTR_OVERWRITE+EXTR_REFS); } // set SID once, even if empty $SID = (defined('SID') ? SID : ''); // set the language if (!tep_session_is_registered('language') || isset($HTTP_GET_VARS['language'])) { if (!tep_session_is_registered('language')) { tep_session_register('language'); tep_session_register('languages_id'); } include($_SERVER['DOCUMENT_ROOT'].'/'.DIR_WS_CLASSES . 'language.php'); $lng = new language(); if (isset($HTTP_GET_VARS['language']) && tep_not_null($HTTP_GET_VARS['language'])) { $lng->set_language($HTTP_GET_VARS['language']); } else { $lng->get_browser_language(); } $language = $lng->language['directory']; $languages_id = $lng->language['id']; } if($language == "en" or stristr($file,"english/")){ $language = "english"; $lng->language['directory'] = $language; $languages_id = 4; $lng->language['id'] = $languages_id; tep_session_register('language'); tep_session_register('languages_id'); } // include the language translations require($_SERVER['DOCUMENT_ROOT'].'/'.DIR_WS_LANGUAGES . $language . '.php'); // infobox require($_SERVER['DOCUMENT_ROOT'].'/'.DIR_WS_CLASSES . 'boxes.php'); // calculate category path if (isset($HTTP_GET_VARS['cPath'])) { $cPath = $HTTP_GET_VARS['cPath']; } elseif (isset($HTTP_GET_VARS['products_id']) && !isset($HTTP_GET_VARS['manufacturers_id'])) { $cPath = tep_get_product_path($HTTP_GET_VARS['products_id']); } else { $cPath = ''; } if (tep_not_null($cPath)) { $cPath_array = tep_parse_category_path($cPath); $cPath = implode('_', $cPath_array); $current_category_id = $cPath_array[(sizeof($cPath_array)-1)]; } else { $current_category_id = ""; } if($cPath == "" or !isset($cPath)){ $cPath = ""; $current_category_id = ""; $category_depth = 'products'; $cPath_array = array(); $cPath_array[0] = ""; } // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require($_SERVER['DOCUMENT_ROOT'].'/'.DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?>
|
Fell-shop.com, Lammfelle, Bekleidung, Zubehör, Lammfell Fußsack Webshop für Fellprodukte, Fellbekleidung und Zubehör, Felle, Lammfelle, Schaffelle, Fellprodukte, Lammfell Fußsack, Felldecken, Handschuhe, Fellwesten, Westen aus Lammfell, Lammfell Produkte, Lammfellprodukte Baby Felle, Babyfelle, Stiefel, Fellreinigung, Lammfellwesten, Stierfelle, Felljacken, Felldecken, Mützen, Betteinlagen aus Lammfell, Fellpflege, Fellbürste, Fellschuhe, Schuhe, Fellbekleidung Zur Startseite
|