<?php
/*
 *	Contains subscription form content.
 *
 *	@version 1.0
 *	@since intensely 1.0
 */
?>
<?php
/*
 *	Subscribe section enable/disable
 *
 *	@since intensely 1.0
 */
 $subscription_section	=	esc_html( get_theme_mod( 'intensely_footer_subscribe', '0' ) );
 if( $subscription_section == '0' ):  ?>
	<section id="subscribe">
		<div class="subscribe-overlay">
		    <div class="container">
		        <div class="row">
		          	<div class="col-md-12">
			            <div class="subscribe-area">
				            
				            <?php
					            /*
						         *	Subscribe title
					             */
					            $subscribe_section_title	=	esc_html( get_theme_mod( 'intensely_subscribe_title', '' ) );
					            if( $subscribe_section_title != '' ):
				            ?>
			              		<h2><?php echo $subscribe_section_title; ?></h2>
			              	<?php endif; ?>
			              	
							<?php
					            /*
						         *	Subscribe form
					             */ 
								$subscribe_shortcode = esc_html( get_theme_mod( 'intensely_subscribe_shortcode', '' ) );
								
								if( $subscribe_shortcode != '' ){	?>
									<div class="subscrib-form">
										<?php echo do_shortcode( ' '. $subscribe_shortcode .' ' );?>
									</div>	
							
							<?php } ?>
			              	
							
			            </div>
					</div>
		        </div>
		    </div>
		</div>
	</section>
<?php endif; ?>