<?php
/**
 *
 * @package LZ Fitness Premium
 */
if(get_theme_mod('lz_fitness_newslatter_section_disable') != 'on' ){ ?> 
	<section id="ht-newslatter-section" class="ht-section"> 
		<div class="newsbox">
			<?php
				$lz_fitness_newslatter_title = get_theme_mod('lz_fitness_newslatter_title', 'Subscribe us');
				$lz_fitness_newslatter_sub_title = get_theme_mod('lz_fitness_newslatter_sub_title', 'For <b> news </b> updates and promotional <b> events </b>');
				$lz_fitness_newslatter_form_shortcode = get_theme_mod('lz_fitness_newslatter_form_shortcode', 'Add your form shortcode here.');
				?>
			<div class=" wow fadeInUp" data-wow-duration="1s">

				<div class="newslatter-box">
					<div class="row row-eq-height">
						
						<div class="col-md-5 col-sm-12 col-xs-12 sect-height-newslatter-section padding0">
							<div class="newslatter-box newslatter-left-sect ">
								<div class="inside-full-height">
									<?php 
									$lz_fitness_aboutss_image = get_theme_mod('lz_fitness_aboutss_image');
									if(!empty($lz_fitness_aboutss_image)){
										echo '<img alt="'. esc_html(get_the_title()) .'" src="'.esc_url($lz_fitness_aboutss_image).'" class="img-responsive" />';
									}else{
										echo '<img alt="About Us" src="'.get_template_directory_uri().'/images/img-news.jpg" class="img-responsive aboutbox-img" />';
									}
									?>
									
								</div>
							</div> 
							<div class="clearfix"></div>	
						</div>	

						<div class="test-right col-md-7 col-sm-12 col-xs-12 sect-height-newslatter-box">

							<div class="inside-full-height">
								<?php if( $lz_fitness_newslatter_title || $lz_fitness_newslatter_title ){ ?>
				<div class="ht-section-title-tagline">
					<?php if($lz_fitness_newslatter_title){ ?>
					<h2 class="ht-section-title lz-newslatter-heading"><?php echo ($lz_fitness_newslatter_title); ?></h2>
					<?php } ?>

					<?php if($lz_fitness_newslatter_sub_title){ ?>
					<div class="ht-section-tagline lz-newslatter-text"><?php echo($lz_fitness_newslatter_sub_title); ?></div>
					<?php } ?>
					<div class="clearfix"></div>
				</div>
				<?php } ?>
					
								<div class="newsform-box">
									<div class="newsletter-form-box textcenter">
										<?php echo do_shortcode($lz_fitness_newslatter_form_shortcode);?>
										<div class="clearfix"></div>
									</div>
								</div>

							</div>
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="clearfix"></div>

				</div>
				<div class="clearfix"></div>

			</div>
			<div class="clearfix"></div>
		</div>

	</section>
<?php }

