-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.php
81 lines (73 loc) · 2.89 KB
/
Home.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Airlines Reservation System</title>
<link rel="stylesheet" href="./css/style_reset.css" type="text/css">
<link rel="stylesheet" href="./css/help.css" type="text/css">
<link rel="stylesheet" href="./css/openflights.css" type="text/css">
<style type="text/css"></style>
<!-- load jquery ui css-->
<link href="jquery-ui.min.css" rel="stylesheet" type="text/css" />
<!-- load jquery library -->
<script src="jquery-1.11.3.min.js"></script>
<!-- load jquery ui js file -->
<script src="jquery-ui.min.js"></script>
<script type="text/javascript">
$(function() {
var availableTags = <?php include('search.php'); ?>;
$("#origin").autocomplete({
source: availableTags,
autoFocus:true
});
$("#destination").autocomplete({
source: availableTags,
autoFocus:true
});
});
</script>
</head>
<body>
<div id="mainContainer">
<div id="sideBarContentWrapper">
<div id="contentContainer">
<div id="nonmap">
<h1>Airlines Reservation System</h1>
<a href="Home.php">
Home</a> | <a href="view.php">
View Reservation</a> |<a href="Airport.php">
Airport</a> | <a href="Airline.php">
Airline</a> | <a href="Route.php">
Route</a> | <a href="Analytical.php">
Analytical Operations</a>
<a name="airport"></a>
<h2>Search for Flights</h2>
<form method="post" action="main.php" id="searchform">
<fieldset>
<table style="width:100%">
<tr>
<td><label>Origin</label></td>
<td><input name="origincity" id="origin" type="text" placeholder = "From" size="50" qaname="Origin" qadata="origincity" required/></td>
</tr>
<tr>
<td><label>Destination</label></td>
<td><input name="destinationcity" id="destination" type="text" placeholder = "To" size="50" qaname="Destination" qadata="destinationcity" required/></td>
</tr>
<tr>
<td><label>Date</label></td>
<td><input name="date" type="date" size ="50" qaname="Date" qadata="date?add=5" required /> </td>
</tr>
<br>
<tr><td> <br></td></tr>
<tr>
<td><input type="Submit" value="Search" /></td>
</tr>
</table>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</body>
</html>