-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstatus.php
33 lines (27 loc) · 988 Bytes
/
status.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
include_once 'import/header.php';
?>
<?php
if (isset($_SESSION['fname'])) {
echo '
<div class="manage-account-container">
<h2>Check Flight Status</h2>
<!-- Account information form -->
<form class="account-form" action="includes/update.inc.php" method="POST">
<div class="form-group">
<label for="first-name">Enter Airline Booking Reference (PNR)</label>
<input type="text" id="pnr" name="pnr" required>
</div>
<button id="form-button" name="submit" type="submit"">Check Status</button>
</form>
</div>
';
}
else {
echo
'<script>window.alert("Please log in to check in"); window.location.href = "redirect.login.php";</script>';
}
?>
<?php
include_once 'import/footer.php';
?>