<!DOCTYPE html>
<html lang="<?= $locale ?>">

<head>
    <meta charset="utf-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title><?php echo "CRB-V ".($title??$title)?></title>

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">

    <?= link_tag('assets/plugins/fontawesome-free/css/all.min.css'); ?>
    <!-- flag-icon-css -->
    <?= link_tag('assets/plugins/flag-icon-css/css/flag-icon.min.css'); ?>
    <!-- Theme style -->
    <?= link_tag('assets/dist/css/adminlte.min.css'); ?>
    <!-- Font Awesome -->
    <?= link_tag('assets/plugins/fontawesome-free/css/all.min.css'); ?>
    
    <!-- Bootstrap icons -->
	<?= link_tag('assets/dist/css/bootstrap_icons/font/bootstrap-icons.min.css'); ?>

    <!-- Tempusdominus Bbootstrap 4 -->
    <?= link_tag('assets/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css'); ?>
    <!-- iCheck -->
    <?= link_tag('assets/plugins/icheck-bootstrap/icheck-bootstrap.min.css'); ?>
    <!-- JQVMap -->
    <?= link_tag('assets/plugins/jqvmap/jqvmap.min.css'); ?>
    <!-- overlayScrollbars -->
    <?= link_tag('assets/plugins/overlayScrollbars/css/OverlayScrollbars.min.css'); ?>
    <!-- Daterange picker -->
    <?= link_tag('assets/plugins/daterangepicker/daterangepicker.css'); ?>
    <!-- summernote -->
    <?= link_tag('assets/plugins/summernote/summernote-bs4.css'); ?>
    <?= link_tag('assets/plugins/toastr/toastr.min.css'); ?>
    <!-- DataTables -->
    <?= link_tag('assets/plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'); ?>
    <?= link_tag('assets/plugins/datatables-responsive/css/responsive.bootstrap4.min.css'); ?>
    <?= link_tag('assets/plugins/datatables-buttons/css/buttons.bootstrap4.min.css'); ?>
    <?= link_tag('assets/plugins/select2/css/select2.min.css'); ?>
    <!-- Google Font: Source Sans Pro -->
    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
    <!-- jQuery -->
    <?= script_tag('assets/plugins/jquery/jquery.min.js'); ?>

    <!-- <link rel="manifest" href="/manifest.json"> -->
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="<?= site_url(); ?>assets/icons/ms-icon-144x144.png">
    <meta name="theme-color" content="#ffffff">



    <script type="text/javascript">
        function i18nize(lng) {
            let url = window.location.href;
            let newUrl = url.substr(0, url.indexOf('#'));
            if (url.indexOf('?lang=') != -1) {
                newUrl = url.split("?")[0];
            }
            window.location.replace(newUrl + '?lang=' + lng);

            $.ajax({

            });

        }
    </script>


</head>

<body class="sidebar-mini layout-fixed sidebar-mini-xs text-sm control-sidebar-slide-open sidebar-mini-md" style="height: auto;">

    <div class="wrapper">