if (!$is_logged_in) {
echo "Please login first.";
redirect("index.php?page=login", 2);
+ include('footer.html');
exit();
}
?>
<h2>Mes informations</h2>
-<h2>Mes réversations</h2>
+<h2><a href="<?php echo $configs['root_url']; ?>/index.php?page=reservations">Mes réservations</a></h2>
echo "(Simulation de paiement d'une réservation) <br>";
echo "Vous avez réservé et payé " . $form_nb_place . " place(s) sur le vol " .$form_flight_id .
" au départ de " . $row['VilleD']. " à " . $row['DateD'] . " arrivant à " . $row['VilleA'] . " à " . $row['DateA'] .
- " pour un montant de " . $form_place_price * $form_nb_place . "€. <br>";
+ " pour un montant total de " . $form_place_price * $form_nb_place . "€. <br>";
}
if ($form_return_flight) {
redirect("index.php?page=search", 3);
if (!$is_logged_in) {
$root_url = $configs['root_url'];
echo " <tr>\n";
- echo " <td><a href=\"$root_url/index.php?page=login\">S'identifier</a></td>\n";
echo " <td><a href=\"$root_url/index.php?page=register\">Créer un compte</a></td>\n";
+ echo " <td><a href=\"$root_url/index.php?page=login\">S'identifier</a></td>\n";
echo " </tr>\n";
}
?>
<input type="password" size="15" name="password" required/>
<input type="submit" value="Valider">
</form>
+<br>
<input type="password" minlength="8" size="15" name="confirmpassword" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*" title="Doit contenir 8 caractères minimum dont une majuscule, une minuscule et un chiffre" required/>
<input type="submit" value="Valider">
</form>
-
+<br>
<p> * : Champs obligatoire. </p>
+<br>
if (!$is_logged_in) {
echo "Please login first.";
redirect("index.php?page=login", 2);
+ include('footer.html');
exit();
}
?>
<input type="datetime-local" name="arrival_date" value="<?php echo date('Y-m-d\TH:i', time() + 86400); ?>" required/>
<input type="submit" value="Valider">
</form>
+<br>
table#home {
font-size: 3em;
- line-height: 1em;
+ line-height: 2.5em;
}
table#search {