home
/
aioutajg
/
playpauseonline.com
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] admin
N/A
[DIR] api
N/A
[DIR] assets
N/A
[DIR] blog-posts
N/A
[DIR] includes
N/A
[DIR] lib
N/A
[DIR] pages
N/A
[DIR] uploads
N/A
....install.php
951 bytes
Rename
Delete
.htaccess
877 bytes
Rename
Delete
ads.txt
58 bytes
Rename
Delete
composer.json
155 bytes
Rename
Delete
download.php
1.40 KB
Rename
Delete
favicon.ico
133.87 KB
Rename
Delete
index.php
67 bytes
Rename
Delete
rate_limit.log
140 bytes
Rename
Delete
robots.txt
232 bytes
Rename
Delete
sitemap.php
2.33 KB
Rename
Delete
thumbnails.php
2.33 KB
Rename
Delete
yt thumbnail downloader.zip
6.86 MB
Rename
Delete
<?php // sitemap.php (Place in root directory) // Remove ALL previous code and replace with this: // Start output buffering to trap any accidental output ob_start(); // Include configuration files WITHOUT output require __DIR__ . '/includes/config.php'; require __DIR__ . '/admin/config.php'; // Set headers before ANY output header('Content-Type: application/xml; charset=utf-8'); // Clear buffer to remove any previous output ob_clean(); // Start XML output echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n"; // Static Pages $static_pages = [ ['loc' => SITE_URL, 'priority' => '1.0', 'changefreq' => 'daily'], ['loc' => SITE_URL . '/pages/about', 'priority' => '0.8', 'changefreq' => 'weekly'], ['loc' => SITE_URL . '/pages/contact', 'priority' => '0.7', 'changefreq' => 'monthly'], ['loc' => SITE_URL . '/pages/terms', 'priority' => '0.6', 'changefreq' => 'yearly'], ['loc' => SITE_URL . '/pages/privacy', 'priority' => '0.6', 'changefreq' => 'yearly'], ['loc' => SITE_URL . '/pages/blog', 'priority' => '0.9', 'changefreq' => 'daily'], ['loc' => SITE_URL . '/pages/search', 'priority' => '0.9', 'changefreq' => 'daily'] ]; foreach ($static_pages as $page) { echo ' <url>' . "\n"; echo ' <loc>' . htmlspecialchars($page['loc']) . '</loc>' . "\n"; echo ' <lastmod>' . date('Y-m-d') . '</lastmod>' . "\n"; echo ' <changefreq>' . $page['changefreq'] . '</changefreq>' . "\n"; echo ' <priority>' . $page['priority'] . '</priority>' . "\n"; echo ' </url>' . "\n"; } // Dynamic Blog Posts $posts = $db->query("SELECT slug, updated_at FROM posts WHERE status = 'published'"); if ($posts) { while ($post = $posts->fetch_assoc()) { $url = SITE_URL . '/pages/post?slug=' . urlencode($post['slug']); $lastmod = date('Y-m-d', strtotime($post['updated_at'] ?? $post['created_at'])); echo ' <url>' . "\n"; echo ' <loc>' . htmlspecialchars($url) . '</loc>' . "\n"; echo ' <lastmod>' . $lastmod . '</lastmod>' . "\n"; echo ' <changefreq>weekly</changefreq>' . "\n"; echo ' <priority>0.8</priority>' . "\n"; echo ' </url>' . "\n"; } } echo '</urlset>'; // End output buffering and flush ob_end_flush();
Save