public function actionIndex()
 {
     $platforms = array();
     $platforms = Platform::getPlatformList();
     $genres = array();
     $genres = Genre::getGenreList();
     $productList = array();
     $productList = Products::getProducts(6);
     require_once ROOT . '/views/site/index.php';
     return true;
 }
 public function actionGenre($genreId, $page = 1)
 {
     $platforms = array();
     $platforms = Platform::getPlatformList();
     $genres = array();
     $genres = Genre::getGenreList();
     $products = array();
     $products = Products::getProductsListByGenre($genreId, $page);
     $total = Products::getTotalProductInGenre($genreId);
     $pagination = new Pagination($total, $page, Products::SHOW_BY_DEFAULT, 'page-');
     require_once ROOT . '/views/catalog/category.php';
     return true;
 }