File: /home/qirgxuo4hkuv/public_html/koracheap.com/wp-content/themes/rehub-theme/footer.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php if(rehub_option('rehub_ads_infooter') != '') : ?><div class="rh-container mediad_footer"><div class="clearfix"></div><div class="mediad megatop_mediad"><?php echo do_shortcode(rehub_option('rehub_ads_infooter')); ?></div><div class="clearfix"></div></div><?php endif; ?>
<?php if ( is_active_sidebar( 'footercustom' ) ) : ?>
<div id="footercustomarea">
<?php dynamic_sidebar( 'footercustom' ); ?>
</div>
<?php endif; ?>
<?php if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'footer' ) ) :?>
<?php
$footer_style = (rehub_option('footer_style') == '1') ? ' white_style' : ' dark_style';
$footer_bottom = (rehub_option('footer_style_bottom') == '1') ? 'white_style' : 'dark_style';
?>
<div class="footer-bottom<?php echo ''.$footer_style;?>">
<div class="rh-container clearfix">
<?php if(rehub_option('rehub_footer_widgets')) : ?>
<div class="rh-flex-eq-height col_wrap_three">
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footerfirst' ) ) : ?>
<?php dynamic_sidebar( 'footerfirst' ); ?>
<?php else : ?>
<p><?php esc_html_e('No widgets added. You can disable footer widget area in theme options - footer options', 'rehub-theme'); ?></p>
<?php endif; ?>
</div>
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footersecond' ) ) : ?>
<?php dynamic_sidebar( 'footersecond' ); ?>
<?php endif; ?>
</div>
<div class="footer_widget col_item last">
<?php if ( is_active_sidebar( 'footerthird' ) ) : ?>
<?php dynamic_sidebar( 'footerthird' ); ?>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php if(rehub_option('rehub_footer_text')) : ?>
<footer id='theme_footer' class="<?php echo ''.$footer_bottom;?>">
<div class="rh-container clearfix">
<div class="footer_most_bottom">
<div class="f_text">
<span class="f_text_span"><?php echo wp_kses_post(rehub_option('rehub_footer_text')); ?></span>
<?php if(rehub_option('rehub_footer_logo')) : ?><div class="floatright ml15 mr15 mobilecenterdisplay disablefloatmobile"><img src="<?php echo esc_url(rehub_option('rehub_footer_logo')); ?>" alt="<?php bloginfo( 'name' ); ?>" /></div><?php endif; ?>
</div>
</div>
</div>
</footer>
<?php endif; ?>
<?php endif; ?>
<!-- FOOTER -->
</div><!-- Outer End -->
<span class="rehub_scroll" id="topcontrol" data-scrollto="#top_ankor"><i class="far fa-chevron-up"></i></span>
<?php if(rehub_option('rehub_disable_social_footer') !='1' && is_singular('post') && function_exists('rehub_social_share')) : ?>
<div id="rh_social_panel_footer">
<?php echo rehub_social_share('flat'); ?>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>