Cosmetic iand spell fixes.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 17 Jan 2018 09:55:31 +0000 (10:55 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 17 Jan 2018 09:55:31 +0000 (10:55 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
includes/account.php
includes/formbooking.php
includes/home.php
includes/login.php
includes/register.php
includes/reservations.php
includes/search.php
styles/airpolytech.css

index 9e725c3ac9bbfd753afdef4924492a8f6f2a7744..c7099dbaa319fd5f7b70b9b96817783e679660c3 100644 (file)
@@ -3,9 +3,10 @@ global $is_logged_in;
 if (!$is_logged_in) {
     echo "Please login first.";
     redirect("index.php?page=login", 2);
+    include('footer.html');
     exit();
 }
 ?>
 
 <h2>Mes informations</h2>
-<h2>Mes re&#769;versations</h2>
+<h2><a href="<?php echo $configs['root_url']; ?>/index.php?page=reservations">Mes re&#769;servations</a></h2>
index 8df025e9fb5a29f4f3b99db5d5de1db83695a96a..dd4189e969bc39b4f7f8bdfdfecb69261d24dd60 100644 (file)
@@ -55,7 +55,7 @@ if (!$input_failure && $is_logged_in && !empty($form_nb_place) && !empty($form_c
         echo "(Simulation de paiement d'une re&#769;servation) <br>";
         echo "Vous avez re&#769;serve&#769; et paye&#769; " . $form_nb_place . " place(s) sur le vol " .$form_flight_id .
              " au de&#769;part de " . $row['VilleD'].  " a&#768; " . $row['DateD'] . " arrivant a&#768; " . $row['VilleA'] . " a&#768; " . $row['DateA'] .
-             " pour un montant de " . $form_place_price * $form_nb_place . "&euro;. <br>";
+             " pour un montant total de " . $form_place_price * $form_nb_place . "&euro;. <br>";
     }
     if ($form_return_flight) {
         redirect("index.php?page=search", 3);
index 058b19a219470e5a769d74c83114f737312dce79..db4fe90778d07b0c0b4c6af1b15971617a22ecd2 100644 (file)
@@ -5,8 +5,8 @@ global $is_logged_in;
 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\">Cre&#769;er un compte</a></td>\n";
+    echo "    <td><a href=\"$root_url/index.php?page=login\">S'identifier</a></td>\n";
     echo "  </tr>\n";
 }
 ?>
index 05f87148a6202ec150fd2dad75295717c253a1b4..7b8f349f701fc552b238afa28bccdc402e5cbafb 100644 (file)
@@ -8,3 +8,4 @@
  <input type="password" size="15" name="password" required/>
  <input type="submit" value="Valider">
 </form>
+<br>
index 5c1a107da077405164e415112a9ed26299d15211..09918a4cd67959eb69edc13f49a6865036280483 100644 (file)
@@ -22,5 +22,6 @@
  <input type="password" minlength="8" size="15" name="confirmpassword" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*" title="Doit contenir 8 caracte&#768;res minimum dont une majuscule, une minuscule et un chiffre" required/>
  <input type="submit" value="Valider">
 </form>
-
+<br>
 <p> * : Champs obligatoire. </p>
+<br>
index 44208ba7dc85e41f5380e4e40ccf9a190c358f1f..e986fb6647a31dd56326f23bc016718178bb4f0c 100644 (file)
@@ -3,6 +3,7 @@ global $is_logged_in;
 if (!$is_logged_in) {
     echo "Please login first.";
     redirect("index.php?page=login", 2);
+    include('footer.html');
     exit();
 }
 ?>
index aab573303eccca127012171fdff80f304d892e1b..03a956079e021cac06febe8b22112186155dba38 100644 (file)
@@ -15,3 +15,4 @@
  <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>
index a05683e4951a4d0b65dc2233df1a6bb16bd71d1b..a5e5ebc4062f4462d0daa2cc95f71d01f10df0f7 100644 (file)
@@ -76,7 +76,7 @@ table {
 
 table#home {
     font-size: 3em;
-    line-height: 1em;
+    line-height: 2.5em;
 }
 
 table#search {