<?php
/**
 * Footer3 for efpose
 */
global $redux_demo; 
?>
<?php edit_post_link(esc_attr__("Edit", "efpose"),'<span class="edit-link">', "</span>"); ?>
</div>
<div class="wrapper-footer one <?php if(isset($redux_demo['jp_footerscheme']) ){ ?><?php echo esc_html ($redux_demo['jp_footerscheme']); ?><?php } ?>">
<?php if (is_active_sidebar('efpose-footer1') || is_active_sidebar('efpose-footer2') || is_active_sidebar('efpose-footer3')  || is_active_sidebar('efpose-footer4') || is_active_sidebar('efpose-footer5') ) :?>
 <div class="footer-wrapinside">
    <div class="footer-topinside">
      <footer id="colophon" role="contentinfo">
        <div class="footer3">
        <div class="footer-line">
            <div class="col-md-8">
              <div class="col-md-4">
                <?php dynamic_sidebar( 'efpose-footer1' ); ?>
              </div>
              <div class="col-md-4">
                <?php dynamic_sidebar( 'efpose-footer2' ); ?>
              </div>
              <div class="col-md-4">
                <?php dynamic_sidebar( 'efpose-footer3' ); ?>
              </div>
            </div>
            <div class="col-md-4">
              <?php dynamic_sidebar( 'efpose-footer4' ); ?>
            </div>
          </div>
        <div class="footer-line">
            <div class="col-md-12">
              <?php dynamic_sidebar( 'efpose-footer5' ); ?>
            </div>
          </div>
        </div>
        <div id="back-top"><a href="#top"><span><i class="fa fa-angle-up fa-2x"></i></span></a></div>
      </footer>
    </div>
  </div>
 <?php endif; ?>   
  <div class="footer-bottom-wrapper">
    <div class="footer-topinside">
        <div class="col-md-8 widget-area">
      <div class="footer-nav">		
        <nav id="site-footernavigation" class="efpose-nav">
          <?php wp_nav_menu( array( 'theme_location' => 'footer_menu', 'menu_id' => 'menu-footer', 'menu_class' => 'nav-menu', 'container' => 'ul','fallback_cb'    => '__return_false','depth' => 1 ) ); ?>
        </nav>
      </div>
	  </div>
        <div class="col-md-4 widget-area">  
		  <div class="site-wordpress">
			<?php global $redux_demo; 
			if ( isset($redux_demo['footer_text']) && !empty($redux_demo['footer_text']) ){ ?>
			<?php echo esc_html($redux_demo['footer_text']); ?>
			<?php }else { ?>
			<?php esc_html_e( '&copy; Copyright', 'efpose' ); ?>
			<?php echo date('Y'); ?> - <?php echo get_bloginfo( 'name' ); ?> 
			<?php esc_html_e( '. All Rights Reserved', 'efpose' ); ?>
			<?php } ?>	  
		  </div>
	  </div>
      <!-- .site-info -->
    </div>
  </div>
</div>
<div class="clear"></div>
<?php wp_footer(); ?>
</body></html>