?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // 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(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> TITLE
Warning: main(DIR_WS_INCLUDESheader.php) [function.main]: failed to open stream: No such file or directory in /var/home/diro_co.at/www/diro.co.at/catalog/index.php on line 54

Warning: main(DIR_WS_INCLUDESheader.php) [function.main]: failed to open stream: No such file or directory in /var/home/diro_co.at/www/diro.co.at/catalog/index.php on line 54

Fatal error: main() [function.require]: Failed opening required 'DIR_WS_INCLUDESheader.php' (include_path='.:/usr/include/php:/usr/share/php') in /var/home/diro_co.at/www/diro.co.at/catalog/index.php on line 54