<?php
if (isset($app_title) && !empty($app_title)) { ?>

    </div>
    <!-- End of Main Content -->

    <!-- Footer -->
    <div class="footer-wrap pd-20 card-box"
        style="position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; border-radius: 0;">
        <?php echo $site_title; ?> - <?php echo $s_ver; ?>
    </div>

    <!-- Logout Modal-->
    <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
        aria-hidden="true">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
                    <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                </div>
                <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
                <div class="modal-footer">
                    <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
                    <a class="btn btn-primary" href="?action=logout">Logout</a>
                </div>
            </div>
        </div>
    </div>

    <!-- main js -->
    <script src="../assets/vendors/scripts/script.min.js"></script>
    <script src="../assets/vendors/scripts/process.js"></script>
    <script src="../assets/vendors/scripts/layout-settings.js"></script>
    <!-- datatable js -->
    <script src="../assets/plugins/datatables/js/jquery.dataTables.min.js"></script>
    <script src="../assets/plugins/datatables/js/dataTables.bootstrap4.min.js"></script>
    <script src="../assets/plugins/datatables/js/dataTables.responsive.min.js"></script>
    <script src="../assets/plugins/datatables/js/responsive.bootstrap4.min.js"></script>
    <!-- bootstrap-tagsinput js -->
    <script src="../assets/plugins/bootstrap-tagsinput/bootstrap-tagsinput.js"></script>
    <!-- buttons for export datatable -->
    <script src="../assets/plugins/datatables/js/dataTables.buttons.min.js"></script>
    <script src="../assets/plugins/datatables/js/buttons.bootstrap4.min.js"></script>
    <!-- datatable Setting js -->
    <script src="../assets/vendors/scripts/datatable-setting.js"></script>
    <!-- other js -->
    <script src="../assets/scripts/app.js"></script>
    <script src="../assets/scripts/sweetalert2.all.min.js"></script>
    </body>

    </html>

<?php } ?>