HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/ruwebsiteok/wp-content/themes/educational-university/footer.php
<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package Educational University
 */
?>
<div id="footer">
  <?php 
    $educational_university_footer_widget_enabled = get_theme_mod('educational_university_footer_widget', true);
    if ($educational_university_footer_widget_enabled !== false && $educational_university_footer_widget_enabled !== '') { ?>
    <?php 
        $educational_university_widget_areas = get_theme_mod('educational_university_footer_widget_areas', '4');
        if ($educational_university_widget_areas == '3') {
            $educational_university_cols = 'col-lg-4 col-md-6';
        } elseif ($educational_university_widget_areas == '4') {
            $educational_university_cols = 'col-lg-3 col-md-6';
        } elseif ($educational_university_widget_areas == '2') {
            $educational_university_cols = 'col-lg-6 col-md-6';
        } else {
            $educational_university_cols = 'col-lg-12 col-md-12';
        }
    ?>
    <div class="footer-widget">
        <div class="container">
          <div class="row">
            <!-- Footer 1 -->
            <div class="<?php echo esc_attr($educational_university_cols); ?> footer-block">
                <?php if (is_active_sidebar('footer-1')) : ?>
                    <?php dynamic_sidebar('footer-1'); ?>
                <?php else : ?>
                    <aside id="categories" class="widget py-3" role="complementary" aria-label="<?php esc_attr_e('footer1', 'educational-university'); ?>">
                        <h3 class="widget-title"><?php esc_html_e('Categories', 'educational-university'); ?></h3>
                        <ul>
                            <?php wp_list_categories('title_li='); ?>
                        </ul>
                    </aside>
                <?php endif; ?>
            </div>

            <!-- Footer 2 -->
            <div class="<?php echo esc_attr($educational_university_cols); ?> footer-block">
                <?php if (is_active_sidebar('footer-2')) : ?>
                    <?php dynamic_sidebar('footer-2'); ?>
                <?php else : ?>
                    <aside id="archives" class="widget py-3" role="complementary" aria-label="<?php esc_attr_e('footer2', 'educational-university'); ?>">
                        <h3 class="widget-title"><?php esc_html_e('Archives', 'educational-university'); ?></h3>
                        <ul>
                            <?php wp_get_archives(array('type' => 'monthly')); ?>
                        </ul>
                    </aside>
                <?php endif; ?>
            </div>

            <!-- Footer 3 -->
            <div class="<?php echo esc_attr($educational_university_cols); ?> footer-block">
                <?php if (is_active_sidebar('footer-3')) : ?>
                    <?php dynamic_sidebar('footer-3'); ?>
                <?php else : ?>
                    <aside id="meta" class="widget py-3" role="complementary" aria-label="<?php esc_attr_e('footer3', 'educational-university'); ?>">
                        <h3 class="widget-title"><?php esc_html_e('Meta', 'educational-university'); ?></h3>
                        <ul>
                            <?php wp_register(); ?>
                            <li><?php wp_loginout(); ?></li>
                            <?php wp_meta(); ?>
                        </ul>
                    </aside>
                <?php endif; ?>
            </div>

            <!-- Footer 4 -->
            <div class="<?php echo esc_attr($educational_university_cols); ?> footer-block">
                <?php if (is_active_sidebar('footer-4')) : ?>
                    <?php dynamic_sidebar('footer-4'); ?>
                <?php else : ?>
                    <aside id="search-widget" class="widget py-3" role="complementary" aria-label="<?php esc_attr_e('footer4', 'educational-university'); ?>">
                        <h3 class="widget-title"><?php esc_html_e('Search', 'educational-university'); ?></h3>
                        <?php the_widget('WP_Widget_Search'); ?>
                    </aside>
                <?php endif; ?>
            </div>
          </div>
        </div>
    </div>

    <?php } ?>
    <div class="clear"></div>
  <div class="copywrap text-center">
    <div class="container">
        <p>
        <a href="<?php 
          $educational_university_copyright_link = get_theme_mod('educational_university_copyright_link', '');
          if (empty($educational_university_copyright_link)) {
              echo esc_url('https://www.theclassictemplates.com/products/free-education-center-wordpress-theme');
          } else {
              echo esc_url($educational_university_copyright_link);
          } ?>" target="_blank">
          <?php echo esc_html(get_theme_mod('educational_university_copyright_line', __('Education Center WordPress Theme', 'educational-university'))); ?>
        </a> 
        <?php echo esc_html('By Classic Templates', 'educational-university'); ?>
      </p>
    </div>
  </div>
</div>

<?php if(get_theme_mod('educational_university_scroll_hide',true)){ ?>
  <a id="button"><?php echo esc_html( get_theme_mod('educational_university_scroll_text',__('TOP', 'educational-university' )) ); ?></a>
<?php } ?>
  
<?php wp_footer(); ?>
</body>
</html>