<?php $all_pages = $this->Front_model->get_all_page_for_footer(); ?>
<footer class="edu-footer footer-lighten bg-image footer-style-1">
    <div class="footer-top">
        <div class="container">
            <div class="row g-5">
                <div class="col-lg-3 col-md-6">
                    <div class="edu-footer-widget">
                        <div class="logo">
                            <a href="index.html">
                                <img width="150px" class="logo-light" src="<?php echo base_url(); ?><?php echo $app_setting->app_footer_logo; ?>" alt="<?php echo $app_setting->app_name; ?>">
                                <img width="150px" class="logo-dark" src="<?php echo base_url(); ?><?php echo $app_setting->app_footer_logo; ?>" alt="<?php echo $app_setting->app_name; ?>">
                            </a>
                        </div>
                        <p class="description"><?php echo $app_setting->footer_about_us; ?></p>

                    </div>
                </div>
                <div class="col-lg-3 col-sm-6">
                    <div class="edu-footer-widget explore-widget">
                        <h4 class="widget-title">Quick Link</h4>
                        <div class="inner">
                            <ul class="footer-link link-hover">
                                <li><a href="<?php echo base_url(); ?>">Home</a></li>
                                <li><a href="<?php echo base_url(); ?>about_us">About Us</a></li>
                                <li><a href="<?php echo base_url(); ?>blog">Blog</a></li>
                                <li><a href="<?php echo base_url(); ?>contact">Contact</a></li>
                                <li><a href="<?php echo base_url(); ?>our-courses">Our Courses</a></li>
                                <?php foreach ($all_pages as $page) :
                                    if ($page->showing == 1) : ?>
                                        <li><a href="<?php echo base_url(); ?>page/<?php echo $page->slug; ?>"><?php echo $page->name; ?></a></li>
                                <?php endif;
                                endforeach ?>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-2 col-sm-6">
                    <div class="edu-footer-widget quick-link-widget">
                        <h4 class="widget-title">Legal & Info</h4>
                        <div class="inner">
                            <ul class="footer-link link-hover">
                                <?php foreach ($all_pages as $page) :
                                    if ($page->showing == 3) : ?>
                                        <li><a href="<?php echo base_url(); ?>page/<?php echo $page->slug; ?>"><?php echo $page->name; ?></a></li>
                                <?php endif;
                                endforeach ?>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4 col-md-6">
                    <div class="edu-footer-widget">
                        <h4 class="widget-title">Contacts</h4>
                        <div class="inner">
                            <div class="widget-information">
                                <ul class="information-list">
                                    <?php 
                                    $content_array = explode("<br/>", $app_setting->app_address);
                                    $content_array = array_map('trim', $content_array);
                                    foreach ($content_array  as $key => $value) {?>
                                    <li><span><i class="fa fa-map-marker" aria-hidden="true"></i> </span><?php echo $value; ?></li>
                                    <?php }; ?>
                                    <li><span><i class="fa fa-phone" aria-hidden="true"></i> </span><a href="tel:<?php echo $app_setting->app_mobile; ?>"><?php echo $app_setting->app_mobile; ?></a></li>
                                    <li><span> <i class="fa fa-envelope-o" aria-hidden="true"></i></span><a href="mailto:<?php echo $app_setting->app_email; ?>" target="_blank"><?php echo $app_setting->app_email; ?></a></li>
                                </ul>
                            </div>
                            <ul class="social-share icon-transparent mt-5">
                                <?php if($app_setting->facebook): ?>
                                    <li><a href="<?php echo $app_setting->facebook; ?>" class="color-fb"><i class="icon-facebook"></i></a></li>
                                <?php endif; ?>
                                <?php if($app_setting->twitter): ?>
                                    <li><a href="<?php echo $app_setting->twitter; ?>" class="color-twitter"><i class="icon-twitter"></i></a></li>
                                <?php endif; ?>   
                                <?php if($app_setting->youtube): ?>
                                    <li><a href="<?php echo $app_setting->youtube; ?>" class="color-yt"><i class="icon-youtube"></i></a></li>
                                <?php endif; ?>  
                                <?php if($app_setting->instagram): ?>
                                    <li><a href="<?php echo $app_setting->instagram; ?>" class="color-ig"><i class="icon-instagram"></i></a></li>
                                <?php endif; ?>

                                <li><a href="#" class="color-linkd"><i class="icon-telegram"></i></a></li>
                                
                                
                                
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="copyright-area">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="inner text-center">
                        <p>Copyright <?php echo date('Y') ?> <?php echo $app_setting->app_name; ?>. All Rights Reserved</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</footer>
<!-- End Footer Area  -->


</div>

<div class="rn-progress-parent">
    <svg class="rn-back-circle svg-inner" width="100%" height="100%" viewBox="-1 -1 102 102">
        <path d="M50,1 a49,49 0 0,1 0,98 a49,49 0 0,1 0,-98" />
    </svg>
</div>

<!-- JS
  ============================================ -->
<!-- Modernizer JS -->
<script src="<?php echo front_css(); ?>js/vendor/modernizr.min.js"></script>
<!-- Jquery Js -->
<script src="<?php echo front_css(); ?>js/vendor/jquery.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/bootstrap.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/sal.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/backtotop.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/magnifypopup.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/jquery.countdown.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/odometer.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/isotop.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/imageloaded.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/lightbox.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/paralax.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/paralax-scroll.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/jquery-ui.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/swiper-bundle.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/svg-inject.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/vivus.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/tipped.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/smooth-scroll.min.js"></script>
<script src="<?php echo front_css(); ?>js/vendor/isInViewport.jquery.min.js"></script>

<!-- Site Scripts -->
<script src="<?php echo front_css(); ?>js/app.js"></script>
</body>

</html>