<?php
/**
 * The template for displaying the footer.
 * Contains the closing of the #content div and all content after.
 * Also adds the footer widget areas should widgets be added there.
 * @package tweaker5
**/
?>
		</section><?php // close #content opened in header.php ?>
        
        <?php // Nothing will happen if no widgets have been added to any of the footer widget areas. ?>
		<?php if(is_active_sidebar( 'footer-sidebar-1') || is_active_sidebar( 'footer-sidebar-2') || is_active_sidebar( 'footer-sidebar-3')): ?>
        	<div class="row-no-margin section footer-widget-area">
				<?php get_template_part( 'inc/footer-widgets' ); ?>
            </div><?php // close .footer-widget-area ?>
        <?php endif; ?>
        
        <footer class="row-no-margin section site-footer">
            
            <div class="col grid-3 site-search">
                <?php get_search_form(); ?>
            </div><?php // close site-search ?>
            
            <div id="colophon" class="col grid-9 colophon" role="contentinfo">
                <p><?php tweaker5_copyright_notice(); ?><span class="sep"> | </span>
                <?php // You are welcome to remove the link below should you so wish ?>
                <a class="external" href="http://tweaker5.streetpics.co.za/tweaker5-intro/" title="">Tweaker5</a><?php _e( ' WordPress Theme is licensed under the GNU GPL', 'tweaker5' ); ?></p>
            </div><?php // close site-footer ?>
        
        </footer><?php // close .row ?>
        
	</div><?php // close #page ?>

	<?php wp_footer(); ?>

</body>
</html>