HEX
Server: Apache/2.2.15 (CentOS)
System: Linux dot-k1-063.dothome.co.kr 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User: hackhan (1520)
PHP: 5.6.40
Disabled: passthru socket_create socket_accept
Upload Files
File: /host/home1/hackhan/html/wp-content/themes/galway-lite/footer.php
<?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 Galway Lite
 */
?>
<?php if (is_active_sidebar('slide-menu')):?>
    <div id="sidr-nav">
        <div class="sidr-close-holder mb-10 mt-30">
            <a class="sidr-class-sidr-button-close" href="#sidr-nav"><?php echo esc_html__('Close', 'galway-lite');?><i class="ion-ios-close-empty"></i></a>
        </div>
        <!-- offcanvas navigation content -->
        <?php dynamic_sidebar('slide-menu');?>
    </div>
<?php endif;?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
    <?php $galway_lite_footer_widgets_number = galway_lite_get_option('number_of_footer_widget');
    if ($galway_lite_footer_widgets_number != 0) {?>
        <?php
        if (1 == $galway_lite_footer_widgets_number) {
            $col = 'col-md-12';
        } elseif (2 == $galway_lite_footer_widgets_number) {
            $col = 'col-md-6';
        } elseif (3 == $galway_lite_footer_widgets_number) {
            $col = 'col-md-4';
        } elseif (4 == $galway_lite_footer_widgets_number) {
            $col = 'col-md-3';
        } else {
            $col = 'col-md-3';
        }
        if (is_active_sidebar('footer-col-one') || is_active_sidebar('footer-col-two') || is_active_sidebar('footer-col-three') || is_active_sidebar('footer-col-four')) {?>
        <div class="footer-widget pt-60 pb-40">
            <div class="container">
                <div class="row">
                    <?php if (is_active_sidebar('footer-col-one') && $galway_lite_footer_widgets_number > 0):?>
                        <div class="contact-list <?php echo $col;?>">
                            <?php dynamic_sidebar('footer-col-one');?>
                        </div>
                    <?php endif;?>
                    <?php if (is_active_sidebar('footer-col-two') && $galway_lite_footer_widgets_number > 1):?>
                        <div class="contact-list <?php echo $col;?>">
                            <?php dynamic_sidebar('footer-col-two');?>
                        </div>
                    <?php endif;?>
                    <?php if (is_active_sidebar('footer-col-three') && $galway_lite_footer_widgets_number > 2):?>
                        <div class="contact-list <?php echo $col;?>">
                            <?php dynamic_sidebar('footer-col-three');?>
                        </div>
                    <?php endif;?>
                    <?php if (is_active_sidebar('footer-col-four') && $galway_lite_footer_widgets_number > 3):?>
                        <div class="contact-list <?php echo $col;?>">
                            <?php dynamic_sidebar('footer-col-four');?>
                        </div>
                    <?php endif;?>
                </div>
            </div>
        </div>
        <?php }?>
    <?php }?>
    <div class="copyright-area">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="site-info text-center">
                        <h4 class="site-copyright secondary-textcolor secondary-font">
                            <?php
                            $galway_lite_copyright_text = wp_kses_post(galway_lite_get_option('copyright_text'));
                            if (!empty($galway_lite_copyright_text)) {
                                echo wp_kses_post(galway_lite_get_option('copyright_text'));
                            }
                            ?>
                            <?php printf(esc_html__('Theme: %1$s by %2$s', 'galway-lite'), 'Galway Lite', '<a href="http://themeinwp.com/" target = "_blank" rel="designer">Themeinwp </a>');?>
                        </h4>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
</div>
<div class="scroll-up alt-bgcolor">
    <i class="ion-ios-arrow-up text-light"></i>
</div>
<?php wp_footer();?>
</body>
</html>