Файловый менеджер - Редактировать - C:/wwwroot/gamegowins.com/static/img/logo/popular-games.php.tar
�азад
C:/wwwroot/gamegowins.com/xhr/popular-games.php 0000666 00000002340 15032122442 0015551 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; $limit = 30; $row = ($page - 1) * $limit; $query = "SELECT * FROM zon_games WHERE game_published != 'No' AND game_played > " . $zon['config']['popular_views'] . " order by game_played desc, game_quality desc limit $row,$limit"; // $query = "SELECT * FROM zon_games"; $run = mysqli_query($con, $query); // $game = mysqli_fetch_all($run); foreach (getGamesByPopular("LIMIT $row,$limit") as $game ) { ?> <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'] ?>" > <img src="<?= $game['game_image_url'] ?>" /> </a> <div class="game-details gap-4"> <a href="<?php echo $site_url . 'game-details/' . makeSlug($game['game_name']) . '/' . $game['id'] ?>" class="text-xs line-clamp-2 font-semibold"> <?= $game['game_name'] ?> </a> </div> </div> </div> <?php } ?>