|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TEST/www/wp-content/plugins/wp/../../themes/cleanmate/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<?php global $theme_options; ?>
<head>
<!--meta-->
<meta http-equiv="content-type" content="text/html; charset=<?php echo esc_attr(get_bloginfo("charset")); ?>" />
<meta name="generator" content="WordPress <?php echo esc_attr(get_bloginfo("version")); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.2" />
<meta name="description" content="<?php echo esc_html(get_bloginfo('description')); ?>" />
<meta name="format-detection" content="telephone=no" />
<!--style-->
<link rel="alternate" type="application/rss+xml" title="<?php esc_attr_e('RSS 2.0', 'cleanmate'); ?>" href="<?php echo esc_url(get_bloginfo("rss2_url")); ?>" />
<link rel="pingback" href="<?php echo esc_url(get_bloginfo("pingback_url")); ?>" />
<?php
if(!function_exists('has_site_icon') || !has_site_icon())
{
?>
<link rel="shortcut icon" href="<?php echo (empty($theme_options["favicon_url"]) ? esc_url(get_template_directory_uri() . "/images/favicon.ico") : esc_url($theme_options["favicon_url"])); ?>" />
<?php
}
wp_head();
?>
</head>
<?php
$image_overlay = ((!isset($_COOKIE['cm_image_overlay']) && $theme_options['layout_image_overlay']=='overlay') || ((isset($_COOKIE['cm_image_overlay']) && $_COOKIE['cm_image_overlay']=='overlay') || (!isset($_COOKIE['cm_image_overlay']) && $theme_options['layout_image_overlay']=='')) ? ' overlay' : '');
$layout_style_class = (isset($_COOKIE['cm_layout']) && $_COOKIE['cm_layout']=="boxed" ? (isset($_COOKIE['cm_layout_style']) && $_COOKIE['cm_layout_style']!="" ? $_COOKIE['cm_layout_style'] . $image_overlay : 'image-1' . $image_overlay) : (isset($theme_options['layout']) && $theme_options['layout']=="boxed" ? (isset($theme_options['layout_style']) && $theme_options['layout_style']!="" ? $theme_options['layout_style'] . (substr($theme_options['layout_style'], 0, 5)=="image" && isset($theme_options['layout_image_overlay']) && $theme_options['layout_image_overlay']!="0" ? $image_overlay : '') : 'image-1' . $image_overlay) : ''));
?>
<body <?php body_class(($layout_style_class!="color_preview" ? esc_attr($layout_style_class) : "") . ($theme_options["header_top_sidebar"]!="" ? ' with-topbar' : '')); ?>>
<div class="site-container<?php echo (isset($_COOKIE['cm_layout']) ? ($_COOKIE['cm_layout']=="boxed" ? ' boxed' : '') : ($theme_options['layout']=="boxed" ? ' boxed' : '')); ?>">
<?php
$has_post_thumbnail = has_post_thumbnail();
$current_page_id = get_the_ID();
$current_page_template = get_page_template();
$current_page_main_slider = get_post_meta($current_page_id, "main_slider", true);
$overlay = true;
if(get_post_type()=="ql_services")
{
/*get page with single service template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'single-ql_services.php'
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
}
else if(get_post_type()=="ql_projects")
{
/*get page with single project template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'single-ql_projects.php'
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
}
else if(get_post_type()=="ql_team")
{
/*get page with single team template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'single-ql_team.php'
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
}
else if(is_single())
{
/*get page with single post template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'single.php'
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
else
{
$has_post_thumbnail = false;
$overlay = false;
}
}
else if(is_plugin_active('woocommerce/woocommerce.php') && is_shop())
{
$current_page_id = get_option("woocommerce_shop_page_id");
$has_post_thumbnail = has_post_thumbnail($current_page_id);
}
else if(is_search())
{
/*get page with search template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'search.php'
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
}
else if(is_archive())
{
/*get page with blog template set*/
$post_template_page_array = get_pages(array(
'post_type' => 'page',
'post_status' => 'publish',
'meta_key' => '_wp_page_template',
'meta_value' => 'template-blog.php',
'sort_order' => 'ASC',
'sort_column' => 'menu_order',
));
if(count($post_template_page_array))
{
$post_template_page_array = array_values($post_template_page_array);
$post_template_page = $post_template_page_array[0];
if(count($post_template_page_array) && isset($post_template_page))
{
$has_post_thumbnail = has_post_thumbnail($post_template_page);
$current_page_id = $post_template_page->ID;
}
}
}
else if(basename($current_page_template)=="template-home.php" && !empty($current_page_main_slider))
{
$has_post_thumbnail = true;
$overlay = false;
}
else if(is_home())
{
$has_post_thumbnail = false;
$overlay = false;
}
if($has_post_thumbnail)
{
?>
<div class="transparent-header-container <?php echo ($overlay ? 'overlay' : 'height-auto'); ?>">
<?php
}
if((!isset($_COOKIE['cm_header_top_bar']) || $_COOKIE['cm_header_top_bar']=="yes") && $theme_options["header_top_sidebar"]!="")
{
?>
<div class="header-top-bar-container clearfix">
<?php
$sidebar = get_post($theme_options["header_top_sidebar"]);
if(isset($sidebar) && !(int)get_post_meta($sidebar->ID, "hidden", true) && is_active_sidebar($sidebar->post_name)):
?>
<div class="header-top-bar<?php echo ((int)get_post_meta($sidebar->ID, "hide_on_mobiles", true) ? ' hide-on-mobiles' : ''); ?>">
<?php
dynamic_sidebar($sidebar->post_name);
?>
</div>
<a href="#" class="header-toggle template-arrow-vertical-3"></a>
<?php
endif;
?>
</div>
<?php
}
$menu_type = (isset($_COOKIE['cm_menu_type']) && $_COOKIE['cm_menu_type']!="" ? ' ' . $_COOKIE['cm_menu_type'] : ((int)$theme_options["sticky_menu"] ? ' sticky' : ''));
?>
<!-- Header -->
<div class="header-container<?php echo !empty($menu_type) ? esc_attr($menu_type) : ''; ?>">
<div class="header clearfix">
<?php
$header_type = (isset($_COOKIE['cm_header_type']) && $_COOKIE['cm_header_type']!="" ? $_COOKIE['cm_header_type'] : (get_post_meta($current_page_id, "header_type", true) ? get_post_meta($current_page_id, "header_type", true) : $theme_options["header_type"]));
$locations = get_nav_menu_locations();
if($header_type=="type_1")
{
//Get menu object
if(isset($locations["main-menu-1"]))
{
$main_menu_object = get_term($locations["main-menu-1"], "nav_menu");
if(has_nav_menu("main-menu-1") && $main_menu_object->count>0)
{
?>
<div class="menu-container first-menu clearfix">
<?php
wp_nav_menu(array(
"container" => "nav",
"theme_location" => "main-menu-1",
"menu_class" => "sf-menu"
));
?>
</div>
<?php
}
}
}
if(isset($locations["main-menu"]))
{
$main_menu_object = get_term($locations["main-menu"], "nav_menu");
if(has_nav_menu("main-menu") && $main_menu_object->count>0)
{
?>
<div class="mobile-menu-container">
<?php
wp_nav_menu(array(
"container" => "nav",
"theme_location" => "main-menu",
"menu_class" => "mobile-menu" . (!isset($theme_options["collapsible_mobile_submenus"]) || (int)$theme_options["collapsible_mobile_submenus"] ? " collapsible-mobile-submenus" : ""),
"walker" => (!isset($theme_options["collapsible_mobile_submenus"]) || (int)$theme_options["collapsible_mobile_submenus"] ? new Mobile_Menu_Walker_Nav_Menu() : '')
));
?>
</div>
<?php
}
}
?>
<div class="logo">
<h1<?php echo ($header_type=="type_1" ? ' class="hidden-element"' : ''); ?>><a href="<?php echo esc_url(get_home_url()); ?>" title="<?php echo esc_attr(get_bloginfo("name")); ?>">
<?php
$logo_url = "";
$logo_retina_url = "";
if($theme_options["logo_url"]!=""):
$logo_url = $theme_options["logo_url"];
if(isset($_COOKIE['cm_main_color']))
{
if($_COOKIE['cm_main_color']=="DAA533")
{
$logo_url = get_template_directory_uri() . "/images/logo_gold.png";
}
else if($_COOKIE['cm_main_color']=="75A3C0")
{
$logo_url = get_template_directory_uri() . "/images/logo_glacier.png";
}
else if($_COOKIE['cm_main_color']=="DE9876")
{
$logo_url = get_template_directory_uri() . "/images/logo_tumbleweed.png";
}
else if($_COOKIE['cm_main_color']=="36B4B6")
{
$logo_url = get_template_directory_uri() . "/images/logo_viking.png";
}
else if($_COOKIE['cm_main_color']=="9884B8")
{
$logo_url = get_template_directory_uri() . "/images/logo_purple.png";
}
}
if($theme_options["logo_retina_url"]!="")
{
$logo_retina_url = $theme_options["logo_retina_url"];
if(isset($_COOKIE['cm_main_color']))
{
if($_COOKIE['cm_main_color']=="DAA533")
{
$logo_retina_url = get_template_directory_uri() . "/images/logo_retina_gold.png";
}
else if($_COOKIE['cm_main_color']=="75A3C0")
{
$logo_retina_url = get_template_directory_uri() . "/images/logo_retina_glacier.png";
}
else if($_COOKIE['cm_main_color']=="DE9876")
{
$logo_retina_url = get_template_directory_uri() . "/images/logo_retina_tumbleweed.png";
}
else if($_COOKIE['cm_main_color']=="36B4B6")
{
$logo_retina_url = get_template_directory_uri() . "/images/logo_retina_viking.png";
}
else if($_COOKIE['cm_main_color']=="9884B8")
{
$logo_retina_url = get_template_directory_uri() . "/images/logo_retina_purple.png";
}
}
}
?>
<img src="<?php echo esc_url($logo_url); ?>" <?php echo ($logo_retina_url!="" ? ' srcset="' . esc_url($logo_retina_url) . ' 2x"' : '');?> class="<?php echo ($has_post_thumbnail ? 'secondary-logo' : 'primary-logo'); ?>" alt="logo">
<?php endif; ?>
<?php if($theme_options["alternative_logo_url"]!=""): ?>
<img src="<?php echo esc_url($theme_options["alternative_logo_url"]); ?>" <?php echo ($theme_options["alternative_logo_retina_url"]!="" ? ' srcset="' . esc_url($theme_options["alternative_logo_retina_url"]) . ' 2x"' : '');?> class="<?php echo ($has_post_thumbnail ? 'primary-logo' : 'secondary-logo'); ?>" alt="logo">
<?php endif; ?>
<?php if($theme_options["logo_text"]!=""): ?>
<span class="logo-text"><?php echo $theme_options["logo_text"]; ?></span>
<?php endif; ?>
</a></h1>
<?php if($header_type=="type_1"): ?>
<div class="logo-clone">
<h1><a href="<?php echo esc_url(get_home_url()); ?>" title="<?php echo esc_attr(get_bloginfo("name")); ?>">
<?php if($logo_url!=""): ?>
<img src="<?php echo esc_url($logo_url); ?>" <?php echo ($logo_retina_url!="" ? ' srcset="' . esc_url($logo_retina_url) . ' 2x"' : '');?> class="<?php echo ($has_post_thumbnail ? 'secondary-logo' : 'primary-logo'); ?>" alt="logo">
<?php endif; ?>
<?php if($theme_options["alternative_logo_url"]!=""): ?>
<img src="<?php echo esc_url($theme_options["alternative_logo_url"]); ?>" <?php echo ($theme_options["alternative_logo_retina_url"]!="" ? ' srcset="' . esc_url($theme_options["alternative_logo_retina_url"]) . ' 2x"' : '');?> class="<?php echo ($has_post_thumbnail ? 'primary-logo' : 'secondary-logo'); ?>" alt="logo">
<?php endif; ?>
<?php if($theme_options["logo_text"]!=""): ?>
<span class="logo-text"><?php echo $theme_options["logo_text"]; ?></span>
<?php endif; ?>
</a></h1>
</div>
<?php endif; ?>
</div>
<a href="#" class="mobile-menu-switch">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
</a>
<?php
if($header_type=="type_1")
{
//Get menu object
$locations = get_nav_menu_locations();
if(isset($locations["main-menu-2"]))
{
$main_menu_object = get_term($locations["main-menu-2"], "nav_menu");
if(has_nav_menu("main-menu-2") && $main_menu_object->count>0)
{
?>
<div class="menu-container second-menu clearfix">
<?php
wp_nav_menu(array(
"container" => "nav",
"theme_location" => "main-menu-2",
"menu_class" => "sf-menu"
));
?>
</div>
<?php
}
}
}
else
{
//Get menu object
$locations = get_nav_menu_locations();
if(isset($locations["main-menu"]))
{
$main_menu_object = get_term($locations["main-menu"], "nav_menu");
if(has_nav_menu("main-menu") && $main_menu_object->count>0)
{
?>
<div class="menu-container clearfix">
<?php
wp_nav_menu(array(
"container" => "nav",
"theme_location" => "main-menu",
"menu_class" => "sf-menu"
));
?>
</div>
<?php
}
}
}
if($theme_options["header_menu_sidebar"]!="")
{
$sidebar = get_post($theme_options["header_menu_sidebar"]);
if(isset($sidebar) && !(int)get_post_meta($sidebar->ID, "hidden", true) && is_active_sidebar($sidebar->post_name)):
?>
<div class="header-icons-container<?php echo ((int)get_post_meta($sidebar->ID, "hide_on_mobiles", true) ? ' hide-on-mobiles' : ''); ?>">
<?php
dynamic_sidebar($sidebar->post_name);
?>
</div>
<?php
endif;
}
?>
</div>
</div>
<!-- /Header -->