= $niveaux[$roles[1]]) { $action = $_GET["a"]; $salle = $_GET["s"]; $url = ""; $param = "?s=$salle"; if ($action === "b") { $url = $url_bloque . $param; } if ($action === "d") { $url = $url_debloque . $param; } if ($action != "" ) { bascule_salle($url); } } $precedent = $_SERVER["HTTP_REFERER"]; header("Location: $precedent"); ?>