-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.php
More file actions
101 lines (94 loc) · 4.52 KB
/
Copy pathbook.php
File metadata and controls
101 lines (94 loc) · 4.52 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/forms.css">
<script src="jaba.js"></script>
<?php
echo $_POST["departure_t"];
echo $_POST["departure_d"];
echo $_POST["from"];
echo $_POST["destination"];
echo $_POST["plane_id"];
?>
</head>
<body>
<!-- <div style="overflow: auto; margin: 2vw 4vw;"> -->
<div style="margin: 2vw 4vw;">
<!-- BOOKING CSS -->
<br>
<br>
<br>
<!-- V.1 -->
<!--
<div class="form_container">
<button onclick="wew()" class="passenger_btn">   Passenger 1</button>
<div id="toggled_dropdown" class="dropdown_content" tabindex="1">
<p class="instructions">FILL IN NECESSARY INFORMATION:</p>
<form method="post" action="">
<div class="division_container">
<div class="half_container">
<div class="division_container">
<input type="text" id="passFirstName" name="passFirstName" placeholder="First Name">
<input type="text" id="passLastName" name="passLastName" placeholder="Last Name">
</div>
</div>
<div class="half_container">
<label class="" for="ageRagne">AGE RANGE:</label>   
<select id="ageRagne" name="ageRange">
<option value="0">Adult (12+ years)</option>
<option value="1">Child (2-11 years)</option>
<option value="2">Infant (ubder 2 years)</option>
</select>
</div>
</div>
<div class="division_container">
<label for="datetime_depart">Departure:</label>
<br>
<input type="date" id="datetime_depart" name="departure">
</div>
<div>
<input type="submit" name="book-btn" value="Book">
</div>
</form>
</div>
</div>
-->
<!-- V.2 -->
<p class="instructions">FILL IN NECESSARY INFORMATION:</p>
<form method="post" action="ticket.php">
<div class="division_container">
<div class="half_container">
<div class="division_container">
<input type="text" id="passFirstName" name="first_name" placeholder="First Name">
<input type="text" id="passLastName" name="last_name" placeholder="Last Name">
</div>
</div>
<div class="half_container">
<label class="" for="age_range">AGE RANGE:</label>   
<select id="ageRagne" name="age_range">
<option value="0">Adult (12+ years)</option>
<option value="1">Child (2-11 years)</option>
<option value="2">Infant (ubder 2 years)</option>
</select>
</div>
</div>
<div class="division_container">
<label for="datetime_depart">Departure:</label>
<br>
<input type="date" id="datetime_depart" name="departure">
</div>
<div>
<input type="submit" name="book-btn" value="Book">
</div>
<input type="hidden" name="departure_t" value="<?php echo $_POST["departure_t"]?>">
<input type="hidden" name="departure_d" value="<?php echo $_POST["departure_d"]?>">
<input type="hidden" name="from" value="<?php echo $_POST["from"]?>">
<input type="hidden" name="destination" value="<?php echo $_POST["destination"]?>">
<input type="hidden" name="plane_id" value="<?php echo $_POST["plane_id"]?>">
</form>
</div>
</body>
<?php
echo $_POST["ageRange"];
?>
</html>