HOME


Mini Shell 1.0
DIR: /home/islapiiu/sites/madolduwaboatride/
Upload File :
Current File : /home/islapiiu/sites/madolduwaboatride/view-excursion.php
<?php
include './db.php';
include './function.php';

$id = $_GET['id'];
$excursion = getOneActivitie($id);
?>
<!DOCTYPE html>

<html>
    <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><?php echo $excursion['title']; ?> | Madol Duwa Boat Ride</title>

        <meta name="description" content="Welcome to Gin River Safari , If you stay at the Galle, Hikkaduwa, Unawatuna area you should go with a boat at the Gin Ganga. Usually we start the safari in gintota bridge. Also, we do not use motor boat and the boat is ridden by two people and your tour make it so nature friendly. So you will able to hear many bird sounds and water flow sounds of the river. We run the business as our family and we will make you happy for your value." />
        <meta name="keywords" content="<?php echo $excursion['title']; ?>, river safari,Gin ganga boat safari,Gin ganga tour,Gin ganga trip,Gin ganga mangroves,Gin ganga biodiversity" />
        
 
        <link rel="icon" type="image/png" sizes="32x32" href="images/about/icon.png">
        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <!-- font-awesome -->
        <link href="css/font-awesome.css" rel="stylesheet">
        <!-- chosen.min -->
        <link href="css/chosen.min.css" rel="stylesheet">
        <!-- slick-slider -->
        <link href="css/slick-slider.css" rel="stylesheet">
        <!-- jquery.bxslider -->
        <link href="css/jquery.bxslider.css" rel="stylesheet">
        <!-- prettyPhoto -->
        <link href="css/prettyPhoto.css" rel="stylesheet">
        <!-- responsive menu component -->
        <link href="js/responsive-menu/component.css" rel="stylesheet">
        <!-- svg-icons -->
        <link href="css/svg-icons.css" rel="stylesheet">
        <!-- Typography -->
        <link href="css/typography.css" rel="stylesheet">
        <!-- jquery.auto-complete -->
        <link href="css/jquery.auto-complete.css" rel="stylesheet">
        <!-- shortcodes -->
        <link href="css/shortcodes.css" rel="stylesheet">
        <!-- Colors -->
        <link href="css/colors.css" rel="stylesheet">
        <!-- Style Sheet -->
        <link href="style.css" rel="stylesheet">
        <!-- Responsive theme-->
        <link href="css/responsive.css" rel="stylesheet">
        <link href="css/mystyle.css" rel="stylesheet">

        <!-- jQuery (JavaScript plugins) -->
        <script src="js/jquery-3.2.0.min.js"></script>
    </head>

    <body>
        <div class="eco_wrapper"> 
            <?php
            include './header.php';
            ?>


            <div class="eco_banner eco_inner_page_banner">
                <!--Eco Template Banner img-->
                <div class="eco_headings">
                    <h3><?php echo $excursion['title']; ?></h3>
                </div>
                <ul class="eco_page_link">
                    <li><a href="./">Home</a></li>
                    <li><a href="excursion.php">Excursion</a></li>
                    <li><?php echo $excursion['title']; ?></li>
                </ul>
            </div>

            <div class="content">


                <section>
                    <div class="eco_blog_detail">

                        <div class="container">
                            <div class="row">

                                <div class="col-md-9 col-sm-12 col-xs-12 responsive-991-width">
                                    <!--Eco Template section-->									
                                    <div class="eco_blog_detail_post">
                                        <figure>
                                            <div id="myCarousel" class="carousel slide" data-ride="carousel">

                                                <!-- Wrapper for slides -->
                                                <div class="carousel-inner" role="listbox">
                                                    <?php
                                                    $activitiePhotos = getAllActivitiePhotos($id);

                                                    if (count($activitiePhotos) > 0) {
                                                        foreach ($activitiePhotos as $key => $img) {
                                                            if ($key == 0) {
                                                                ?>
                                                                <div class="item active">
                                                                    <img src="images/activities/gallery/<?php echo $img["image_name"]; ?>" alt="Chania">
                                                                </div>

                                                                <?php
                                                            } else {
                                                                ?>

                                                                <div class="item">
                                                                    <img src="images/activities/gallery/<?php echo $img["image_name"]; ?>" alt="Chania">
                                                                </div>
                                                                <?php
                                                            }
                                                        }
                                                    } else {
                                                        ?> 
                                                        <b style="padding-left: 15px;">No images in the database.</b> 
                                                    <?php } ?> 

                                                </div>

                                                <!-- Left and right controls -->
                                                <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
                                                    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                                                    <span class="sr-only">Previous</span>
                                                </a>
                                                <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
                                                    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                                    <span class="sr-only">Next</span>
                                                </a>
                                            </div>
                                        </figure>
                                        <div class="eco_blog_detail_content text-justify">
                                            <?php echo $excursion['description']; ?>

                                        </div>

                                    </div>		
                                    <!--Eco Template section ends-->
                                </div>

                                <div class="col-md-3 col-sm-12 col-xs-12 responsive-991-width">


                                    <div class="margin-buttom_50 responsive-column responsive-devider-50">	
                                        <div class="eco_recent_blog_post widget_post_content">
                                            <h5 class="eco_sm_titles">Other Excursion</h5>
                                             
                                                <?php
                                                $activities = getAllActivities();

                                                if (count($activities) > 0) {
                                                    foreach ($activities as $key=> $activitie) {
                                                        if($key == 5){
                                                            break;
                                                        }
                                                        ?>
                                                        
                                                            <div class="other_posts">
                                                                 
                                                                <img src="images/excursion/<?php echo $activitie["image_name"]; ?>" alt="" class="pull-left"> 
                                                                <small><b><?php echo $activitie["title"]; ?></b></small>
                                                                <p><?php echo substr($activitie["sort_description"], 0,40); ?><a href="view-excursion.php?id=<?php echo $activitie["id"]; ?>"> more <i class="fa fa-angle-right"> </i><i class="fa fa-angle-right"> </i></a></p>
                                                                 
                                                            </div>
                                                       

                                                        <?php
                                                    }
                                                } else {
                                                    ?> 
                                                    <b style="padding-left: 15px;">No Excursion in the database.</b> 
                                                <?php } ?> 
                                            
                                    </div>


                                </div>

                            </div>
                        </div>
                    </div>
                </section>


            </div>

            <?php
            include './footer.php';
            ?>

        </div>


        <!-- Bootstrap js -->
        <script src="js/bootstrap-lab.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <!--responsive-menu -->
        <script src="js/responsive-menu/modernizr.custom.js"></script>
        <script src="js/responsive-menu/jquery.dlmenu.js"></script>
        <!-- masonry & filterable -->
        <script src="js/jquery-filterable.js"></script>
        <script src="js/masonry-gallery.js"></script>
        <!-- chosen.jquery js -->
        <script src="js/chosen.jquery.min.js"></script>
        <script src="js/jquery.auto-complete.js"></script>
        <!-- jquery.prettyPhoto js -->
        <script src="js/jquery.prettyPhoto.js"></script>
        <!-- countup and countdown js -->
        <script src="js/countup.js"></script>
        <script src="js/jquery.countdown.js"></script>
        <!-- slider -->
        <script src="js/slick-slider.js"></script>
        <script src="js/jquery.bxslider.js"></script>
        <script src="js/owl.carousel.js"></script>
        <!-- custom js -->
        <script src="js/custom.js"></script>

    </body>
</html>