-
Notifications
You must be signed in to change notification settings - Fork 0
/
flight2.php
264 lines (250 loc) · 5.73 KB
/
flight2.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<html>
<link rel="stylesheet" href="style.css">
<body>
<ul>
<li><a href="index.html"><img src="airologo.png"></a></li>
<li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li><li class="b"><a href=""></a></li>
<li class="b"><a href="locations.html">Locations</a></li>
<li class="b"><a href="booking.html">Booking</a></li>
<li class="b"><a href="#contact">PNR Status</a></li>
<li class="b"><a href="flight_tracker.html">Flight Tracking</a></li>
</ul>
<div class="center">
<h1>Flights to
<span id ="too" class="black"></span>
from
<span id ="from" class="black"></span>
</h1>
<br>
<a class="one" href="air.html">
<img class="a" src="logos/airindia.png">
<b>Air India</b>
(IX-1813)
<span id = "fl1"> </span>
<b>
13:05
✈
15:30
</b>
<span id = "fl2"></span>
<div class="str">
6,800₹
</div>
</a>
<a class="one" href="spice.html">
<img class="a" src="https://storage.googleapis.com/media.helloumi.com/channels/0_TBRoNQz.png">
<b>Spice Jet</b>(SG-146)
<span id = "fl3"> </span>
<b>
18:10
✈
04:00
</b>
<span id = "fl4"></span>
<div class="str">
7,940₹
</div>
</a>
<a class="one" href="indi.html">
<img class="a" src="https://seeklogo.com/images/I/indigo-logo-EDBB4B3C09-seeklogo.com.png">
<b>Indigo</b>(6E-8497)
<span id = "fl5"> </span>
<b>
11:40
✈
20:40
</b>
<span id = "fl6"></span>
<div class="str">
9,600₹
</div>
</a>
<a class="one" href="jet.html">
<img class="a" src="https://cdn.ek.aero/english/images/Jet_Airways_tcm233-1083202.png">
<b>Jet Airways</b>(9W-0817)
<span id = "fl7"> </span>
<b>
16:10
✈
15:30
</b>
<span id = "fl8"></span>
<div class="str">
6,830₹
</div>
</a>
<a class="one" href="emir.html">
<img class="a" src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Emirates_logo.svg/967px-Emirates_logo.svg.png">
<b>Emirates</b>(EK-0148)
<span id = "fl9"> </span>
<b>
13:05
✈
15:30
</b>
<span id = "fl0"></span>
<div class="str">
11,440₹
</div>
</a>
</div>
<script>
from=localStorage.getItem("from");
toc=localStorage.getItem("tob");
document.getElementById("from").innerHTML=from;
document.getElementById("too").innerHTML=toc;
document.getElementById("fl1").innerHTML=from;
document.getElementById("fl2").innerHTML=toc;
document.getElementById("fl3").innerHTML=from;
document.getElementById("fl4").innerHTML=toc;
document.getElementById("fl5").innerHTML=from;
document.getElementById("fl6").innerHTML=toc;
document.getElementById("fl7").innerHTML=from;
document.getElementById("fl8").innerHTML=toc;
document.getElementById("fl9").innerHTML=from;
document.getElementById("fl0").innerHTML=toc;
</script>
</body>
<?php
// Initialize the session
session_start();
$_SESSION['c'] = $_POST['clax'];
$_SESSION['t'] = $_POST['to'];
$_SESSION['f']
= $_POST['from'];
$_SESSION['d']
= $_POST['depart'];
?>
<style>
ul {
list-style-type: none;
margin: 0px;
padding: 0px;
overflow: hidden;
background-color: black;
position: fixed;
z-index:3;
top: 0;
left:0;
right:0;
width: 100%;
}
li {
float:left;
font-size:20px;
}
li.b a{
display: block;
color: white;
text-align: center;
padding: 23px 16px;
text-decoration: none;
}
li.b a:hover {
color:#00a1c6;
text-decoration: none;
}
body {
background-image: url("https://www.hextraveler.com/wp-content/uploads/2019/08/avion-en-vuelo.jpg");
background-repeat: no-repeat;
background-size: 100%;
background-attachment: fixed;
font-family:myFont;
}
.str{
font-weight:bold;
display: table;
margin: 0px auto 0px auto; /* keep the table centered */
padding:5px;font-size:20px;background-color:white;color:#000000;
}
h1{
color: white;
font-family: Montserrat;
font-size: 40px;
}
.black{
color:black;
}
.center {
text-align: center;
padding-top:75px;
position:relative;
z-index:2;
}
.right{
text-align:right;
}
.new{
border-radius: 40px;
margin: 10px;
padding: 20px;
margin-right: 100px;
margin-left: 100px;
background-color: #000000;
color: white;
opacity: 0.8;
vertical-align: middle;
text-align: justify;
font-size:20px;
font-family: Montserrat;
text-decoration: none;
display: inline-block;
}
a.one:link, a.one:visited {
border-radius: 40px;
margin: 10px;
padding: 20px;
margin-right: 100px;
margin-left: 100px;
background-color: #000000;
color: white;
opacity: 0.8;
vertical-align: middle;
text-align: justify;
font-size:20px;
font-family: Montserrat;
text-decoration: none;
display: inline-block;
}
a.one:hover, a.one:active {
background-color:white;
color:black;
}
img.a{
vertical-align: middle;
width: 50;
height: 50;
object-fit: contain;
}
</style>
</html>