HOME


Mini Shell 1.0
DIR: /home/islapiiu/sites/forbes/contact-form/img/
Upload File :
Current File : /home/islapiiu/sites/forbes/contact-form/img/view-tour-packages.php.tar
home/islapiiu/sites/toursatsrilanka/view-tour-packages.php000064400000026754150766006740020147 0ustar00<?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&amp;uniq=649&amp;locationId=13147684&amp;lang=en_US&amp;rating=true&amp;nreviews=4&amp;writereviewlink=true&amp;popIdx=true&amp;iswide=true&amp;border=true&amp;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>home/islapiiu/sites/holidaytours/view-tour-packages.php000064400000055351150766545760017454 0ustar00<!DOCTYPE html>
<html lang="zxx">

    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>View Tour Packages|Hikkaduwa Holiday Tours</title>
        <meta name="description" content="Jaiga template"/>
        <meta name="author" content="Dsign Elit BD"/>
        <link rel="shortcut icon" href="assets/images/favicon/icon.png"/>
        <link rel="apple-touch-icon-precomposed" href="assets/images/favicon/icon.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/favicon/icon.png"/>
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/favicon/icon.png"/>
        <link rel="stylesheet" href="assets/flaticons/flaticons-link.css" type="text/css"/>
        <link rel="stylesheet" href="assets/css/apps.min.css" type="text/css"/>
        <link rel="stylesheet" href="assets/css/style.css" type="text/css"/>
        <link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
        <link rel="stylesheet" href="assets/css/responsive.css" type="text/css"/>
    </head>
    <body class="home1">
        <div id="loader">
            <div class="spinner">
                <div class="dot1">
                </div>
                <div class="dot2">
                </div>
            </div>
        </div>
        <?php include './header.php'; ?>
        <div id="all-area" class="all-section">
            <section class="page-head page-bg" style="background-image: url('assets/images/bg/p1.jpg');">
                <h3 class="page-heading">Top Tour Packages</h3>
                <div class="sub-title">
                    <a href="#">
                        <span>Home</span></a><i></i>
                    <span>Top Tour Packages</span>
                </div>
            </section>
        </div>
<!--        <section aria-label="section-blog view-tour-section" id="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="v-align">
                        <div class="col-md-11 col-xs-12">
                            <div class="">
                                 left content 
                                <div class="col-md-8 tour-date-list">
                                    <div class="blog-thumb blog-detail tour-thumb-detail">
                                        <div class="text">
                                            <h6 class="tour-package-day-title ">
                                                <a href="#">One Day Tour Kandy</a>
                                            </h6>
                                            <div class="content-p">
                                                <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequa</p>
                                            </div>
                                        </div>
                                        <figure>
                                            <div class="gallery gallery-padding-img-4">
                                                <div class="col-md-3 gallery-padding">
                                                    <a href="upload/tour-package/date/gallery/" data-fancybox="images"></a>
                                                    <img src="assets/images/Snorkeling-in-Hikkaduwa.jpg" alt="Gallery"/>
                                                    <img src="assets/images/Snorkeling-in-Hikkaduwa.jpg" alt="" title="\">
                                                         <a href="" class="book-now-btn">
                                                    <span class="shine"></span>Book Now</a>
                                                </div>
                                            </div>
                                        </figure>
                                         left content end 

                                         right content 
                                        <div class="col-md-4">
                                            <aside>
                                                 widget 
                                                <div class="widget">
                                                    <h5>
                                                        Other Tour Packages
                                                    </h5>
                                                    <div class="devider-widget"></div>
                                                    <div class="recent">
                                                        <div>
                                                            <a href="#">
                                                                <img alt="one Day Tours" class="pull-left" src= "assets/images/Snorkeling-in-Hikkaduwa.jpg" alt="Gallery">
                                                            </a>
                                                            <h6>
                                                                <a href="#">
                                                                    <p> One Day Tours</p>
                                                                </a>
                                                            </h6>
                                                            <p>
                                                                Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequa
                                                            </p>
                                                        </div>
                                                    </div>
                                                </div>
                                                 widget end 
                                            </aside>
                                        </div>
                                         right content end 
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    </section>-->
        <section aria-label="view-things-section-blog" id="content">
            <div class="container-fluid view-tour-padding-main">
                <div class="row">

                    <div class="v-align">
                        <div class="col-md-11 col-xs-12">
                            <div class="">
                                <!-- left content -->
                                <div class="col-md-8 tour-date-list">
                                    <div class="view-things-blog-thumb view-things-blog-detail tour-thumb-detail">
                                        <div class="text">
                                            <h6 class="view-tour-title">
                                                <a href="#">Nuwara  Eliya</a>
                                            </h6>
                                            <div class="content-p">
                                                <p><strong>Ramboda Waterfall</strong><br>Ramboda Waterfall also called as Ramboda Ella or Puna Ella because it created from Puna oya. It is the 11th highest waterfall in Sri Lanka. This unique and beautiful sight can be seen at the Pussellawa area of Nuwara Eliya. Actually Ramboda falls consists of three sections. middle section can see from the A5 highway, just above the bridge. This is very small in size with compared to other parts. You can get a far view of the top part from the main road, but not the complete view of the fall. You needs to climb up to see the top part of the Ramboda falls and there is a pathway just before the bridge. The bottom part of the Ramboda falls is located under the bridge. You can get a side view of this lower part from main road.</p>
                                                <p><strong>Tea Factory</strong> <br>Nuwara Eliya is Sri Lankas main tea supplier. On this tour you can visit the tea factories as well as get a taste of the various tea drinks. Not only that you can also see tea plucking in the tea state and tea processing in the tea factory. In this tour you can find out about different types of tea.</p>
                                                <p><strong>Gregory Lake</strong><br>Gregory Lake was created in 1873 by the British era Governor at the time, Sir William Gregory. Gregory Lake offers a variety of recreational activities, such as Boat Rides, Horseback Rides, swan shaped paddled boat rides, water walking balls, jet skis, windsurfing and many more activities. You can enjoy a picnic surrounded by lush scenery and cooled by a fresh mountain breeze. Gregory Lake is a fun filled family friendly location, attracting many tourists who visit Sri Lanka with these many attractions.</p>
                                                <p><strong>Old Post Office</strong><br>Nuwara Eliya old post office is one of the oldest post offices established in the Sri Lanka. This building typically resembles architectural features belong to Britain. The red coloured bricks, stripes as well as the roof have given a nice appearance to this two storied building. The three storied clock tower is end with a pyramidal shaped roof and its clock is worked by an automated electric system.</p>                                                        </div>
                                        </div>
                                        <figure>
                                            <div class="gallery view-things-gallery-padding-img-4">
                                                <div class="col-md-3 gallery-padding-1">
                                                    <a href="upload/tour-package/date/gallery/-20012605913_171190534993_1565324315_n.jpg" data-fancybox="images">
                                                        <img src="assets/images/things-to-do/view-things-main.jpg" alt="Nuwara - Eliya" title="Nuwara - Eliya">
                                                    </a>
                                                </div>
                                                <div class="col-md-3 gallery-padding-1">
                                                    <a href="upload/tour-package/date/gallery/-124716916688_66486224218_1565324376_n.jpg" data-fancybox="images">
                                                        <img src="assets/images/things-to-do/view-things-main.jpg" alt="Nuwara - Eliya" title="Nuwara - Eliya">
                                                    </a>
                                                </div>
                                                <div class="col-md-3 gallery-padding-1">
                                                    <a href="upload/tour-package/date/gallery/-26583492538_164619648368_1565324426_n.jpg" data-fancybox="images">
                                                        <img src="assets/images/things-to-do/view-things-main.jpg" alt="Nuwara - Eliya" title="Nuwara - Eliya">
                                                    </a>
                                                </div>
                                                <div class="col-md-3 gallery-padding-1">
                                                    <a href="upload/tour-package/date/gallery/-85157896685_106045244221_1565324461_n.jpg" data-fancybox="images">
                                                        <img src="assets/images/things-to-do/view-things-main.jpg" alt="Nuwara - Eliya" title="Nuwara - Eliya">
                                                    </a>
                                                </div>
                                            </div>
                                        </figure>
                                    </div>
                                    <a href="booking.php?id=2" class="cbiz-btn hvr-sweep-to-right view-center">
                                        <span class="shine"></span>Book Now</a>
                                </div>
                                <!-- left content end -->

                                <!-- right content -->
                                <div class="col-md-4">
                                    <aside>
                                        <!-- widget -->
                                        <div class="widget">
                                            <h6 class="view-tour-title">
                                                Other Tour Packages
                                            </h6>
                                            <div class="devider-widget"></div>
                                            <div class="recent">
                                                <div>
                                                    <a href="view-tour-package.php?id=3">
                                                        <img alt="Dambulla/Sigiriya" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=3">
                                                            Dambulla/Sigiriya                                                       
                                                    </a>             
                                                    </h6>
                                                        <p class="line-height1">
                                                        Dambulla Cave temple also known as the Golden Temple of Dambulla. There are five...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=4">
                                                        <img alt="Kaudulla or Minneriya National Park Safari" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=4">
                                                            Kaudulla or Minneriya National Park Safari                                                                    
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        Kaudulla National Park is located 224 km away from Colombo and is a national par...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=5">
                                                        <img alt="Anuradhapura Archaeological Site" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=5">
                                                            Anuradhapura Archaeological Site                                                                    
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        Anuradhapura was the first capital of Sri Lanka founded in the 4th Century AD an...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=6">
                                                        <img alt="Polonnaruwa Archaeological Site" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=6">
                                                            Polonnaruwa Archaeological Site                                                                    
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        Polonnaruwa is the second most ancient of Sri Lanka’s kingdoms and the capital...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=7">
                                                        <img alt="Knuckles " class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=7">
                                                            Knuckles                                                                     
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        The "Knuckles Mountain" or "Dumbara" range is located between Kandy and Matale d...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=8">
                                                        <img alt="White Water Rafting" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=8">
                                                            White Water Rafting                                                                    
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        Kitulgala is a small town in the west of Sri Lanka. It is in the wet zone rain f...                                                                
                                                    </p>
                                                </div>
                                                <div>
                                                    <a href="view-tour-package.php?id=9">
                                                        <img alt="Pinnawala" class="pull-left" src="assets/images/things-to-do/view-more.jpg">
                                                    </a>
                                                    <h6 class="h6-style">
                                                        <a href="view-tour-package.php?id=9">
                                                            Pinnawala                                                                    
                                                        </a>
                                                    </h6>
                                                    <p class="line-height1">
                                                        Pinnawala Elephant Orphanage is one of the most popular and accessible places wh...                                                                
                                                    </p>
                                                </div>
                                            </div>
                                        </div>
                                        <!-- widget end -->
                                    </aside>
                                </div>
                                <!-- right content end -->
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <?php include './footer.php'; ?>
        <a href="#" class="back-to-top">
            <i class="fas fa-angle-up"></i>
        </a>
        <script src="assets/js/jquery-3.2.1.min.js"></script>
        <script src="assets/js/jquery-migrate-3.0.0.min.js"></script>
        <script src="assets/js/apps.min.js"></script>
        <script src="assets/contact-script/validator.js"></script>
        <script src="assets/contact-script/contact.js"></script>
        <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBIXIAltBpyECUqr3TL75QK4itRXCV8KdE" async defer></script>
        <script src="assets/js/custom.js"></script>
    </body>
</html>

home/islapiiu/sites/royalescapestours/view-tour-packages.php000064400000026135150767311340020475 0ustar00<?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);

$type = '';
if (isset($_GET['type'])) {
    $type = $_GET['type'];
}
$packages = TourPackage::getTourPackagesByType($type);
?>
<!DOCTYPE HTML>
<html lang="zxx">


    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="keywords" content="royal escapes tour packages, sri lanka tours, sri lanka holidays, beach tours, journey sri lanka, hill country tour, wildlife, family travel, national parks, sri lanka vacations, one day tours, round tours, travel agents in sri lanka, explore sri lanka, sri lanka">
        <meta name="description" content="We have friendly team of expert travel consultants who will provide advice with the client’s best interest in mind.">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Tour Packages | Holiday Packages | Travel Packages | Royal Escapes Sri Lanka Tours</title>
        <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png" />
        <!-- Icofont CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/icofont.css" media="all" />
        <!-- Bootstrap CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css" media="all" />
        <!-- jquery ui CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/jquery-ui.min.css" media="all" />
        <!-- Slicknav CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/slicknav.min.css">
        <!-- Owl carousel CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/owl.carousel.css">
        <!-- Popup CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/magnific-popup.css">
        <!-- Main style CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/style.css" media="all" />
        
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        <link href="assets/css/custom.css" rel="stylesheet" type="text/css"/>
        <!-- Responsive CSS -->
        <link rel="stylesheet" type="text/css" href="assets/css/responsive.css" media="all" />
        <link href="fancybox-master/css/jquery.fancybox.min.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <!-- Page loader -->
        <div id="preloader"></div>
        <!-- header section start -->
        <?php include './header.php'; ?>
        <!-- header section end -->

        <!-- breadcrumb area start -->
        <section class="breadcrumb-area">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="breadcrumb-area-content">
                            <h2><?php echo $TOUR->title ?></h2>
                            <ul>
                                <li><a href="index.php">Home</a></li>
                                <li><a href="tour-packages.php">Tour Packages</a></li>
                                <li class="active active1"><a href="">  
                                        <?php
                                        if ($type == 'one_day') {
                                            echo 'One Day Tours';
                                        } elseif ($type == 'round_tours') {
                                            echo 'Round Tours';
                                        } 
                                        ?>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </section><!-- breadcrumb area end -->
        <!-- blog details section start -->
        <section class="ptb-100">
            <div class="container">
                <div class="row">
                    <div class="col-lg-8 background-fill">
                        <div class="blog-details blog-details1">
                            <?php
                            foreach ($tour_dates as $tour_date) {
                                ?>
                                <h4 class="post-title post-title1"><?php echo $tour_date['title']; ?></h4>
                                <p><?php echo $tour_date['description']; ?></p>
                                <div class="blog-detail-middle blog-detail-middle1">
                                    <?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-6 col-xs-12 tour-images ">
                                                <figure>
                                                    <a class="" href="upload/tour-package/date/gallery/<?php echo $photo['image_name']; ?>" class="" data-fancybox="images" >
                                                        <figcaption class="icon-search">
                                                            <i class="icofont icofont-search tour-icon" style="font-size:30px;color:#000;"></i>
                                                        </figcaption>

                                                        <img src="upload/tour-package/date/gallery/thumb/<?php echo $photo['image_name']; ?>" alt=""/>
                                                    </a>
                                                </figure>
                                            </div>
                                            <?php
                                        }
                                    }
                                    ?>



                                </div>
                                <?php
                            }
                            ?>
                        </div>
                        <a href="booking.php?id=<?php echo $TOUR->id; ?>" class="theme-btn tour-btn">Inquiry Now</a>
                    </div>
                    <div class="col-lg-4">
                        <div class="sidebar sidebar1">
                            <div class="sidebar-widget row">
                                <h4 class="col-sm-12">Other Tour Packages</h4>
                                <?php
                                $packages = TourPackage::getTourPackagesByType($type);
                                foreach ($packages as $key => $tourpackage) {
                                    if ($key < 8) {
                                        ?> 
                                        <div class="widget-post col-sm-6 col-lg-12">
                                            <div class="widget-post-img">
                                                <a href="view-tour-packages.php?id=<?php echo $tourpackage['id']; ?>&type=<?php echo $type; ?>"><img src="upload/tour-package/thumb/<?php echo $tourpackage['image_name']; ?>" alt=""></a>
                                            </div>
                                            <div class="widget-post-info descrip">
                                                <h6><a href="view-tour-packages.php?id=<?php echo $tourpackage['id']; ?>&type=<?php echo $type; ?>">
                                                        <?php
                                                        if (strlen($tourpackage['title']) > 30) {
                                                            echo substr($tourpackage['title'], 0, 30) . '...';
                                                        } else {
                                                            echo $tourpackage['title'];
                                                        }
                                                        ?>
                                                    </a>
                                                </h6>
                                                <p><a href="view-tour-packages.php?id=<?php echo $tourpackage['id']; ?>&type=<?php echo $type; ?>">
                                                        <?php
                                                        if (strlen($tourpackage['short_description']) > 50) {
                                                            echo substr($tourpackage['short_description'], 0, 50) . '...';
                                                        } else {
                                                            echo $tourpackage['short_description'];
                                                        }
                                                        ?>
                                                    </a>
                                                </p>
                                            </div>
                                        </div>
                                        <?php
                                    }
                                }
                                ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- blog details section end -->
        <!-- footer section start -->
        <?php include './footer.php'; ?>
        <!-- footer section end -->
        <a href="#" class="scrollToTop">
            <i class="icofont icofont-arrow-up"></i>
        </a>
        <!-- jquery main JS -->
        <script src="assets/js/jquery.min.js"></script>
        <!-- Bootstrap JS -->
        <script src="assets/js/bootstrap.min.js"></script>
        <!-- jquery ui JS -->
        <script src="assets/js/jquery-ui.min.js"></script>
        <!-- Slicknav JS -->
        <script src="assets/js/jquery.slicknav.min.js"></script>
        <!-- owl carousel JS -->
        <script src="assets/js/owl.carousel.min.js"></script>
        <!-- Popup JS -->
        <script src="assets/js/jquery.magnific-popup.min.js"></script>
        <!-- Counterup JS -->
        <script src="assets/js/jquery.counterup.min.js"></script>
        <!-- Counterup waypoints JS -->
        <script src="assets/js/waypoints.min.js"></script>
        <!-- Isotope JS -->
        <script src="assets/js/isotope.pkgd.min.js"></script>
        <!-- YTPlayer JS -->
        <script src="assets/js/jquery.mb.YTPlayer.min.js"></script>
        <!-- jQuery Easing JS -->
        <script src="assets/js/jquery.easing.1.3.js"></script>
        <!-- main JS -->
        <script src="assets/js/main.js"></script>
        <script src="fancybox-master/js/jquery.fancybox.min.js" type="text/javascript"></script>
        <script async src="https://www.jscache.com/wejs?wtype=cdswritereviewlg&amp;uniq=587&amp;locationId=17594820&amp;lang=en_AU&amp;lang=en_AU&amp;display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
    </body>


</html>