HEX
Server: nginx/1.24.0
System: Linux VM-8-5-opencloudos 6.6.47-12.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 24 16:15:42 CST 2024 x86_64
User: www (1000)
PHP: 8.0.26
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/aiwellbore.com/wp-content/themes/study-education-pro/footer.php
<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package FPhoto Snap Pro
 */
$footer_layout_theme_options = get_theme_mod('footer_layout_theme_options');
$footerlayout                = $footer_layout_theme_options;
?>
<div id="footer-wrapper">
    <div class="container footer">      

        <!-- =============================== Column One - 1 =================================== -->
        <?php if ($footerlayout == 'onecolumn') { ?>
            <div class="cols-1">    
                <?php if (!dynamic_sidebar('footer-1')) : ?> 
                    <div class="widget-column-1">
                        <?php
                        $footer_custom_menu = get_theme_mod('footer_custom_menu');
                        
                        echo '<h5>' . esc_html($footer_custom_menu) . '</h5>';
                        wp_nav_menu(array('theme_location' => 'footer', 'container' => '', 'container_class' => '', 'items_wrap' => '<ul>%3$s</ul>'));
                        ?>
                    </div>             
                <?php endif; ?>
                <div class="clear"></div>
            </div>
            <?php
        } elseif ($footerlayout == 'twocolumn') {
            ?>

            <!-- =============================== Column Two - 2 =================================== -->

            <div class="cols-2">    
                <?php if (!dynamic_sidebar('footer-1')) : ?>  
                    <div class="widget-column-1">
                        <?php
                        $footer_about_us_heading = get_theme_mod('footer_about_us_heading');
                        echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
                        $footer_about_us_desc    = get_theme_mod('footer_about_us_desc');
                        echo esc_html($footer_about_us_desc);
                        ?>
                        <div class="clear"></div> 
                    </div>                  
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-2')) : ?>
                    <div class="widget-column-2"> 

                        <?php footer_contact_us(); ?>

                    </div>
                <?php endif; ?>
                <div class="clear"></div>
            </div><!--end .cols-2-->  
            <?php
        } elseif ($footerlayout == 'threecolumn') {
            ?>

            <!-- =============================== Column Three - 3 =================================== -->
            <div class="cols-3">    
                <?php if (!dynamic_sidebar('footer-1')) : ?>  
                    <div class="widget-column-1">            	
                        <?php
                        $footer_about_us_heading = get_theme_mod('footer_about_us_heading');
                        echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
                        $footer_about_us_desc    = get_theme_mod('footer_about_us_desc');
                        echo esc_html($footer_about_us_desc);
                        ?>
                        <div class="clear"></div> 
                    </div>                  
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-2')) : ?>
                    <div class="widget-column-2">                
                        <?php
                        $footer_recent_post_title = get_theme_mod('footer_recent_post_title');
                        echo '<h5>' . esc_html($footer_recent_post_title) . '</h5>';
                        echo do_shortcode('[footer-posts show="2"]');
                        ?>  
                    </div>
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-3')) : ?>
                    <div class="widget-column-3">     
                        <?php footer_contact_us(); ?>
                    </div>
                <?php endif; ?>

                <div class="clear"></div>
            </div><!--end .cols-3-->  
            <?php
        } elseif ($footerlayout == 'fourcolumn') {
            ?>

            <!-- =============================== Column Fourth - 4 =================================== -->

            <div class="cols-4">    
                <?php if (!dynamic_sidebar('footer-1')) : ?>  
                    <div class="widget-column-1">
                        <?php
                        $footer_about_us_heading = get_theme_mod('footer_about_us_heading');
                        echo '<h5>' . esc_html($footer_about_us_heading) . '</h5>';
                        $footer_about_us_desc    = get_theme_mod('footer_about_us_desc');
                        echo esc_html($footer_about_us_desc);
                        ?>
                        <div class="clear"></div>    
                    </div>                  
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-2')) : ?> 
                    <div class="widget-column-2"> 
                        <?php
                        $footer_custom_menu = get_theme_mod('footer_custom_menu');
                        echo '<h5>' . esc_html($footer_custom_menu) . '</h5>';
                        wp_nav_menu(array('theme_location' => 'footer', 'container' => '', 'container_class' => '', 'items_wrap' => '<ul>%3$s</ul>'));
                        ?> 
                    </div>             
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-3')) : ?>
                    <div class="widget-column-3">
                        <?php
                            $footer_recent_post_title = get_theme_mod('footer_recent_post_title');
                        echo '<h5>' . esc_html($footer_recent_post_title) . '</h5>';
                        echo do_shortcode('[footer-posts show="2"]');
                        ?>            	
                    </div>
                <?php endif; ?>

                <?php if (!dynamic_sidebar('footer-4')) : ?>
                    <div class="widget-column-4"> 
                        <?php footer_contact_us(); ?>
                    </div>
                <?php endif; ?>

                <div class="clear"></div>
            </div><!--end .cols-4-->
        <?php } ?>  
        <div class="clear"></div>
    </div><!--end .container-->

    <div class="copyright-wrapper">
        <div class="container">
            <div class="copyright-txt"><?php
                $study_education_pro_design    = get_theme_mod('study_education_pro_design');
                $study_education_pro_copyright = get_theme_mod('study_education_pro_copyright');
                echo do_shortcode($study_education_pro_copyright);
                ?></div>
            <div class="design-by"><?php
                echo do_shortcode($study_education_pro_design);
                ?></div>
        </div>
        <div class="clear"></div>
    </div>
</div>
<?php
$footer_back_to_top_button   = get_theme_mod('footer_back_to_top_button');
echo do_shortcode($footer_back_to_top_button);
?>
<?php wp_footer(); ?>
</body>
</html>