<?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 Luzuk Premium
 */

?>
<footer id="ht-colophon" class="ht-site-footer">
	<?php if(is_active_sidebar('lz-fitness-footer1') || is_active_sidebar('lz-fitness-footer2') || is_active_sidebar('lz-fitness-footer3') || is_active_sidebar('lz-fitness-footer4')){ ?>
		<div id="ht-newsletter-section" class="ht-section lz-contact-section">
			<div class="container">
				<div class="newsletter-main-bx">
					<div class=" wow fadeInUp" data-wow-duration="1s">
						<?php
							$lz_newslatter_title = get_theme_mod('lz_newslatter_title', 'SUBSCRIBE TO OUR NEWSLETTER');
							$lz_newslatter_sub_title = get_theme_mod('lz_newslatter_sub_title', 'Subscribe to our mailing list to receive updates on new arrivals, special offers and other`');
							$lz_newslatter_shortcode = get_theme_mod('lz_newslatter_shortcode', '[Add Form shortcode]');
						?>
						<div class="row">
							<?php if( $lz_newslatter_title || $lz_newslatter_sub_title ){ ?>
								<div class="ht-section-title-tagline">
									<?php if($lz_newslatter_title){ ?>
										<h2 class="ht-section-title lz-newslatter-heading">
											<?php echo ($lz_newslatter_title); ?>
										</h2>
									<?php } ?> 
									<p><?php echo ($lz_newslatter_sub_title); ?></p>
								</div>
							<?php } ?>
							<div class="newsletter-form-box padding0">					
								<div class="ht-newslatter-member-wrap">
									<div class="box-form wow slideInUp" data-wow-duration="3s">										
										<?php echo do_shortcode($lz_newslatter_shortcode);?>
										<div class="clearfix"></div> 
									</div>

								</div>								
							</div>			
							<div class="clearfix"></div>
						</div>
					</div>
				</div>	
				<div class="clearfix"></div>
			</div>
		</div>
		<div id="ht-top-footer">
			<div class="container">
				<div class="ht-top-footer ht-clearfix">
					<div class="ht-footer ht-footer1 wow fadeInRight col-md-3 col-sm-6 col-xs-12">
						<?php if(is_active_sidebar('lz-fitness-footer1')): 
							dynamic_sidebar('lz-fitness-footer1');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer2 wow fadeInRight col-md-3 col-sm-6 col-xs-12">
						<?php if(is_active_sidebar('lz-fitness-footer2')): 
							dynamic_sidebar('lz-fitness-footer2');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer3 wow fadeInLeft col-md-3 col-sm-6 col-xs-12">
						<?php if(is_active_sidebar('lz-fitness-footer3')): 
							dynamic_sidebar('lz-fitness-footer3');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer4 wow fadeInLeft col-md-3 col-sm-6 col-xs-12">
						<?php if(is_active_sidebar('lz-fitness-footer4')): 
							dynamic_sidebar('lz-fitness-footer4');
						endif;
						?>	
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
		<?php } ?>

		<div id="ht-bottom-footer">
			<?php 
		// Prevent direct access
		if ( ! defined( 'ABSPATH' ) ) {
			exit; // Exit if accessed directly
		}

		$footercopyright = '';
		if (function_exists('custom_theme_copyright')) {
			$footercopyright = custom_theme_copyright();
		}
 
	?>
			<?php if($footercopyright){ ?>
				<div class="ht-site-info">
					<span><?php echo $footercopyright;?></span>
				</div><!-- #site-info -->
			<?php } ?>
		</div>
	</footer><!-- #colophon -->
	<script type="text/javascript">
		if(jQuery(window).width() >= 1170){
		  new WOW().init();
		}
	</script>
	<script type="text/javascript">
		if(jQuery(window).width() >= 1170){
		  new WOW().init();
		}
	</script>
<script>
    $(window).scroll(function(){ 
        if ($(this).scrollTop() > 100) { 
            $('#back2Top').fadeIn(); 
        } else { 
            $('#back2Top').fadeOut(); 
        } 
    }); 
    $('#back2Top').click(function(){ 
        $("html, body").animate({ scrollTop: 0 }, 8000); 
        return false; 
    }); 
</script>
<?php wp_footer(); ?>
<a id="back2Top" title="Back to top" href="#"> &#10148; </a> 
<!-- <a id="scroll-top" class="scroll-top show" href="#top" title="Top" role="button">
        <i class="w-icon-angle-up"></i>
        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 70 70">
            <circle id="progress-indicator" fill="transparent" stroke="#000000" stroke-miterlimit="10" cx="35" cy="35" r="34" style="stroke-dasharray: 55.7874, 400;"></circle>
        </svg>
    </a> -->

    <style type="text/css">
    	

    </style>
</body>
</html>
