Commit | Line | Data |
---|---|---|
a96fefe1 JB |
1 | <h1> Rechercher un vol </h1> |
2 | ||
33eb6f2a JB |
3 | <?php if (isset($_SESSION['return_flight'])) ?> |
4 | ||
a96fefe1 JB |
5 | <form action="index.php" id="search" method="post"> |
6 | <input type="hidden" name="form" value="search" /> | |
33eb6f2a | 7 | <input type="hidden" name="date_now" value="<?php echo date('Y-m-d\TH:i'); ?>" /> |
a96fefe1 JB |
8 | <label> Départ : Ville -> </label> |
9 | <input type="text" size="15" name="departure_city" required/> | |
10 | <label> Date -> </label> | |
db6cae90 | 11 | <input type="datetime-local" name="departure_date" value="<?php echo date('Y-m-d\TH:i'); ?>" required/> |
a96fefe1 JB |
12 | <label> Arrivée : Ville -> </label> |
13 | <input type="text" size="15" name="arrival_city" required/> | |
14 | <label> Date -> </label> | |
33eb6f2a | 15 | <input type="datetime-local" name="arrival_date" value="<?php echo date('Y-m-d\TH:i', time() + 86400); ?>" required/> |
a96fefe1 JB |
16 | <input type="submit" value="Valider"> |
17 | </form> | |
01135b89 | 18 | <br> |