forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
seatAvail.html
346 lines (295 loc) · 10.8 KB
/
seatAvail.html
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Check Train Seat Availability</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="https://ticket-booking-blue.vercel.app/images/4.jpeg" type="image/x-icon">
<link rel="stylesheet" href="footer.css">
<style>
body {
font-family: 'Poppins', sans-serif;
background-color: #f9f9f9;
margin: 0;
padding: 0;
}
/* Navbar styling */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #1f2937;
padding: 15px;
color: white;
}
.navbar a {
color: white;
text-decoration: none;
margin-right: 20px;
font-weight: 600;
}
.navbar a:hover {
text-decoration: underline;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
}
.search-container0 {
display: flex;
justify-content: center;
/* align-items: center; */
padding: 20px;
background-color: #fff;
margin-bottom: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Search box styling */
.search-container {
display: flex;
border-radius:50px ;
justify-content: center;
width: 1200px;
align-items: center;
padding: 20px;
margin-left: 40px;
background-color: #fff;
margin-bottom: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.search-container input[type="text"] {
padding: 10px;
width: 300px;
height: 75px;
border: 1px solid #ccc;
border-radius: 20px;
font-size: 16px;
}
.search-container button {
padding: 0.5rem 1rem;
background-color: #1fb899;
color: white;
border: none;
border-radius: 20px;
margin-left: 10px;
font-size: 16px;
cursor:pointer ;
}
.search-container button:hover {
background-color: #17a085;
}
/* Card container styling */
.card-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px;
max-width: 1200px;
margin: auto;
}
.card {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
width: 48%;
padding: 20px;
box-sizing: border-box;
}
.card h3 {
color: #1fb899;
margin-bottom: 15px;
font-size: 35px;
text-align: center;
}
.card p {
margin-bottom: 10px;
}
.card ol {
margin: 10px 0;
padding-left: 20px;
}
/* Full-width card for FAQs */
.card-full {
width: 100%;
}
/* Footer styling */
footer {
background-color: #1f2937;
padding: 20px;
text-align: center;
color: white;
position: relative;
bottom: 0;
width: 100%;
}
footer p {
margin: 5px 0;
}
.footer-logo {
margin-bottom: 15px;
}
.social-icons {
margin-top: 10px;
}
.social-icons a {
color: white;
margin: 0 10px;
font-size: 20px;
}
.social-icons a:hover {
color: #ddd;
}
/* Heading styling */
.main-heading {
text-align: center;
color: #1fb899;
font-size: 48px;
margin: 40px 0;
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="margin-right: 355px;">Ticket Marketplace</div>
<div>
<a href="index.html">Home</a>
<a href="about.html">About</a>
<a href="buy.html">Buy Ticket</a>
<a href="sell.html">Sell</a>
<a href="#contact">Contact</a>
<a href="contributor.html">Contributors</a>
<a href="register.html">Login</a>
</div>
</nav>
<!-- Main Heading -->
<div class="search-container0">
<h1 class="main-heading">Check Seat Availability</h1>
</div>
<!-- Search Container -->
<div class="search-container">
<input type="text" placeholder="Enter train number or name..." id="train-search">
<button onclick="searchTrain()">Search</button>
</div>
<!-- Card Section -->
<div class="card-container">
<!-- New Card for Train Seat Availability Info -->
<div class="card card-full">
<h3>Train And Bus Seat Availability</h3>
<p>Whenever it’s travel time, everyone seems to go in overdrive for finding out train seat availability. So beat the crowd and book your ticket as early as possible. However, booking tickets in advance is a good option only if you are sure about your travel plans. For many travellers, this is often not the case.</p>
</div>
<!-- Card for Check Train Seat Availability Online -->
<div class="card">
<h3>Check Train And Bus Seat Availability Online</h3>
<p>To check train seat availability, follow the steps mentioned below:</p>
<ol>
<li>Enter your Source and destination station.</li>
<li>Choose the date of journey. You can also opt for Tatkal ticket booking.</li>
<li>Search for trains, running dates, and seat availability.</li>
<li>Choose your train and preferred class to complete your booking.</li>
</ol>
<p>Train seat availability may differ based on the booking quota you select.</p>
</div>
<!-- Card for Train Seat Availability Search on App -->
<div class="card">
<h3>Train And Bus Seat Availability Search on IRCTC</h3>
<p>One of the biggest concerns of train travellers is knowing about seat availability. With the train seat availability feature of Indian Railways on IRCTC website, one can easily check for any train and book tickets online.</p>
<p>Plan your trip 120 days in advance to get the best seat. For last-minute booking, Tatkal tickets are the best option.</p>
</div>
<!-- Card for FAQs (Full width) -->
<div class="card card-full">
<h3>Frequently Asked Questions (FAQs)</h3>
<p><strong>Q. How do I check my seat number on a train?</strong></p>
<p>A: To check information about your seat, check your PNR status. This includes whether your ticket is confirmed, waitlisted (WL), or under reservation against cancellation (RAC).</p>
<p><strong>Q. What does current seat availability mean?</strong></p>
<p>A: It is the fastest way to find real-time booking information. Enter your From & To Station Name/Code along with travel dates and class to check.</p>
<p><strong>Q. What are the chances of my ticket getting confirmed?</strong></p>
<p>A: Waitlist prediction tools help you predict the chances of a waitlisted or RAC ticket getting confirmed based on trends.</p>
<p><strong>Q. Can train seat availability change at the last minute?</strong></p>
<p>A: Yes, availability can change. Chart preparation is done 4 hours before departure and again 30 minutes before departure, allowing seats to be freed up.</p>
</div>
</div>
<!-- Footer -->
<footer class="footer-container">
<div class="footer-top">
<div class="footer-logo-section">
<a href="#"> <img src="./images/3.jpeg" alt="easyJet holidays logo" class="footer-logo"></a>
<p style="color: #b5fdf4;" >Affordable adventures, unforgettable memories—explore with ease.</p>
<p style="color: #dcfffa;" class="follow-us">FOLLOW US ON HERE:</p>
<div class="social-icons">
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#" ><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
<a href="https://www.facebook.com"><i class="fab fa-facebook"></i></a>
<a href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
<a href="https://www.twitter.com" ><i class="fab fa-x-twitter"></i></a>
<a href="https://www.linkedin.com"><i class="fab fa-linkedin"></i></a>
<a href="https://www.youtube.com"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div class="footer-links">
<div class="footer-column">
<h4>HELPFUL LINKS</h4>
<ul>
<li><a href="help.html">Help Centre</a></li>
<li><a href="#">Special Assistance</a></li>
<li><a href="#">Download The App</a></li>
<li><a href="book_condition.html">Booking Conditions</a></li>
</ul>
</div>
<div class="footer-column">
<h4>ABOUT US</h4>
<ul>
<li><a href="#">Media Center</a></li>
<li><a href="#">Investors</a></li>
<li><a href="#">Modern Slavery Act</a></li>
<li><a href="ModernSlaveryAct.html">Modern Slavery Act</a></li>
<li><a href="terms.html">Terms Of Use</a></li>
</ul>
</div>
<div class="footer-column">
<h4>KEEPING SAFE</h4>
<ul>
<li><a href="#">ATOL Protected</a></li>
<li><a href="travelAware.html">Travel Aware</a></li>
<li><a href="fcdoTravel.html">FCDO Travel Advice</a></li>
<li><a href="#">ABTA</a></li>
</ul>
</div>
<div class="footer-column">
<h4>FIND US</h4>
<ul>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="GroupCookieNotice.html">Group Cookie Notice</a></li>
<li><a href="privacy.html">Privacy And Policy</a></li>
<li><a href="sitemap.html">Sitemap</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<ul>
<li><a href="#">Holiday Type</a></li>
<li><a href="#">Holiday Deals</a></li>
<li><a href="#">Popular Counters</a></li>
<!-- <li><a href="#">Flight Only</a></li> -->
<li><a href="#">Top Hotels</a></li>
</ul>
</div>
</footer>
<!-- JavaScript for search button functionality -->
<script>
function searchTrain() {
var train = document.getElementById('train-search').value;
alert('Searching for train: ' + train);
// You can add your logic here to process the train number or name entered
}
</script>
</body>
</html>