<!doctype html>
<html lang="fr">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<title>CARIA Project</title>
		<link rel="shortcut icon" type="image/png" href="./images/autres/favicon.png">
		<link rel="stylesheet" type="text/css" media="screen" href="./css/style.css">
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
        <!--MAP-->
        <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" />
        <link rel="stylesheet" type="text/css" href="https://unpkg.com/leaflet.markercluster@1.3.0/dist/MarkerCluster.css" />
        <link rel="stylesheet" type="text/css" href="https://unpkg.com/leaflet.markercluster@1.3.0/dist/MarkerCluster.Default.css" />
	<?php
	//Attribution des variables de session
	include("./controleur/functions.php");
	include("./controleur/constants.php");
	$lvl=(isset($_SESSION['privilege']))?(int) $_SESSION['privilege']:1;
	$id=(isset($_SESSION['ideleve']))?(int) $_SESSION['ideleve']:0;
	$pseudo=(isset($_SESSION['pseudo']))?$_SESSION['pseudo']:'';
	if(session_id() == '') { session_start(); }
	?>
	</head>
	<body>
	<div class="container-fluid bg1">	
<header>
	<div class="container">
	<div class="text-center"><a href="index.php"><img src="./images/autres/logo.png"></a></div>
		<nav class="navbar navbar-expand-lg navbar-dark bg-transparent">
		<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
		<span class="navbar-toggler-icon"></span>
		</button>
			<div class="collapse navbar-collapse" id="navbarSupportedContent">
				<ul class="navbar-nav mr-auto">
						<?php if(isset($_SESSION['pseudo'])) { ?>
							<li class="nav-item dropdown">
								<a class="dropdown-item nav-link disabled">Connecter en tant que <?php echo ' '.htmlentities($_SESSION['pseudo'], ENT_QUOTES, 'UTF-8'); ?></a>
							</li><li class="nav-item dropdown">
								<a class="dropdown-item" href="control.php">Interface de control</a>
							</li><li class="nav-item dropdown">
								<a class="dropdown-item" href="./index.php">Home</a>
							</li><li class="nav-item dropdown">
								<a class="dropdown-item" href="./profil.php?action=modifier">Modifier mes informations</a>
							</li><li class="nav-item dropdown">
								<a class="dropdown-item" href="./deconnexion.php">Déconnexion</a>
							</li>
						<?php } else { ?>
							<li class="nav-item dropdown">
								<a class="dropdown-item" href="./inscription.php">Inscription</a>
							</li><li class="nav-item dropdown">
								<a class="dropdown-item" href="./connexion.php">Connexion</a>
							</li>
						<?php } ?>
					</li>
				</ul>
			</div>
		</nav>
	</div>
</header>
<div class="container">
<div class="col">
<div class="row">