<?php include 'config/_globle.php'; ?>
<?php include 'api/AUTh/check_user_session.php'; ?>
<?php include 'api/config/database.php'; ?>
<?php include_once 'api/objects/createrole.php'; ?>
<?php include 'api/AUTh/get_role_permission.php'; ?>
<!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="shortcut icon" type="image/x-icon" href="<?=$app_url;?>img/logo_sm.png" />
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<title><?=$app_name;?></title>

	<!-- <link rel="stylesheet" href="<?=$app_url;?>dist/css/adminlte.css"> -->

	<!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> -->
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/bootstrap.min.css">

	<!-- <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> -->
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/jquery-ui.css">

	<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> -->
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/all.min.css">

	<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/admin-lte@3.2.0/dist/css/adminlte.min.css"> -->
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/adminlte.min.css">

	<link rel="stylesheet" href="<?=$app_url;?>dist/css/croppie.css">
	<link rel="stylesheet" href="<?=$app_url;?>custom_dist/css/datatables.min.css" />

    <!-- <link rel="stylesheet" href="https://cdn.datatables.net/buttons/2.4.1/css/buttons.dataTables.min.css"> -->
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/buttons.dataTables.min.css">

	<!-- <link href="https://cdn.jsdelivr.net/npm/bootbox@5.5.2/dist/bootbox.min.css" rel="stylesheet">
	<link rel="stylesheet" href="<?=$app_url;?>dist/css/bootbox.min.css"> -->

	<style>

		.table {
			font-size: 0.8rem; 

		}
		.form-control {
			height: calc(1.5em + 0.5rem + 2px);
		}
		/*.card-primary{*/
			/* border-top: 3px solid #17a2b8 !important; */
		/*	border-top: 3px solid #0091d0 !important;*/
		/*}*/
		table.dataTable td, table.dataTable th {
			vertical-align: middle;
		}

		.ui-datepicker {
			z-index: 1055 !important;
		}

        .card-primary {
            border-top: none !important;
        }
	</style>

</head>
<body class="hold-transition sidebar-mini layout-fixed layout-navbar-fixed layout-footer-fixed text-sm" >
	<div class="wrapper">
		<nav class="main-header navbar navbar-expand navbar-white navbar-light">
			<ul class="navbar-nav">
				<li class="nav-item">
					<a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
				</li>
			</ul>

			<ul class="navbar-nav ml-auto">
				<li class="nav-item">
			        <a class="nav-link" href="<?=$app_url;?>logout.php" title="Logout">
			          <i class="fas fa-sign-out-alt"></i>
			        </a>
			     </li>
			</ul>
		</nav>
	<script>
		var APP_URL = '<?=$app_url;?>';
	</script>
	
