-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbook.php
141 lines (116 loc) · 4.92 KB
/
book.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>VIT CAB SHARE</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="https://use.fontawesome.com/5b1ca6f502.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
</head>
<body>
<div class="container-fluid" style="background: #CBE32D">
<h1 style="margin-left: 50px;margin-bottom: 30px;margin-top: 30px;"><a href="index.php">Book my Cab</a></h1>
</div>
<?php
session_start();
$uname = $_SESSION['username'];
?>
<h1 class="text-center">Book</h1><br>
<h4 class="text-center">We provide you with the Best, Affordable, and Reliable cab service.<br> Our service is trusted and secured. Just provide your details and we will contact you back.</h4><br>
<div class="container">
<form action='insert.php?username=<?php echo $uname ?>' method='post'>
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" name="name">
</div>
<div class="form-group">
<label for="phone">Phone number</label>
<input type="number" class="form-control" id="phone" name="mobile">
</div>
<div class="form-group">
<label for="email">Email address:</label>
<input type="text" class="form-control" id="email" name="email">
</div>
<div class="form-group">
<label for="no">Number of people</label>
<input type="number" class="form-control" id="no" name="no">
</div>
<div class="form-group">
<label for="from">From</label>
<select class="form-control" id="from" name="from">
<option value="VIT Hostel">VIT Hostel</option>
<option value="Chennai Airport">Chennai Airport</option>
<option value="Bangalore Airport">Bangalore Airport</option>
<option value="Katpadi Railway Station">Katpadi Railway Station</option>
</select>
</div>
<div class="form-group">
<label for="to">To</label>
<select class="form-control" id="to" name="to">
<option value="VIT Hostel">VIT Hostel</option>
<option value="Chennai Airport">Chennai Airport</option>
<option value="Bangalore Airport">Bangalore Airport</option>
<option value="Katpadi Railway Station">Katpadi Railway Station</option>
</select>
</div>
<div class="form-group">
<label for="date">Date</label>
<input type="date" class="form-control" id="date" name="date">
</div>
<div class="form-group">
<label for="time">Time</label>
<input type="time" class="form-control" id="time" name="time">
</div>
<!-- <button type="submit" class="btn btn-default">Submit</button> -->
<br>
<h1 class="text-center">Select Cab Details </h1><br>
<a href="rate.html"><h2 style="margin-left: 500px;">Price Chart </h2></a><br><br>
<div class="form-group">
<label for="Operator">Operator</label><br>
<select name="operator" id="Operator" class="form-control">
<option value="Ola">Ola</option>
<option value="Uber">Uber</option>
</select>
</div>
<div class="form-group">
<label for="option">Type</label><br>
<select name="option" id="option" class="form-control">
<option value="Carrier">Carrier</option>
<option value="Without Carrier">WithoutCarrier</option>
</select>
</div>
<b>Preference</b>
<div class="radio">
<label><input type="radio" value="AC" name="type" id="type" > AC </label><br>
<label><input type="radio" value="NAC" name="type" id="type"> NON AC </label>
</div><br>
<button type="submit" class="btn btn-default">Submit</button><br><br><br>
</form>
</div>
<div class="row">
<div class="col-md-12">
<div class="text-center">
<h4>Note: We provide you with the Cab Only. If you wish to share your cab with others, kindly click here to find co-travellers.</h4>
</div>
</div>
</div><br><br><br>
<div class="container-fluid" style="background-color:#222222;color:white;">
<div class="text-center">
<h1>Contact Us</h1>
<br><br>
</div>
<div class="col-md-4">
<h2>Book My Cab</h2>
<h4>All rights reserved</h4>
</div>
<div class="col-md-4">
<h4><i class="fa fa-facebook fa-3x"></i> <i class="fa fa-twitter fa-3x"> </i><i class="fa fa-instagram fa-3x"></i> <i class="fa fa-linkedin fa-3x"></i></h4>
</div>
<div class="col-md-4 text-right">
<h4>VIT University</h4>
<h4>Vellore Tamilnadu 632014</h4>
</div>
</div>
</body>