<?php include '../model/mCart.php'; include '../model/mCategory.php'; include '../model/mProductLister.php'; if (mCart::is_empty()) { $cart_count = 0; } else { $cart_count = mCart::get_cart_products_number(); } $categories = mCategory::get_categories($_GET['c']); $products = mProductLister::get_category_list($_GET['c']); $cat_name = mCategory::get_category($_GET['c']); $shortcut = mCategory::get_shortcut($_GET['c']);