<?php
/**
 * Footer Template  File
 *
 * @package INVENTIVE
 * @author  Theme Kalia
 * @version 1.0
 */

$options = inventive_WSH()->option();
$allowed_html = wp_kses_allowed_html( 'post' );

$footer_logo_image_v9 = $options->get( 'footer_logo_image_v9' );
$footer_logo_image_v9 = inventive_set( $footer_logo_image_v9, 'url', INVENTIVE_URI . '' );

?>
<!-- main-footer -->
<footer class="footer-style-nine wow fadeInUp" data-wow-delay="00ms" data-wow-duration="1500ms">
    <div class="widget-section">
        <?php if($footer_logo_image_v9) {?>
        <figure class="footer-logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url($footer_logo_image_v9); ?>" alt="<?php esc_attr_e('Awesome Image','inventive'); ?>"></a></figure>
        <?php } ?>
		<?php if ( is_active_sidebar( 'footer-sidebar-9' ) ) { ?>
        <div class="auto-container">
            <div class="row clearfix">
                <?php dynamic_sidebar( 'footer-sidebar-9' ); ?>
            </div>
        </div>
        <?php } ?>        
    </div>
    <?php if($options->get( 'show_bottom_footer_v9' )){?>
    <div class="footer-bottom">
        <div class="auto-container">
            <div class="bottom-inner">
                <?php if($options->get( 'footer_v9_copyright_text')) {?><div class="copyright"><p><?php echo wp_kses( $options->get( 'footer_v9_copyright_text'), true ); ?></p></div><?php } ?>
                <ul class="footer-nav">
                    <?php wp_nav_menu( array( 'theme_location' => 'footer_menu', 'container_id' => 'navbar-collapse-1',
						'container_class'=>'navbar-collapse collapse navbar-right',
						'menu_class'=>'nav navbar-nav',
						'fallback_cb'=>false,
						'items_wrap' => '%3$s',
						'container'=>false,
						'depth'=>'1',
						'walker'=> new Bootstrap_walker()
					) ); ?>
                </ul>
            </div>
        </div>
    </div>
    <?php } ?>
</footer>
<!-- main-footer end -->
    
<!-- Scroll to top end -->
<div class="prgoress_indicator">
    <svg class="progress-circle svg-content" width="100%" height="100%" viewBox="-1 -1 102 102">
      <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" />
    </svg>
</div>