/** * Reload menu * @return void */ function ReloadMenu() { include_once './frontend/models/category.php'; include_once './frontend/models/product.php'; $category = CategorySelect(); include_once './frontend/views/common/menu.php'; }
/** * Hiện trang chủ * @param string * @return void */ function GetIndex($title = WEBSITENAME) { $slideimages = ProductSelectSlideShow(); //banner $branches = GetBranches(); //wheretobuy $category = CategorySelect(); //category ở trang product $promotions = GetCurrentPromotions(); //promotion ở trang promotion $countCart = isset($_SESSION['cart']) ? count($_SESSION['cart']) : 0; require_once './frontend/views/layouts/penny.php'; }