HEX
Server: Apache
System: Linux server.mart2global.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: henzergrouphenz (1442)
PHP: 7.4.28
Disabled: NONE
Upload Files
File: /home/henzergrouphenz/public_html/wp-content/themes/metro/404.php
<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

namespace radiustheme\Metro;

$bgimg = empty( RDTheme::$options['error_bgimg']['url'] ) ? Helper::get_img( '404bg.jpg' ) : RDTheme::$options['error_bgimg']['url'];
$error_img = empty( RDTheme::$options['error_404img']['url'] ) ? Helper::get_img( '404.png' ) : RDTheme::$options['error_404img']['url'];
?>
<?php get_header();?>
<div id="primary" class="content-area error-page-area" style="background-image: url( <?php echo esc_url($bgimg ); ?> );">
	<div class="container">
		<div class="error-page">

			<div class="rtin-img"><img src="<?php echo esc_url( $error_img );?>" alt="<?php esc_attr_e( '404', 'metro' );?>"></div>
			
			<?php if ( RDTheme::$options['error_text_1'] ): ?>
				<h2><?php echo esc_html( RDTheme::$options['error_text_1'] );?></h2>
			<?php endif; ?>

			<?php if ( RDTheme::$options['error_text_2'] ): ?>
				<h3><?php echo esc_html( RDTheme::$options['error_text_2'] );?></h3>
			<?php endif; ?>
			
			<?php if ( RDTheme::$options['error_buttontext'] ): ?>
				<div class="error-btn"><a href="<?php echo esc_url( home_url( '/' ) );?>"><?php echo esc_html( RDTheme::$options['error_buttontext'] );?></a></div>
			<?php endif; ?>
		</div>
	</div>
</div>
<?php get_footer(); ?>