<?php if (Session::get('loggedIn') == true): ?>
    </div>
</div>
<?php endif; ?>
</div>
<?php
    if (isset($this->js)) {
        foreach ($this->js as $js) {
            echo '<script type="text/javascript" src="'. URL . 'views/' . $js . '?v=' . date('ymd') .'"></script>';
        }
    }
?>
<script>
    // Puedes incluir código JavaScript inline aquí si lo requieres.
</script>
<script src="<?= URL ?>public/plugins/popper/popper.min.js"></script>
<script src="<?= URL ?>public/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="<?= URL ?>public/js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="<?= URL ?>public/js/waves.js"></script>
<!--Menu sidebar -->
<script src="<?= URL ?>public/js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="<?= URL ?>public/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="<?= URL ?>public/plugins/sparkline/jquery.sparkline.min.js"></script>
<!--Custom JavaScript -->
<script src="<?= URL ?>public/plugins/toast-master/js/jquery.toast.js"></script>
<script src="<?= URL ?>public/js/jasny-bootstrap.js"></script>
<!-- Style switcher -->
<script src="<?= URL ?>public/plugins/styleswitcher/jQuery.style.switcher.js"></script>
<!-- Moment script -->
<script src="<?= URL ?>public/plugins/moment/moment.js"></script>
<script src="<?= URL ?>public/plugins/moment/moment-with-locales.js"></script>
<!-- Material DatePicker - DateTimePicker -->
<script src="<?= URL ?>public/plugins/bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker.js"></script>
<!-- This is data table -->
<script src="<?= URL ?>public/plugins/datatables.net/js/jquery.dataTables.min.js"></script>
<!-- DataTables buttons scripts -->
<script src="<?= URL ?>public/plugins/datatables.net/export/jszip.min.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/pdfmake.min.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/vfs_fonts.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/buttons.html5.min.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/buttons.print.min.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/dataTables.buttons.min.js"></script>
<script src="<?= URL ?>public/plugins/datatables.net/export/buttons.bootstrap.min.js"></script>
<!-- This is selectpicker -->
<script src="<?= URL ?>public/plugins/bootstrap-select/bootstrap-select.js" type="text/javascript"></script>
<!-- This is formvalidation -->
<script src="<?= URL ?>public/plugins/formvalidation/formValidation.min.js"></script>
<script src="<?= URL ?>public/plugins/formvalidation/framework/bootstrap.min.js"></script>
<!-- This is touchspin -->
<script src="<?= URL ?>public/plugins/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js" type="text/javascript"></script>
<!-- Buzz -->
<script src="<?= URL ?>public/plugins/buzz/buzz.min.js"></script>
<!-- Sweet-Alert  -->
<script src="<?= URL ?>public/plugins/sweetalert/sweetalert.min.js"></script>
<script src="<?= URL ?>public/js/chat.js"></script>
<!-- Tag inputs  -->
<script src="<?= URL ?>public/plugins/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js"></script>
<!--Morris JavaScript -->
<script src="<?= URL ?>public/plugins/raphael/raphael-min.js"></script>
<script src="<?= URL ?>public/plugins/morrisjs/morris.js"></script>
<?php
    if (isset($this->script) && $this->script) {
        echo '<script src="' . URL . 'public/plugins/Chart.js/Chart.min.js"></script>';
    }
?>
<!--Personal JavaScript -->
<script src="<?= URL ?>public/scripts/footer.js"></script>
<script type="text/javascript" src="<?= URL ?>public/js/bootstrap-datepicker.min.js"></script>
</body>
</html>
