<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Admin Panel | <?php echo SITE_NAME ?></title>
    <link href="https://fonts.googleapis.com/css?family=Nunito:300,400,400i,600,700,800,900" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo SITE_URL.ADMIN_DIR ?>/assets/styles/css/themes/lite-blue.min.css">
    <link rel="stylesheet" href="<?php echo SITE_URL.ADMIN_DIR ?>/assets/styles/vendor/perfect-scrollbar.css">
    <!-- Datatable CSS -->
    <link rel="stylesheet" href="<?php echo SITE_URL.ADMIN_DIR ?>/assets/styles/vendor/datatables.min.css">
    <link rel="stylesheet" href="<?php echo SITE_URL.ADMIN_DIR ?>/assets/styles/css/custom.css">
    <link rel="stylesheet" href="<?php echo SITE_URL.ADMIN_DIR ?>/assets/styles/vendor/sweetalert2.min.css">

    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/jquery-3.3.1.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/custom.js"></script>

</head>

<body>
    <div class="app-admin-wrap">
        
        <?php if(isset($header_file)) { include_once($header_file); } ?>
        <?php if(isset($left_file)) { include_once($left_file); } ?>
        <div class="main-content-wrap sidenav-open d-flex flex-column">
            <?php if(isset($middle_file)) { include_once($middle_file); } ?>
            <?php if(isset($footer_file)) { include_once($footer_file); } ?>
        </div>    
    </div>


    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/bootstrap.bundle.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/perfect-scrollbar.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/echarts.min.js"></script>

    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/es5/echart.options.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/es5/dashboard.v1.script.min.js"></script>

    <!-- Datatable JS -->
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/datatables.min.js"></script>

    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/es5/script.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/datatables.script.js"></script>    
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/vendor/sweetalert2.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/jquery.mask.min.js"></script>
    <script src="<?php echo SITE_URL.ADMIN_DIR ?>/assets/js/examples.js"></script>
    <script>
        function convertToSlug(Text){
                return Text.toLowerCase().replace(/[^\w ]+/g,'').replace(/ +/g,'-');
            }
    </script>
</body>

</html>