-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
280 lines (256 loc) · 12.5 KB
/
index.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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<?php
session_start();
if (!isset($_SESSION['username'])) {
$_SESSION['msg'] = "You must log in first";
header('location: login.php');
}
if (isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['username']);
header("location: login.php#booking");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Explore More Tours</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light" style="height:4rem">
<a class="navbar-brand" href="#"><img src="img/logo-green-1x.png" style="height: 2.5rem;" alt="Logo"> NatVISIT</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="#">Pricing</a>
</li>
<li class="nav-item dropdown active">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown link
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="#">Option-1</a>
<a class="dropdown-item" href="#">Option-2</a>
<a class="dropdown-item" href="#">Option-3</a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0" style="position: relative;left: 57rem;" action="showtable2.php" method="POST">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" name="cname">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search Via Country</button>
</form>
</div>
<div class="content" style="display:block; position:relative; top:3rem; text-align:center; right:0rem">
<!-- logged in user information -->
<img id="profile" src="img/man.png" alt="Img" style="height:3.5rem; margin-bottom:1rem;border-color:green">
<!-- notification message -->
<?php if (isset($_SESSION['username'])) : ?>
<p><strong>HI</strong> <strong style="text-transform:uppercase"><?php echo $_SESSION['username']; ?></strong></p>
<p> <a href="index.php?logout='1'" style="color: red;">logout</a> </p>
<?php endif ?>
</div>
</nav>
<form action="showtable.php" method="POST">
<div class="form-check form-check-inline" style="position:relative; left:82rem; top:1.1rem">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="Mountain">
<label class="form-check-label" for="inlineRadio1" style="cursor:pointer; margin-right:1rem">Mountain</label>
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="Sea">
<label class="form-check-label" for="inlineRadio2" style="cursor:pointer; margin-right:1rem">Sea</label>
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio3" value="Land">
<label class="form-check-label" for="inlineRadio3" style="cursor:pointer">Land</label>
</div>
<button type="submit" class="btn btn-outline-success" style="position: relative; left: 82.2rem; top: 1rem; height: 2.5rem; width: 10.5rem;">Search Via Terrain</button>
</form>
<!-- SEA-EXPLORER -->
<div class="container" style="margin-top:3rem">
<div class="row">
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/sea-explorer (1).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">CARIBBEAN SEA</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. </p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/sea-explorer (2).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">SEA OF MARMARA</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/sea-explorer (3).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">RED SEA</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/sea-explorer (4).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">SEA OF OKHOTSK</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- SNOW-ADV -->
<div class="container" style="margin-top:3rem">
<div class="row">
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/snow-adv (1).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">MEILI SNOW MOUNTAIN</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidid.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/snow-adv (2).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">MOUNT NAMCHA BARWA</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidid.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/snow-adv (3).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">MOUNT QOGIR</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/snow-adv (4).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">MOUNT GONGGA</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- FOREST HICK -->
<div class="container" style="margin-top:3rem">
<div class="row">
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/forest-hick (1).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">INCA TRAIL</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/forest-hick (2).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">ROUTEBURN TRACK</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/forest-hick (3).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">OVERLAND TRACK</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card-deck">
<div class="card">
<img src="img/forest-hick (4).jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">THE NARROWS</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.</p>
<p class="card-text"><a href="sea1.php">Book Now</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- FOOTER -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>