<?php $Languages            = $this->db->from('languages')->where('status',1)->all();  ?>
<?php $SelectLang           = $this->db->from('languages')->where('language',ACTIVE_LANG)->first(); ?>
<div class="footer py-2 mt-auto">
    <div class="container-fluid">
        <div class="row align-items-center no-gutters py-2 fs-14">
            <!-- Desc -->
            <div class="col-lg-4 col-md-5 col-12">
                <div class="fs-xs text-muted">Copyright © 2022
                    <?php echo DOMAIN;?>. All rights reserved.</div>
            </div>
            <!-- Links -->
            <div class="col-12 col-md-7 col-lg-8 d-md-flex justify-content-end">
                <nav class="nav fs-xs text-muted">
                    <?php 
                    $Pages = $this->db->from('pages')->where('status',1)->all();
                    foreach($Pages as $Page) {
                    ?>
                    <a class="nav-link text-current" href="<?php echo page($Page['id'],$Page['self']);?>">
                        <?php echo $Page['name'];?></a>
                    <?php } ?>
                </nav>
            </div>
        </div>
    </div>
</div>
<div class="position-fixed end-0 bottom-0 p-xl-4 p-3 modal-register d-none">
    <div class="position-relative">
        <div class="card shadow-lg bg-white border-0 rounded-lg-pill">
            <div class="card-body text-center px-4 d-flex align-items-center flex-nowrap">
                <p class="fs-sm text-muted mb-0 me-3">
                    <?php echo $this->translate('This website uses cookies to ensure you get the best experience on our website');?> <a href="<?php echo page(null,'cookie');?>" class="text-theme">
                        <?php echo $this->translate('Learn more');?></a></p>
                <button type="button" class="btn-close close-register btn-sm ms-auto shadow-none" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
        </div>
    </div>
</div>
<div class="modal" id="xl" tabindex="-1" aria-labelledby="modal" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-xl">
        <div class="modal-content">
        </div>
    </div>
</div>
<div class="modal" id="lg" tabindex="-1" aria-labelledby="modal" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg">
        <div class="modal-content">
        </div>
    </div>
</div>
<div class="modal" id="m" tabindex="-1" aria-labelledby="modal" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
        </div>
    </div>
</div>
<div class="modal" id="sm" tabindex="-1" aria-labelledby="modal" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-sm">
        <div class="modal-content">
        </div>
    </div>
</div>
</body>

</html>