<?php
/* 	Beauty and Spa Theme's Footer Sidebar Area
	Copyright: 2012-2017, D5 Creation, www.d5creation.com
	Based on the Simplest D5 Framework for WordPress
	Since Beauty and Spa 1.0
*/
	
	
	if (   ! is_active_sidebar( 'sidebar-3'  )
		&& ! is_active_sidebar( 'sidebar-4' )
		&& ! is_active_sidebar( 'sidebar-5'  )
		&& ! is_active_sidebar( 'sidebar-6'  )
		&& ! is_active_sidebar( 'sidebar-7'  )
	)
		return;
		
	// If we get this far, we have widgets. Let do this.
?>
<div id="footer-sidebar">
		<div class="first-footer-widget">
		<?php if ( is_active_sidebar( 'sidebar-3' ) ) : dynamic_sidebar( 'sidebar-3' ); endif; ?>
    	</div><!-- #first .widget-area -->
        
		<div class="footer-widgets">
		<?php if ( is_active_sidebar( 'sidebar-4' ) ) : dynamic_sidebar( 'sidebar-4' );  endif; ?>
		</div><!-- #second .widget-area -->
    
    	<div class="footer-widgets">
		<?php if ( is_active_sidebar( 'sidebar-5' ) ) : dynamic_sidebar( 'sidebar-5' ); endif; ?>
    	</div><!-- #third .widget-area -->
    
      	<div class="footer-widgets">
    	<?php if ( is_active_sidebar( 'sidebar-6' ) ) : dynamic_sidebar( 'sidebar-6' ); endif; ?>
    	</div><!-- #fourth .widget-area -->
        
        <div class="footer-widgets">
    	<?php if ( is_active_sidebar( 'sidebar-7' ) ) : dynamic_sidebar( 'sidebar-7' ); endif; ?>
    	</div><!-- #fourth .widget-area -->
    
</div><!-- #footerwidget -->

