| 1 | <h1> Rechercher un vol </h1> |
| 2 | |
| 3 | <form action="index.php" id="search" method="post"> |
| 4 | <input type="hidden" name="form" value="search" /> |
| 5 | <label> Départ : Ville -> </label> |
| 6 | <input type="text" size="15" name="departure_city" required/> |
| 7 | <label> Date -> </label> |
| 8 | <input type="datetime-local" name="departure_date" value="<?php echo date('Y-m-d\TH:i'); ?>" required> |
| 9 | <label> Arrivée : Ville -> </label> |
| 10 | <input type="text" size="15" name="arrival_city" required/> |
| 11 | <label> Date -> </label> |
| 12 | <input type="datetime-local" name="arrival_date" value="<?php echo date('Y-m-d\TH:i'); ?>" required> |
| 13 | <input type="submit" value="Valider"> |
| 14 | </form> |