<!DOCTYPE html>
<html lang="pt-br">
	<head>
		<!-- Metas -->
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

		<!-- Manifest JSON -->
		<link href="<?php show_file_link("/manifest.json"); ?>" rel="manifest">

		<!-- Icon -->
		<link href="<?php show_file_link(PROJECT_ICON); ?>" rel="icon">

		<!-- Title -->
		<title><?php show_title($title); ?></title>

		<!-- Bootstrap v5.1.3 CSS -->
		<link href="<?php show_file_link("/assets/vendor/bootstrap/css/bootstrap.min.css"); ?>" rel="stylesheet">

		<!-- Fonts Rubik -->
		<link href="<?php show_file_link("/assets/fonts/rubik/font.css"); ?>" rel="stylesheet">

		<!-- SB Admin CSS -->
		<link href="<?php show_file_link("/assets/vendor/sbadmin/css/sbadmin.css"); ?>" rel="stylesheet">

		<!-- Style CSS -->
		<link href="<?php show_file_link("/assets/css/style.css"); ?>" rel="stylesheet">

		<!-- Font Awesome CSS -->
		<link href="<?php show_file_link("/assets/vendor/fontawesome/releases/v6.1.1/css/all.css"); ?>" rel="stylesheet">

		<!-- JQuery Toast CSS -->
		<link href="<?php show_file_link("/assets/vendor/toast/css/toast.css"); ?>" rel="stylesheet">

		<!-- JQuery DataTables CSS -->
		<link href="<?php show_file_link("/assets/vendor/datatables/css/dataTables.bootstrap5.min.css"); ?>" rel="stylesheet">

		<!-- JQuery Datepicker CSS -->
		<link href="<?php show_file_link("/assets/vendor/datepicker/css/datepicker.css"); ?>" rel="stylesheet">

		<!-- JQuery Sweetalert CSS -->
		<link href="<?php show_file_link("/assets/vendor/sweetalert2/css/sweetalert2.css"); ?>" rel="stylesheet">

		<!-- JCUtils CSS -->
		<link href="<?php show_file_link("/assets/vendor/JCUtils/css/JCUtils.css"); ?>" rel="stylesheet">

		<!-- JQuery JS -->
		<script src="<?php show_file_link("/assets/vendor/jquery/jquery.min.js"); ?>"></script>

		<!-- JQuery Toast JS -->
		<script src="<?php show_file_link("/assets/vendor/toast/js/toast.js"); ?>"></script>

		<!-- JQuery Mask JS -->
		<script src="<?php show_file_link("/assets/vendor/jquery-mask/jquery.mask.js"); ?>"></script>
		
		<!-- JQuery DataTables JS -->
		<script src="<?php show_file_link("/assets/vendor/datatables/js/jquery.dataTables.min.js"); ?>"></script>
		<script src="<?php show_file_link("/assets/vendor/datatables/js/dataTables.bootstrap5.min.js"); ?>"></script>

		<!-- JQuery Datepicker JS -->
		<script src="<?php show_file_link("/assets/vendor/datepicker/js/datepicker.min.js"); ?>"></script>
		<script src="<?php show_file_link("/assets/vendor/datepicker/js/language/datepicker.pt-BR.js"); ?>"></script>

		<!-- JQuery Sweetalert JS -->
		<script src="<?php show_file_link("/assets/vendor/sweetalert2/js/sweetalert2.min.js"); ?>"></script>

		<!-- JCUtils JS -->
		<script src="<?php show_file_link("/assets/vendor/JCUtils/js/JCUtils.js"); ?>"></script>

		<script>
			window.active_page = "<?php echo $active_page ?>";
			window.root_directory = "<?php echo ROOT_DIRECTORY; ?>";
		</script>
	</head>
	<body class="sb-nav-fixed">
		<nav class="sb-topnav navbar-color">
			<div class="navbar navbar-expand navbar-content">
				<span class="navbar-brand ps-3">
					<?php echo PROJECT_NAME; ?>
				</span>

				<div class="ms-auto pe-3">
					<button class="btn btn-link btn-sm shadow-none" id="sidebarToggle">
						<i class="fa-regular fa-bars"></i>
					</button>
				</div>
			</div>
		</nav>

		<?php import_template("sidebar"); ?>