-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
284 lines (253 loc) · 11 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
281
282
283
284
<!DOCTYPE html>
<html>
<head>
<title>Trouvaille</title>
<link href="css/owl.carousel.css" rel='stylesheet' type='text/css'/>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css'/>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
//function hideURLbar(){ window.scrollTo(0,1); }
</script>
<!--js-->
<script src="js/jquery.min.js"></script>
<!--/js-->
<!--animated-css-->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>
<!--/animated-css-->
</head>
<body>
<!--header-->
<!--sticky-->
<?php include('function.php'); ?>
<?php include('top.php'); ?>
<!--/sticky-->
<?php include('slider.php'); ?>
<!--About-->
<div class="about section" id="section-2">
<div class="about-head text-center">
<h3>About Us</h3>
<span></span><img src="images/about-img.png" alt=""><span></span>
</div>
<div class="container">
<div class="col-md-4 about-grids">
<h4><span class="icon1"></span>Our Vision</h4>
<p>Tourism which is ethical, fair and a positive experience for both travellers and the people and places they visit</p>
</div>
<div class="col-md-4 about-grids grid2">
<h4><span class="icon2"></span>Our Mission</h4>
<p>To ensure tourism always benefits local people by challenging bad practice and promoting better tourism</p>
</div>
<div class="col-md-4 about-grids">
<h4><span class="icon3"></span>Safety Information</h4>
<p>Vacation is a time to relax in safe surroundings.For emergency aid of any kind, call 911 from any phone... in your hotel, dial 9-911.</p>
<div align="right"><a href="aboutus.php"><input type="button" value="Read More" name="sbmt" /></a></div>
</div>
</div>
</div>
<!--/About-->
<!--top-tours-->
<div class="section" id="section-3">
<div id="portfolio" class="portfolio">
<div class="top-tours-head text-center">
<h3>Gallery</h3>
<span></span><img src="images/star.png" alt=""><span></span>
</div>
<ul id="filters" class="clearfix wow bounceIn" data-wow-delay="0.4s">
<li><span class="filter active" data-filter="app card icon logo fun">ALL</span></li>
<li><span class="filter" data-filter="app">Domestic Travel</span></li>
<li><span class="filter" data-filter="card">Foreign Travel</span></li>
<li><span class="filter" data-filter="icon">Short Date Tour</span></li>
<li><span class="filter" data-filter="fun">Long Date Tour</span></li>
</ul>
<div id="portfoliolist">
<div class="portfolio card mix_all" data-cat="card" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t1.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio app mix_all" data-cat="app" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t2.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio card mix_all" data-cat="card" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t3.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio icon mix_all" data-cat="icon" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t4.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio card mix_all" data-cat="card" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t5.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio fun mix_all" data-cat="fun" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t6.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio fun mix_all" data-cat="fun" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t7.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="portfolio icon mix_all" data-cat="fun" style="display: inline-block; opacity: 1;">
<div class="portfolio-wrapper wow bounceIn" data-wow-delay="0.4s">
<a href="#" class="b-link-stripe b-animate-go thickbox play-icon popup-with-zoom-anim">
<img src="images/t8.jpg" class="img-responsive" alt=""/></a>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- Script for gallery Here-->
<script type="text/javascript" src="js/jquery.mixitup.min.js"></script>
<script type="text/javascript">
$(function () {
var filterList = {
init: function () {
// MixItUp plugin
// http://mixitup.io
$('#portfoliolist').mixitup({
targetSelector: '.portfolio',
filterSelector: '.filter',
effects: ['fade'],
easing: 'snap',
// call the hover effect
onMixEnd: filterList.hoverEffect()
});
},
hoverEffect: function () {
// Simple parallax effect
$('#portfoliolist .portfolio').hover(
function () {
$(this).find('.label').stop().animate({bottom: 0}, 200, 'easeOutQuad');
$(this).find('img').stop().animate({top: -30}, 500, 'easeOutQuad');
},
function () {
$(this).find('.label').stop().animate({bottom: -40}, 200, 'easeInQuad');
$(this).find('img').stop().animate({top: 0}, 300, 'easeOutQuad');
}
);
}
};
// Run the show!
filterList.init();
});
</script>
<!--Gallery Script Ends-->
<!--/top-tours-->
<div class="tour-guides section" id="section-4" >
<div class="tour-guides-head text-center">
<h3>Advertisements</h3>
<span></span><img src="images/guide.png" alt=""><span></span>
<div class="container">
<p>My Tour guides are expensive, so first decide what you want to do, whether it's a general tour of a city, a day of hiking, or visiting remote villages in a third-world country. Have a ball-park time allotment in mind, whether it's a half-day, a full-day, or a multi-day experience. Once you have chosen a guide, you'll probably refine your ideas based upon the guide's knowledge.</p>
</div>
</div>
<div class="container">
<!-- requried-jsfiles-for owl -->
<link href="css/owl.carousel.css" rel="stylesheet">
<script src="js/owl.carousel.js"></script>
<script>
$(document).ready(function() {
$("#owl-demo").owlCarousel({
items : 1,
lazyLoad : true,
autoPlay : true,
navigation : false,
navigationText : false,
pagination : true,
});
});
</script>
<!-- //requried-jsfiles-for owl -->
<div id="owl-demo" class="owl-carousel">
<?php
$s="select * from advertisement";
$result=mysqli_query($cn,$s);
$n=0;
while($data=mysqli_fetch_array($result))
{
if($n%4==0)
{
?>
<div class="item text-center guide-sliders">
<?php }?>
<div class="col-md-3 image-grid">
<img src="Admin/addverimages/<?php echo $data[3]; ?>" width="300px" height="150px" >
<p><a href="#"><?php echo $data[2]; ?></a></p>
</div>
<?php if($n%4==3)
{?>
</div>
<?php
}
$n=$n+1;
}
?>
</div>
</div>
</div>
<div id="section-5" class="contact section">
<div class="contact-head text-center">
<h3>Contact Us</h3>
<span></span><img src="images/mail.png" alt=""><span></span><br/><br/>
<h4 style="color:#000">Plan Your Trip
Our travel experts can help you book now!</h4>
<div class="contact-grids">
<div class="container">
<div class="col-md-4 address">
<h4 style="color:#09F">Trouvaille</h4>
<p style="color:#000">NEED HELP BOOKING PACKAGE<br/>
For fantastic suggestions you may also call our travel expert</p>
<h5 style="color:#000"><span class="img1"></span>(+91) 7770815790 - (+91) 9993565176</h5>
<h5 style="color:#000"><span class="img2"></span><a href="#">info[at]trouvaille.com</a></h5>
<h5 style="color:#000"><span class="img3"></span>B-46 Alkapuri, BHOPAL, IN.</h5>
<br/>
<img src="images/contac.jpg" />
</div>
<div class="col-md-8 contact">
<?php
if(isset($_POST["sbmt"]))
{
$cn=makeconnection();
$s="insert into contactus(Name,Phno,Email,Message) values('" . $_POST["t1"] ."','" . $_POST["t2"] ."','" . $_POST["t3"] ."','" . $_POST["t4"] ."')";
mysqli_query($cn,$s);
mysqli_close($cn);
echo "<script>alert('Record Save');</script>";
}
?>
<form method="post">
<table border="0" width="700px" height="500px">
<tr><td align="left"> <input type="text" class="text" value=" Name" name="t1" onFocus="this.value = '';" onBlur="if (this.value == '') {this.value = 'Your Name';}" required pattern="[a-zA-z1 _]{1,50}" title"Please Enter Only Characters and numbers between 1 to 50 for Name"></td></tr>
<tr><td align="left"><input type="text" class="text" value=" Contact No" name="t2" onFocus="this.value = '';" onBlur="if (this.value == '') {this.value = 'Your Contact NO';}" required pattern="[0-9]{10,12}" title"Please Enter Only numbers between 10 to 12 for Contact no"></td></tr>
<tr><td align="left"> <input type="text" class="text" value="Email" name="t3" onFocus="this.value = '';" onBlur="if (this.value == '') {this.value = 'Your mail';}" required></td></tr>
<tr><td><textarea onFocus="if(this.value == 'Message') this.value='';" name="t4" onBlur="if(this.value == '') this.value='Enter Message Here';" required/ >Message</textarea></td></tr>
<tr><td><input type="submit" value="Send message" name="sbmt"></td></tr></table>
<div class="clearfix"></div>
</form>
</div>
<div class="clearfix"></div>
</div>
</div>
<?php include('bottom.php'); ?>
</body>
</html>