<?php
/**
 *
 * @package LZ Fitness Premium
 */
if(get_theme_mod('lz_newslatter_disable') != 'on' ){ ?>
	<section id="ht-newsletter-section" class="ht-section lz-contact-section">	
		<div class="lightbox">	
			<div class="container">
				<div class=" wow fadeInUp" data-wow-duration="1s">
					<?php
					$lz_newslatter_title = get_theme_mod('lz_newslatter_title', 'SUBSCRIBE TO OUR <br><span>NEWSLETTER!</span>');
		
					$lz_newslatter_shortcode = get_theme_mod('lz_newslatter_shortcode', '[Add Form shortcode]');
					?>
					<div class="row">
						<div class="col-md-3 col-sm-6 padding0">

							<div class="contact-title">									
								<?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"><i class="fa fa-envelope"></i><?php echo ($lz_newslatter_title); ?></h2>
										<?php } ?> 
									</div>
								<?php } ?>
							</div>


						</div>
						<div class="col-md-5 col-sm-10 col-xs-9 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="col-md-3 col-md-offset-1 news-social-icon col-sm-12 col-xs-12">
							<?php
							$facebook = get_theme_mod('lz_fitness_newslatter_facebook', '//facebook.com/');
							$twitter = get_theme_mod('lz_fitness_newslatter_twitter', '//twitter.com/');
							$youtube = get_theme_mod('lz_fitness_newslatter_youtube', '//https://www.youtube.com/');
							$linkedIn = get_theme_mod('lz_fitness_newslatter_linkedin', '//linkedin.com/');
							$pintrest = get_theme_mod('lz_fitness_newslatter_pintrest', '//https://in.pinterest.com//');
							$instagram = get_theme_mod('lz_fitness_newslatter_instagram', '//https://www.instagram.com/');
							?>
							<ul class="news-sm-links">
								<?php if(!empty($facebook)){ ?>
									<li><a href="<?php echo $facebook ?>" title="Facebook"><span class="fa fa-facebook"></span></a></li>
								<?php }?>
								<?php if(!empty($twitter)){ ?>
									<li><a href="<?php echo $twitter ?>" title="Twitter"><span class="fa fa-twitter"></span></a></li>
								<?php }?>
								<?php if(!empty($youtube)){ ?>
									<li><a href="<?php echo $youtube ?>" title="youtube"><span class="fa fa-youtube"></span></a></li>
								<?php }?>
								
								<?php if(!empty($linkedIn)){ ?>
									<li><a href="<?php echo $linkedIn ?>" title="Linked In"><span class="fa fa-linkedin"></span></a></li>
								<?php }?>
								<?php if(!empty($pintrest)){ ?>
									<li><a href="<?php echo $pintrest ?>" title="pintrest"><span class="fa fa-pinterest"></span></a></li>
								<?php }?>
								<?php if(!empty($instagram)){ ?>
									<li><a href="<?php echo $instagram ?>" title="Instagram"><span class="fa fa-instagram"></span></a></li>
								<?php }?>
							</ul>
						</div>


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

	</section>
<?php }

