<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Education_Zone
 * RSK World Education - Free Programming Resources & Source Code
 * Founded by Molla Samser, Designed & Tested by Rima Khatun
 * Website: https://rskworld.in
 * Contact: help@rskworld.in | +91 93305 39277
 * Location: Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India, 713147
 */

 if(!is_page_template('template-home.php')){?>
    </div>
    </div>
	</div><!-- #content -->
<?php } ?>
  <script type="text/javascript">
		(function() {var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
  acc[i].onclick = function() {
    this.classList.toggle("active");
    var panel = this.nextElementSibling;
    if (panel.style.maxHeight){
  	  panel.style.maxHeight = null;
    } else {
  	  panel.style.maxHeight = panel.scrollHeight + "px";
    } 
  }
}	}());
		
  </script>
	<footer id="colophon" class="site-footer" role="contentinfo">
	    <div class="container">
	      <?php if( is_active_sidebar( 'footer-one' ) || is_active_sidebar( 'footer-two' ) || is_active_sidebar( 'footer-three' ) ) { ?>
            <div class="widget-area">
				<div class="row">
					
                    <?php if( is_active_sidebar( 'footer-one') ) { ?>
                        <div class="col"><?php dynamic_sidebar( 'footer-one' ); ?></div>                        
                    <?php } ?> 
                    
                    <?php if( is_active_sidebar( 'footer-two') ) { ?>
                        <div class="col"><?php dynamic_sidebar( 'footer-two' ); ?></div>                        
                    <?php } ?> 
                    
                    <?php if( is_active_sidebar( 'footer-three') ) { ?>
                        <div class="col"><?php dynamic_sidebar( 'footer-three' ); ?></div>                        
                    <?php } ?>
                        				
				</div>
			</div>
            <?php } ?>
            
			<div class="site-info">
			   <?php if( get_theme_mod('education_zone_ed_social') ) do_action('education_zone_social'); ?> 
                    
                    
            <p><span><?php echo esc_html__('&copy; Copyright ','education-zone') . esc_html( date_i18n( __( ' Y ', 'education-zone' ) ) ); ?><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo esc_html__( 'RSK World', 'education-zone' ); ?></a>. <?php echo esc_html__( 'All rights reserved.', 'education-zone' ); ?></span>
					</p>
					<p><span><?php echo esc_html__( 'Content used for educational purposes only.', 'education-zone' ); ?> <a href="<?php echo esc_url( 'https://rskworld.in/disclaimer.php' ); ?>"><?php echo esc_html__( 'View Disclaimer', 'education-zone' ); ?></a></span></p>
					<p><span><?php echo esc_html__( 'Contact: Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India, 713147 | +91 93305 39277', 'education-zone' ); ?></span></p>
			</div><!-- .site-info -->
		</div>
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>

</body>
</html>
