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

?>



<?php
/**
 *
 * @package Luzuk Premium
 */
if(get_theme_mod('lz_fitness_newslatter_section_disable') != 'on' ){ ?> 
	<section id="ht-newslatter-section" class="ht-section"> 
		<div class="container">
		<div class=" wow fadeInUp" data-wow-duration="1s">
			<?php
			$lz_newslatter_page_id = get_theme_mod('lz_newslatter_page');
			$lz_newslatter_title = get_theme_mod('lz_newslatter_title', 'Subscribe To Our Newsletter');
			?>
			<div class="row newslettersign-box">
				<div class="col-md-6 col-sm-12">
					
						<div class="contact-title">									
							<?php if( $lz_newslatter_title){ ?>
							<div class="ht-section-newsletter">
								<?php if($lz_newslatter_title){ ?>
								<h2 class="ht-section-title lz-newslatter-heading">
									<?php echo ($lz_newslatter_title); ?></h2>
								<?php } ?> 
							<div class="clearfix"></div>
							</div>
							<?php } ?>
						</div>
					
					
				</div>
				<div class="col-md-6 col-sm-12 newsletter-form padding0">	
					<?php
						$lz_newslatter_shortcode = get_theme_mod('lz_newslatter_shortcode', '[Add Form shortcode]');
					?>				
						<div class="ht-newslatter-member-wrap">
							<div class="box-form">										
								<?php echo do_shortcode($lz_newslatter_shortcode);?>
							</div>
						</div>								
					</div>				
				<div class="clearfix"></div> 
			</div>
		</div>
	</div>	

	</section>
<?php }

?>

	<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')){ ?>
			<?php if( get_theme_mod('cds_footer_curvedisplay','show' ) == 'show') :
			?>
				<svg class="footer-separator-svg footer-separator-svg__waves_svg_separator" xmlns="http://www.w3.org/2000/svg" version="1.0" width="1200" fill="#f1f2f4" height="30" viewBox="0 0 1200 30" preserveAspectRatio="none"><path d="M0,0S1.209,1.508,200.671,7.031C375.088,15.751,454.658,30,600,30V0H0ZM1200,0s-90.21,1.511-200.671,7.034C824.911,15.751,745.342,30,600,30V0h600Z"></path></svg>
		   <?php endif ?>	
		<div id="ht-top-footer">
			<div class="container">
				<div class="ht-top-footer ht-clearfix">
					<div class="ht-footer ht-footer1">
						<?php if(is_active_sidebar('lz-fitness-footer1')): 
							dynamic_sidebar('lz-fitness-footer1');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer2">
						<?php if(is_active_sidebar('lz-fitness-footer2')): 
							dynamic_sidebar('lz-fitness-footer2');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer3">
						<?php if(is_active_sidebar('lz-fitness-footer3')): 
							dynamic_sidebar('lz-fitness-footer3');
						endif;
						?>	
					</div>

					<div class="ht-footer ht-footer4">
						<?php if(is_active_sidebar('lz-fitness-footer4')): 
							dynamic_sidebar('lz-fitness-footer4');
						endif;
						?>	
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="footborder"></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();
		}
 
	?>
			<div class="ht-container">
				<?php if($footercopyright){ ?>
					<div class="ht-site-info">
					<!-- 	<?php //lz_fitness_lite_copyrights_credit();?> -->
						<span><?php echo $footercopyright;?></span>
					</div><!-- #site-info -->
				<?php } ?>
			</div>
		</div>
	</footer><!-- #colophon -->
	<script type="text/javascript">
		if(jQuery(window).width() >= 1170){
		  new WOW().init();
		}
	</script>
<?php wp_footer(); ?>

</body>
</html>
