HEX
Server: Apache
System: Linux host35.server.ae 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: nokatech (2100)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nokatech/public_html/wp-content/themes/consultox/header.php
<?php
/**
 * The header for our theme
 */
$options = consultox_WSH()->option();
$allowed_html = wp_kses_allowed_html( 'post' );
$icon_href = $options->get( 'image_favicon' ); 
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<?php if (function_exists( 'has_site_icon' ) || has_site_icon() ): ?>
		<?php if( $icon_href ):?>	
		<!-- Fav Icon -->
		<link rel="icon" href="<?php echo esc_url($icon_href['url']); ?>" type="image/x-icon">
		<?php endif; ?>
		<?php endif; ?>
		<!-- Responsive -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <?php wp_head(); ?>
</head>
	
<body <?php body_class(); ?>> 
<?php
if ( ! function_exists( 'wp_body_open' ) ) {
		function wp_body_open() {
			do_action( 'wp_body_open' );
		}
}?>

	
	

	
	
<main class="boxed_wrapper <?php if($options->get( 'theme_rtl' ) ): echo esc_attr_e( 'rtl', 'consultox' ); endif;?>">		
<?php do_action('consultox_main_header' ); ?>	
	
<?php if (!$options->get('theme_preloader')): ?>
    <!-- preloader -->
    <div class="mr_loader-wrap">
        <div class="mr_preloader">
            <div class="mr_preloader-close">x</div>
            <div id="mr_handle-preloader" class="mr_handle-preloader home-16">
                <div class="mr_animation-preloader">
                    <div class="spinner"></div>
                    <div class="txt-loading">
                        <div class="txt-loading">
                            <?php 
                            $preloader_text = $options->get('preloader_text_a', 'ConsulTOX'); // Default text
                            $letters = str_split($preloader_text); // Split into letters
                            
                            // Loop through each letter
                            foreach ($letters as $letter): ?>
                                <span data-text-preloader="<?php echo esc_attr($letter); ?>" class="letters-loading">
                                    <?php echo esc_html($letter); ?>
                                </span>
                            <?php endforeach; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- preloader end -->
<?php endif; ?>