HEX
Server: LiteSpeed
System: Linux s17246.sgp1.stableserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User: mykopera (1210)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/mykopera/public_html/kpnj/wp-content/themes/vw-hospital-lite/footer.php
<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package VW Hospital Lite
 */
?>
  <footer role="contentinfo">
    <div class="footer1">
      <div class="footer-content">
        <div class="container">
          <?php
            $count = 0;
            
            if ( is_active_sidebar( 'footer-1' ) ) {
              $count++;
            }
            if ( is_active_sidebar( 'footer-2' ) ) {
              $count++;
            }
            if ( is_active_sidebar( 'footer-3' ) ) {
              $count++;
            }
            if ( is_active_sidebar( 'footer-4' ) ) {
              $count++;
            }
            // $count == 0 none
            if ( $count == 1 ) {
                $colmd = 'col-md-12 col-sm-12';
            } elseif ( $count == 2 ) {
                $colmd = 'col-md-6 col-sm-6';
            } elseif ( $count == 3 ) {
                $colmd = 'col-md-4 col-sm-4';
            } else {
                $colmd = 'col-md-3 col-sm-3';
            }
          ?>
          <div class="row footer-sec">
            <div class="<?php if ( !is_active_sidebar( 'footer-1' ) ){ echo "footer_hide"; }else{ echo "$colmd"; } ?> col-xs-12 footer-block">
              <?php dynamic_sidebar('footer-1'); ?>
            </div>
            <div class="<?php if ( is_active_sidebar( 'footer-2' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 footer-block">
                <?php dynamic_sidebar('footer-2'); ?>
            </div>
            <div class="<?php if ( is_active_sidebar( 'footer-3' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 col-xs-12 footer-block">
                <?php dynamic_sidebar('footer-3'); ?>
            </div>
            <div class="<?php if ( !is_active_sidebar( 'footer-4' ) ){ echo "footer_hide"; }else{ echo "$colmd"; } ?> col-xs-12 footer-block">
                <?php dynamic_sidebar('footer-4'); ?>
            </div>
          </div>
        </div>
      </div>
        <div class="inner">
          <div class="copyright text-center">
             <p><?php vw_hospital_lite_credit(); ?> <?php echo esc_html(get_theme_mod('vw_hospital_lite_footer_copy',__('By VWThemes','vw-hospital-lite'))); ?></p>
              <?php if( get_theme_mod( 'vw_hospital_lite_hide_show_scroll',true) != '' || get_theme_mod( 'vw_hospital_lite_resp_scroll_top_hide_show',true) != '') { ?>
                <?php $vw_hospital_lite_theme_lay = get_theme_mod( 'vw_hospital_lite_scroll_top_alignment','Right');
                if($vw_hospital_lite_theme_lay == 'Left'){ ?>
                  <a href="#" class="scrollup left"><i class="<?php echo esc_attr(get_theme_mod('vw_hospital_lite_scroll_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-hospital-lite' ); ?></span></a>
                <?php }else if($vw_hospital_lite_theme_lay == 'Center'){ ?>
                  <a href="#" class="scrollup center"><i class="<?php echo esc_attr(get_theme_mod('vw_hospital_lite_scroll_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-hospital-lite' ); ?></span></a>
                <?php }else{ ?>
                  <a href="#" class="scrollup"><i class="<?php echo esc_attr(get_theme_mod('vw_hospital_lite_scroll_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-hospital-lite' ); ?></span></a>
                <?php }?>
              <?php }?>
          </div>
          <div class="clear"></div>
        </div>
    </div>
  </footer>
    <?php wp_footer(); ?>
  </body>
</html>