 <footer class="footer">
            <div class="card">
                <div class="card-body">
                    <div class="d-sm-flex justify-content-center justify-content-sm-between">
                        <span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Copyright © <?php echo date("Y") ?> 
                        <a href="javascript:void(0);" class="text-muted">iDoor</a>. All rights reserved.</span>
                    </div>
                </div>    
            </div>        
        </footer>
      </div>
    </div>
</div>

<script src="<?php echo base_url('assets'); ?>/vendors/js/vendor.bundle.base.js"></script>
<script src="<?php echo base_url('assets'); ?>/js/off-canvas.js"></script>
<script src="<?php echo base_url('assets'); ?>/js/hoverable-collapse.js"></script>
<script src="<?php echo base_url('assets'); ?>/js/template.js"></script>
<script src="<?php echo base_url('assets'); ?>/js/settings.js"></script>
<script src="<?php echo base_url('assets'); ?>/js/todolist.js"></script>


<!-- Toaster CSS AND JS-->
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/toaster/'); ?>/toastr.min.css">
<script type="text/javascript" src="<?php echo base_url('assets/toaster/'); ?>/toastr.min.js"></script>
<script type="text/javascript" src="<?php echo base_url('assets/toaster/'); ?>/toaster_config.js"></script>

<!-- Datatable -->
<script src="<?php echo base_url('assets'); ?>/datatable/jquery-3.5.1.js"></script>
<script src="<?php echo base_url('assets'); ?>/datatable/jquery.dataTables.min.js"></script>
<script src="<?php echo base_url('assets'); ?>/validate/jquery.validate.min.js"></script>

<script type="text/javascript">

$( document ).ready(function() {

    <?php 

        $menu_name = $this->uri->segment('2');
        if($menu_name == 'user') {
            ?>                
                $("#auth").removeClass("show");
                $("#auth3").removeClass("show");

            <?php 
        } else if($menu_name == 'lock') {
            ?>
                $("#auth2").removeClass("show");   
                $("#auth3").removeClass("show");              
            <?php
        }else if($menu_name == 'bridge') {
            ?>
                $("#auth").removeClass("show"); 
                $("#auth2").removeClass("show");                
            <?php
        }
    ?>
});
</script>

</body>
</html>
