Файловый менеджер - Редактировать - C:/wwwroot/gamegowins.com/static/img/logo/games-by-category.php.tar
�азад
C:/wwwroot/gamegowins.com/xhr/games-by-category.php 0000666 00000002016 15032123774 0016325 0 ustar 00 <?php require_once '../config.php'; require_once '../app/includes/constant.php'; require_once '../app/includes/app_start.php'; $page = $_POST['page'] ?? 1; $category = $_POST['category'] ?? ''; $limit = 40; $row = ($page - 1) * $limit; $query = "SELECT * from zon_games WHERE game_category='$category' AND game_published != 'No' order by game_sort DESC, game_quality DESC limit $row,$limit"; $run = mysqli_query($con, $query); if (num_rows(T_ZON_GAMES, "game_category='$category'") > 0) { while ($game = mysqli_fetch_assoc($run)) { ?> <div class="rounded-lg wow <?php echo $zon['config']['animate_class'] ?> "> <div class="game-card w-full"> <a href="<?php echo $site_url . 'game-details/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-md line-clamp-2 font-semibold"> <img src="<?= $game['game_image_url'] ?>" /> </a> </div> </div> <?php } } else { echo "There are no games in this category right now."; } ?>