-
Notifications
You must be signed in to change notification settings - Fork 2
/
filter.php
101 lines (84 loc) · 2.87 KB
/
filter.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
<?php
include 'includes/autoloader.inc.php';
include 'headerFile.php';
?>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="#">COVacation</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="#">Home
<span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container">
<!-- Jumbotron Header -->
<header class="jumbotron my-4">
<h1 class="display-3">Nice pick!</h1>
<p class="lead">Next, type in your name and vacantion timeline. We'll make sure you get the best offers.</p>
</header>
<!-- Page Features -->
<div class="row text-center">
<?php
print '
<form role="form" action="request.php?selectedCity='.$_GET['selectedCity'].'" method="post">
<div class="form-group">
<label for="exampleInputEmail1">
Full name
</label>
<input type="text" class="form-control" id="exampleInputEmail1">
</div>
<label for="exampleInputDate1">
Check-In Date
</label>
<div class="form-group">
<input type="date" name="dateFrom" class="form-control" value="'.date('Y-m-d').'">
</div>
<label for="exampleInputDate1">
Check-Out Date
</label>
<div class="form-group">
<input type="date" name="dateTo" class="form-control" value="'.date('Y-m-d').'">
</div>
<button type="submit" name = "submitButton" class="btn btn-primary" style="margin-bottom: 20px">
Submit
</button>
</form>
'
?>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
<!-- Footer -->
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © Your Website 2020</p>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>