HEX
Server: Apache/2.2.22 (Debian)
System: Linux ns382018.ip-46-105-97.eu 3.14.32-xxxx-grs-ipv6-64 #9 SMP Thu Oct 20 14:53:52 CEST 2016 x86_64
User: web279 (5281)
PHP: 5.4.45-0+deb7u8
Disabled: NONE
Upload Files
File: /var/www/clients/client0/web279/web/MTDrubik/themes/twentyseventeen/footer.php
<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.2
 */

?>
<footer>
  <div class="bloc_footer">
    <div class="container">
      <div class="logo_footer"> <a href="<?php echo get_home_url(); ?>"> <img src="<?php bloginfo('template_url'); ?>/images/logo_footer.png"> </a> </div>
      <!--logo_footer-->
      <div class="menu1_footer">
        <ul>
          <li class="<?php if(is_page(5)) echo 'active' ; ?>"> <a href="<?php echo get_permalink( '5' ); ?>"><?php echo get_the_title('5'); ?></a> </li>
          <li class="prod_footer"> <?php echo Our_Products ;?>
            <ul class="menu_prod_footer">
              <li>  <?php 
					$n_1=0;
				    $args_1 = array(					  
						'type' => 'post',
						'child_of' => 0,
						'parent' => 3,
						'orderby' => 'order',
						'hide_empty'=> 0 ,
                     
                     ); 
                     $categories_1 = get_categories( $args_1 ); 
                    foreach ($categories_1 as $value_1) {
					  $n_1++;
					  if($n_1==1){?>
					 
       <a href="<?php echo get_category_link($value_1->cat_ID);?>?cat=<?php echo '3';?>">> <?php echo get_cat_name('3'); ?></a><?php }}?></li>
              <li>    <?php 
					$n_2=0;
				    $args_2 = array(					  
						'type' => 'post',
						'child_of' => 0,
						'parent' => 4,
						'orderby' => 'order',
						'hide_empty'=> 0 ,
                     
                     ); 
                     $categories_2 = get_categories( $args_2 ); 
                    foreach ($categories_2 as $value_2) {
					  $n_2++;
					  if($n_2==1){?>
        <a href="<?php echo get_category_link($value_2->cat_ID);?>?cat=<?php echo '4';?>">> <?php echo get_cat_name('4'); ?></a><?php }}?></li>
              <li class="<?php if(is_category(6)){echo 'active' ; }?>">> <a href="<?php echo get_category_link('6');?>?cat=<?php echo '0';?>"><?php echo get_cat_name('6'); ?></a> </li>
                      <li class="<?php if(is_category(7)){echo 'active' ; }?>">> <a href="<?php echo get_category_link('7');?>?cat=<?php echo '0';?>"><?php echo get_cat_name('7'); ?></a> </li>
            </ul>
          </li>
           <li class="<?php if(is_category(2)){echo 'active' ; }?>"> <a href="<?php echo get_category_link('2');?>"><?php echo get_cat_name('2'); ?></a> </li>
          <li class="<?php if(is_page(8)) echo 'active' ; ?>"> <a href="<?php echo get_permalink( '8' ); ?>"><?php echo get_the_title('8'); ?></a> </li>
          
          <div class="clear"></div>
        </ul>
      </div>
      <?php 
			query_posts( 'page_id=8');
			if ( have_posts() ) : the_post();
		?> 
      <div class="content_info_contact info_nos_adresse">
        <div class="titre_footer"><?php echo contact_us ;?></div>
        <div class="adresse_info_contact"><?php the_content(); ?> <a href="mailto:<?php echo get_field('email'); ?>"><?php echo get_field('email'); ?></a></div>
      </div>
      <!--info_nos_adresse-->
      <div class="sociaux_footer">
        <div class="titre_footer"><?php echo join_our ;?><br>
          <?php echo community ;?></div>
        <div class="share-social02 wow fadeInRight">
          <ul>
            <li class="social_icone"> <a href="<?php echo get_field('twitter'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" alt="twiter" onMouseOver="this.src='<?php bloginfo('template_url'); ?>/images/twitter.png'" onMouseOut="this.src='<?php bloginfo('template_url'); ?>/images/twitter.png'"> </a> </li>
            <li class="social_icone"> <a href="<?php echo get_field('facebook'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/fb.png" alt="facebook" onMouseOver="this.src='<?php bloginfo('template_url'); ?>/images/fb.png'" onMouseOut="this.src='<?php bloginfo('template_url'); ?>/images/fb.png'"> </a> </li>
            <li class="social_icone"> <a href="<?php echo get_field('youtube'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/yb.png" alt="twiter" onMouseOver="this.src='<?php bloginfo('template_url'); ?>/images/yb.png'" onMouseOut="this.src='<?php bloginfo('template_url'); ?>/images/yb.png'"> </a> </li>
            <div class="clear"></div>
          </ul>
        </div>
        <!--share_sociale-->
      </div>
      <!--logo_footer-->
      <?php endif; wp_reset_query(); ?>
      <div class="clear"></div>
    </div>
    <!--container-->
  </div>
  <!--bloc_footer-->
  <div class="signature"> <a href="http://www.mtd-group.biz/" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/signature.png"  class="wow fadeInDown animated" data-wow-duration="1s"> </a> </div>
</footer>
<?php wp_footer(); ?>

</body>
<!--script bootstrap-->
<script src="<?php bloginfo('template_url'); ?>/js/bootstrap.js"></script>
<!--script bootstrap-->
<!--script menu-->
<script src="<?php bloginfo('template_url'); ?>/js/tm-scripts.js"></script>
<!--script carousel-->
<script src="<?php bloginfo('template_url'); ?>/js/owl.carousel.min.js"></script>
<!--script carousel-->
<script src="<?php bloginfo('template_url'); ?>/js/owl.carousel2.js"></script>
<!--tabs-->
<script src="<?php bloginfo('template_url'); ?>/js/zozo.tabs.js"></script>
<!--tabs-->
<script>
	$(".btn1a").click(
	function () {
	$(".btn1a").hide();
	$(".btn1b").show();
	$( ".bloc-search" ).addClass('block');
	$( ".bloc-search" ).removeClass('none');
	});	
	$(".btn1b").click(
	function () {
	$( ".bloc-search" ).addClass('none');
	$( ".bloc-search" ).removeClass('block');
	$(".btn1b").hide();
	$(".btn1a").show();

	});
	
</script>
<script>
    $(document).ready(function() {
	
	  $(".owl-demo1").owlCarousels({
	  items:1,
	  singleItem:true,
	  autoPlay : true,
	  navigation : false,
	  slideSpeed : 300,
	  paginationSpeed : 400,
	   pagination : false,
		mouseDrag : true,
	   transitionStyle : "fade"
	  });
	
	$(".owl-demo2").owlCarousels({
		autoPlay: true,
		items :3,
		itemsDesktop : [1300,3],
		itemsDesktopSmall : [1038,2],

		itemsMobile : [450, 1],
		pagination:false,
		navigation:false,

	  });
	  $(".owl-demo3").owlCarousels({
		autoPlay: true,
		items :6,
		itemsDesktop : [1300,5],
		itemsDesktopSmall : [1000,4],
		itemsTablet	:[850,3],
		itemsMobile : [450, 1],
		pagination:false,
		navigation:true,
	    transitionStyle :"fade"
	  });
	  /*tabs*/
	$(".tabbed-nav").zozoTabs({
		theme: "silver",
		orientation: "horizontal",
		position: "top-compact",
		size: "medium",
		animation: {
			easing: "easeInOutExpo",
			duration: 400,
			effects: "fade"
		},
		defaultTab: "tab1"
	});
	/*tabs*/
	$(".owl-demo4").owlCarousels({
		autoPlay: true,
		items :5,
		itemsDesktop : [1300,4],
		itemsDesktopSmall : [1000,3],
		itemsTablet	:[700,2],
		itemsMobile : [450, 1],
		pagination:false,
		navigation:true,
	    transitionStyle :"fade"
	  });
	    $(".owl-demo6").owlCarousels({
		autoPlay: true,
		items :4,
		itemsDesktop : [1300,4],
		itemsDesktopSmall : [1000,3],
		itemsTablet	:[700,2],
		itemsMobile : [450, 1],
		pagination:false,
		navigation:true,
	    transitionStyle :"fade"
	  }); 
	  
	    $(".slider-index").owlCarousels({
              autoPlay : 3500,//false
              navigation : false,
              slideSpeed : 1500,
              paginationSpeed : 400,
              singleItem : true,
               pagination : true,
                mouseDrag : false,
               transitionStyle : "fade"
        
              });
		$(".slider-index .owl-controls.clickable .owl-pagination").addClass("container");
		
});
	
</script>
<!--script carousel-->
<!--scroll top-->
<script>            
	jQuery(document).ready(function() {
		var offset = 250;
		var duration = 1500;
		jQuery(window).scroll(function() {
			if (jQuery(this).scrollTop() > offset) {
				jQuery('.back-to-top').fadeIn(duration);
			} else {
				jQuery('.back-to-top').fadeOut(duration);
			}
		});
		
		jQuery('.back-to-top').click(function(event) {
			event.preventDefault();
			jQuery('html, body').animate({scrollTop: 0}, duration);
			return false;
		})
		
	});
</script>
<!--scroll top-->
<!--map-->
<script>
$(".btn1a").click(
  function () {
    $("#block-index1").animate({left:"0px"}, 600);
	$(".btn1a").hide();
	$(".btn1b").show();
    $("#block-index1").addClass('red');
  });
$(".btn1b").click(
  function () {
    $("#block-index1").animate({left:"-590px"}, 600);
	$(".btn1b").hide();
	$(".btn1a").show();
    $("#block-index1").removeClass('red');
  });
</script>
<!--map-->
<script>
        $('#map_canvas1').addClass('scrolloff'); // set the pointer events to none on doc ready
        $('#canvas1').on('click', function () {
            $('#map_canvas1').removeClass('scrolloff'); // set the pointer events true on click
        });

        // you want to disable pointer events when the mouse leave the canvas area;

        $("#map_canvas1").mouseleave(function () {
            $('#map_canvas1').addClass('scrolloff'); // set the pointer events to none when mouse leaves the map area
        });
</script>
<script>
	if (window.matchMedia("(min-width: 768px)").matches) {	
	function HeightBloc() {
			var n = $( ".box-one-ind" ).innerHeight();
			$( ".box-tow-ind img" ).css({"height":n });
				}
			$(window).load(function(){
	
			 HeightBloc();
			
			 $(window).resize(function() {
			   HeightBloc();
			 });
			 
			 
			 
			});
	function HeightBloc2() {
			var p = $( ".row-act-ind" ).innerHeight();
			$( ".heghit-pict img" ).css({"height":p });
				}
				
				
			$(window).load(function(){
	
			 HeightBloc2();
			
			 $(window).resize(function() {
			   HeightBloc2();
			 });
			 
			 
			 
			});
	}
		
</script>
<script type="text/javascript">
	$(document).on("scroll",function(){
		if($(document).scrollTop()>80){ 
			$(".logo-small-header").addClass("display");
			$(".langue_site").addClass("display");
			}
		else{
			$(".logo-small-header").removeClass("display");
			$(".langue_site").removeClass("display");
			}
		});
	
</script>
<!-- Add fancyBox main JS files -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.fancybox.pack.js?v=2.1.5"></script>
<!-- Add Thumbnail helper fancyBox-->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.fancybox-thumbs.js?v=1.0.7"></script>

</html>