X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Fformsearch.php;h=3c6e0ea3f1ce224ff39421be44b1025a88c4ddad;hp=6bd0fa1850372714c2224ecda11385873441e8fd;hb=a0e7c679474abba8e61aa6241f7a5293ab631cc1;hpb=f38123a5d3eafd9af6fb25e1dd5ccf29c5508b36 diff --git a/includes/formsearch.php b/includes/formsearch.php index 6bd0fa1..3c6e0ea 100644 --- a/includes/formsearch.php +++ b/includes/formsearch.php @@ -99,7 +99,8 @@ if (empty($form_arrival_date)) { = ? and VilleD = ? and DateA <= ? and VilleA = ? order by DateD, NumVol, Prix"; @@ -114,6 +115,12 @@ if (!$input_failure) { if (empty($rows)) { echo "Aucun vol ne correspond aux critères de recherche.
"; } else { + if ($action === "return_flight" && isset($_SESSION['return_flight_nb_place'])) { + $nb_places = $_SESSION['return_flight_nb_place']; + unset($_SESSION['return_flight_nb_place']); + } else { + $nb_places = 1; + } echo "\n"; echo " \n"; echo " \n"; @@ -141,9 +148,9 @@ if (!$input_failure) { - - \n"; + \n"; if (!($action === "return_flight")) { + echo " \n"; echo " \n"; } echo " \n";
Numéro de vol