
<?php
/**
 *
 * @package LZ Fitness Premium
 */
if(get_theme_mod('lz_newslatter_disable') != 'on' ){ ?>
<section id="ht-newsletter-section" class="ht-section">	
<div class="lightbox overlay">	
	<div class="container">
		<div class=" wow fadeInUp" data-wow-duration="1s">
			<?php
			$lz_newslatter_title = get_theme_mod('lz_newslatter_title', 'Our Newsletter');
			//$lz_newslatter_sub_title = get_theme_mod('lz_newslatter_sub_title', 'Join our newsletter for the latest News and Events');
			$lz_newslatter_shortcode = get_theme_mod('lz_newslatter_shortcode', '[Add Form shortcode]');
			?>
			<div class="newslettersign-box">
<?php if( $lz_newslatter_title || $lz_newslatter_title_new ){ ?>
<div class="ht-section-title-tagline">
						 	<h2 class="ht-section-title lz-newslatter-heading">

								<?php if($lz_newslatter_title){ ?>
							<?php echo ($lz_newslatter_title); ?></h2>
							<div class="titleicon">	<i class="fa fa-glass" aria-hidden="true"></i></div>
						<div class="clearfix"></div> 
						<?php } ?>
					</div>
					<?php } ?> 

				
					
				
				<div class="col-md-10 col-md-offset-2 col-sm-12  newsletter-form padding0">					
						<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>	
	<div class="clearfix"></div>
</div>
	
</section>
<?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 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-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>
		</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="container">
				<?php if(is_active_sidebar('lz-fitness-footer4')){ ?>
				<div class="col-md-8 col-sm-8 col-xs-12 ht-footer ht-footer4 wow fadeInRight padding0">
						<?php if(is_active_sidebar('lz-fitness-footer4')): 
							dynamic_sidebar('lz-fitness-footer4');
						endif;
						?>	
					</div>
						<?php } ?>
				<?php if($footercopyright){ ?>
					<div class="col-md-4 col-sm-4 col-xs-12 ht-site-info">
					<!-- 	<?php //lz_fitness_lite_copyrights_credit();?> -->
						<span><?php echo $footercopyright;?></span>
					</div><!-- #site-info -->
				<?php } ?>
				<div class="clearfix"></div>
			</div>
			<div class="clearfix"></div>
		</div>
	</footer><!-- #colophon -->
	<script type="text/javascript">
		if(jQuery(window).width() >= 1170){
		  new WOW().init();
		}
	</script>
<?php wp_footer(); ?>

</body>
</html>
