AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ludmqhh/www/provence-plomberie/../guillaume/wp-content/themes/flexblog/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/provence-plomberie/../guillaume/wp-content/themes/flexblog/header.php
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php esc_attr( bloginfo( 'charset' ) ); ?>">
	<meta name="description" content="<?php esc_attr( bloginfo( 'description' ) ); ?>">
	<!-- Mobile Specific Meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<?php wp_head(); ?>
	<!-- Include js plugin -->
</head>
<?php 
// Get Data
$header_options = get_option( 'infinity_header' );
$carousel_options = get_option( 'infinity_carousel' );
$content_options = get_option( 'infinity_content' );
?>

<body <?php body_class(); ?> >

<!-- Fixed Sidebar -->
<div class="fixed-sidebar-close"></div>
<div class="fixed-sidebar" data-width="<?php echo esc_attr( $content_options['sidebar_width'] ); ?>">
	<div class="fixed-sidebar-close-btn">
		<i class="fa fa-reply"></i>
	</div>
	<?php
	if ( is_active_sidebar( 'sidebar-2' ) ) {
		dynamic_sidebar( 'sidebar-2' );
	}
	?>
</div>

<div class="main-wrap">

<!-- Search Form -->
<div class="header-search-wrap">
	<div class="header-search">
		<div class="search-title"><?php esc_html_e('Do you want Search?', 'flexblog' ); ?></div>
		<?php echo infinity_search_form(true); ?>
	</div>
</div>

<!-- Header -->
<header class="header-wrap">
	<!-- Header Top -->
	<?php if ( $header_options['top_menu'] ): ?>
	<div class="header-top">
		<div class="center-width">
			
			<!-- Random Button  -->
			<?php infinity_random_btn(); ?>
			<!-- Fixed Sidebar Button -->
			<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
		    <div class="sidebar-btn">
		    	<span></span>
		    </div>
			<?php endif; ?>


			<?php
				infinity_social('header-social');
				infinity_nav_menu( 'top-nav', 'top-menu' ); 
			?>
			<div class="clear"></div>
		</div>
	</div>
	<?php endif; ?>

	<?php
	
	$header_img = $header_options['bg_img'];
	$header_logo = ( $header_options['logo'] !== '' ) ? true : false;

	if ( is_category() ) {
		$category = get_category( get_query_var( 'cat' ) );
		$cat_id = $category->cat_ID;
		$caregory_logo = get_term_meta ( $cat_id, 'category-logo', true );
		$caregory_header_img = get_term_meta ( $cat_id, 'category-header-img-data', true );
		if ( $caregory_header_img ) {
			$header_img = $caregory_header_img;
		}
		if ( $caregory_logo ) {
			$header_logo = false;
		}
	}

	if ( is_single() || is_page() ) {
		$page_logo = get_post_meta ( get_the_ID(), 'hide-logo', true );
		$page_header_img = get_post_meta ( get_the_ID(), 'page-header-img-data', true );
		if ( $page_header_img ) {
			$header_img = $page_header_img;
		}
		if ( $page_logo ) {
			$header_logo = false;
		}
	}

	?>

	<!-- Header Center -->
	<div class="header-center" style="background-image:url(<?php echo esc_url( $header_img ); ?>)">
		<div class="center-width">	

			<!-- header  Logo -->
			<?php if ( $header_logo ): ?>
			<div class="logo">
				<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr( bloginfo('name') ); ?>" >
					<img src="<?php echo esc_url( $header_options['logo'] ); ?>" alt="<?php esc_attr( bloginfo('name') ); ?>">
				</a>	
			</div>
			<?php endif; ?>
			<div class="clear"></div>
		</div>
	</div>

	<!-- Header Bottom -->
	<?php
		infinity_header_bottom('header-bottom');
		infinity_breadcrumb();		
	?>

	<!-- Fixed Header Bottom -->
	<?php
		if ( $header_options['fixed_menu'] ) {
			infinity_header_bottom('fixed-header-bottom');
		}
	?>

	<div class="responsive-column"></div>
<!-- // end header -->
</header>

AnonSec - 2021