home/islapiiu/sites/toursatsrilanka/view-tour-packages.php 0000644 00000026754 15076600674 0020147 0 ustar 00 <?php
include_once(dirname(__FILE__) . '/class/include.php');
$id = '';
if (isset($_GET['id'])) {
$id = $_GET['id'];
}
$TOUR = new TourPackage($id);
//$tour_dates = TourDate::getTourDatesById($id);
//$tour_dates =new TourDate($id)
$tour_dates = TourDate::getTourDatesById($id);
?>
<!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">
<meta name="description" content="Tour At Sri Lanka is the best Way for the gusts who looking extraordinary travel experience with perfectly match their desires">
<meta name="keywords" content="Tour At Sri Lanka Tour Packages, Tour Packages<?php foreach (Attraction::all() as $Attr) {
echo "," . $Attr['title'];
} ?> ">
<title>View Attractions || Tours-at-srilanka</title>
<!-- favicon -->
<link rel="shortcut icon" href="images/logo/logo.png" type="image/x-icon">
<link href="css/fontawesome.min.css" rel="stylesheet" type="text/css"/>
<link href="css/flaticon.css" rel="stylesheet" type="text/css"/>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="css/owl.carousel.min.css" rel="stylesheet" type="text/css"/>
<link href="css/lightcase.css" rel="stylesheet" type="text/css"/>
<link href="css/style.css" rel="stylesheet" type="text/css"/>
<link href="css/responsive.css" rel="stylesheet" type="text/css"/>
<link href="css/custom.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="css-1/fullwidth.css" media="screen" />
<link rel="stylesheet" type="text/css" href="rs-plugin/css/settings.css" media="screen" />
<link rel="stylesheet" href="css-1/rev-settings.css" type="text/css">
<!--<link href="fontawesome/css/all.css" rel="stylesheet" type="text/css"/>-->
<link href="font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" type="text/css"/>
<link href="fancybox-master/css/jquery.fancybox.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- preloader start -->
<!-- preloader end -->
<!-- header-section start -->
<?php include './header.php'; ?>
<!-- header-section end -->
<section class="single-banner about-banner">
<div class="page-breadcums">
<div class="container">
<ul class="page-list">
<li><a href="index.php">Home</a></li>
<li>Tour Packages</li>
<li><?php echo $TOUR->title ?></li>
</ul>
</div>
</div>
<div class="banner-content-area">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-10">
<div class="banner-content text-center">
<h1 class="banner-title"><?php echo $TOUR->title ?></h1>
<p>We are committed to understanding your idea of a perfect holiday – what you love to do, where you would like to stay and how much you want to travel around the island. </p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- blog-grid-section start -->
<section class="single-blog-section section-padding section-bg">
<div class="container">
<div class="row">
<div class="col-md-8 col-lg-8 col-sm-12 col-xs-12 back">
<?php
foreach ($tour_dates as $tour_date) {
// dd($tour_date['title']);
?>
<div class="row mt-15 mb-40 justify-content-center day-section">
<div class="col-lg-12 tourdes">
<h3 class="widget-title"> Day <?php echo $tour_date['title']; ?></h3>
<span class ="hearderline"></span>
<p>
<?php echo $tour_date['description']; ?>
</p>
</div>
<?php
$photos = TourDatePhoto::getTourDatePhotosById($tour_date['id']);
foreach ($photos as $key => $photo) {
if ($key < 4) {
?>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12 tour-images ">
<figure>
<a class="" href="upload/tour-package/date/gallery/<?php echo $photo['image_name']; ?>" class="" data-fancybox="images" >
<figcaption>
<i class="fa fa-search" style="font-size:30px;color:#ffff;"></i>
</figcaption>
<img src="upload/tour-package/date/gallery/thumb/<?php echo $photo['image_name']; ?>" alt=""/>
</a>
</figure>
</div>
<?php
}
}
?>
</div>
<?php
}
?>
<div class="col-md-12 header-top-right text-center booknow">
<div class="book-tab">
<div class="book-btn1 booknow ">
<a href="booking.php?id=<?php echo $TOUR->id; ?>"> <button type="submit" id="btnSubmit" class="cmn-button">Inquiry Now</button></a>
</div>
</div>
</div>
</div>
<!-- blog-list-wrapper end -->
<div class="col-lg-4">
<div class="sidebar-area">
<div class="widget">
<h5 class="widget-title">Other Tour Packages</h5>
<ul class="small-post-list">
<li class="post-item d-flex align-items-center">
<?php
$TOUR = TourPackage::all();
foreach ($TOUR as $key => $tourpackage) {
if ($key < 8) {
?>
<div class="post-thumb">
<a href="view-tour-packages.php?id=<?php echo $tourpackage['id']; ?>"><img src="upload/tour-package/<?php echo $tourpackage['image_name']; ?>" alt=""></a>
</div>
<div class="post-content">
<h6 class="post-title"> <?php echo $tourpackage['title']; ?></h6>
<span class="post-date">
<a href="view-tour-packages.php?id=<?php echo $tourpackage['id']; ?>">
<?php
if (strlen($tourpackage['short_description']) > 50) {
echo substr($tourpackage['short_description'], 0, 50) . '...';
} else {
echo $tourpackage['short_description'];
}
?>
</a>
</span>
</div>
<?php
}
}
?>
</li>
</ul>
</div><!-- widget end -->
</div>
</div><!-- sidebar-area end -->
</div>
</div>
</section>
<!-- blog-grid-section end -->
<!-- footer-section start -->
<?php include './footer.php'; ?>
<!-- footer-section end -->
<!-- scroll-to-top start -->
<div class="scroll-to-top">
<span class="scroll-icon">
<i class="fa fa-rocket" aria-hidden="true"></i>
</span>
</div>
<!-- scroll-to-top end -->
<!-- jquery js link -->
<script src="rs-plugin/js/pluginson3step.js" type="text/javascript"></script>
<!--<script src="js/jquery-3.3.1.min.js"></script>-->
<!-- bootstrap js link -->
<script src="rs-plugin/js/plugin-set.js" type="text/javascript"></script>
<script src="js/bootstrap.bundle.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- owl carousel js link -->
<script src="js/owl.carousel.min.js"></script>
<!-- lightcase js link -->
<script src="js/lightcase.js"></script>
<!-- waypoints js link -->
<script src="js/jquery.waypoints.min.js"></script>
<!-- countup js link -->
<script src="js/jquery.countup.min.js"></script>
<!-- circle-progress js link -->
<script src="js/circle-progress.min.js"></script>
<!-- countdown js link -->
<script src="js/jquery.countdown.js"></script>
<!-- goolg-map-activate js link -->
<script src="js/goolg-map-activate.js"></script>
<!-- main js link -->
<script src="js/main.js"></script>
<script src="rs-plugin/js/jquery.themepunch.tools.min.js"></script>
<script src="rs-plugin/js/jquery.themepunch.revolution.min.js"></script>
<script src="fancybox-master/js/jquery.fancybox.min.js" type="text/javascript"></script>
<script src="rs-plugin/js/custom.js" type="text/javascript"></script>
<script async src="https://www.jscache.com/wejs?wtype=selfserveprop&uniq=649&locationId=13147684&lang=en_US&rating=true&nreviews=4&writereviewlink=true&popIdx=true&iswide=true&border=true&display_version=2" data-loadtrk onload="this.loadtrk = true"></script>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false}, 'google_translate_element');
}
</script>
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script>
</body>
</html> |