]]jkjjgdjffksdkdxmnnnnnnnnnnnmnmmnmnmnmnmbnwqeqwewqskfgj
במ12[cvbnvbnvbnvbnnmnnmnmnnmnmnmnmnmnmmnnmnmnmqewv;'
/
home
/
cgniioxq
/
public_html
/
Upload FileeE
HOME
<?php include_once 'Config.php'; // Create a new XML document $xml = new XMLWriter(); $xml->openMemory(); $xml->setIndent(true); $xml->setIndentString(' '); // Use 4 spaces for indentation $xml->startDocument('1.0', 'UTF-8'); // Start the <urlset> element $xml->startElement('urlset'); $xml->writeAttribute('xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9'); // Loop through each URL and add it to the sitemap $listing=$mysqli->query("SELECT listing.listing_id,listing.slug,city.city_slug,location.location_slug FROM listing left JOIN state ON listing.state_id = state.state_id left JOIN city ON listing.city_id = city.city_id left JOIN location ON listing.location_id = location.location_id WHERE listing.status='1' order by listing.listing_id DESC"); if($listing->num_rows > 0){ while($row=$listing->fetch_assoc()) { $urls = $row['city_slug']; $location_urls = $row['location_slug']; $listing_slug= substr($row['slug'],0,40); $listing_id=$row['listing_id']; $url_all = 'https://www.cgnight.net/call-girls/'.$urls .'/'.$location_urls . '/'.$listing_slug . '-' .$listing_id; $xml->startElement('url'); $xml->writeElement('loc', htmlspecialchars($url_all)); // Ensure URL is properly encoded $xml->writeElement('lastmod', date('Y-m-d')); // Use last modification date of the page c $xml->writeElement('changefreq', 'daily'); // Set change frequency $xml->writeElement('priority', '1.0'); // Set priority (optional) $xml->endElement(); // End <url> element } } // End the <urlset> element $xml->endElement(); // Output the formatted XML header('Content-type: application/xml'); echo $xml->outputMemory(true); ?>