<?php
include_once(dirname(__FILE__) . '/class/include.php');
if (!isset($_SESSION)) {
session_start();
}
?>
<!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 tours comment, travel testimonials, customer feedback, 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="Check out the travel testimonials of customers who have got benefitted from the services at Royal Escapes Sri Lanka Tours, the most trusted travel partner in Sri Lanka">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Travel Comments | Royal Escapes Sri Lanka Tours | Best Tour Companies Sri Lanka</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="guest-comments-form/guest-comment/style.css" rel="stylesheet" type="text/css"/>
<link href="plugins/sweetalert/sweetalert.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Page loader -->
<div id="preloader"></div>
<!-- header section start -->
<?php include './header.php'; ?>
<!-- about section start -->
<!-- breadcrumb area start -->
<section class="breadcrumb-area" id="home">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb-area-content">
<h2>Guest Comments</h2>
<ul>
<li><a href="index.php">Home</a></li>
<li class="active"><a href="guest-comment.php">Guest Comments</a></li>
</ul>
</div>
</div>
</div>
</div>
</section><!-- breadcrumb area end -->
<section class="pt-70 pb-70 content-0 pt-72">
<div class="container ">
<div class="row">
<div class="col-md-12 col-md-offset-1 col-sm-12 col-xs-12">
<div class="section-title-3i section1">
<h2>Add Your Comment</h2>
</div>
<div class="panel panel-white2 post panel-shadow contact-form-area form-area form-0">
<div class="contact-form">
<div id="contact">
<div id="message"></div>
<form class="form" method="post" name="guestcomment" id="guestcomment">
<div class="form-group">
<input type="text" placeholder="FullName" class="form-control input-validatar" name="txtFullName" id="txtFullName">
<span id="spanFullName"></span>
</div>
<div class="form-group">
<input type="text" placeholder="Country " class="form-control input-validatar" name="txtCountry" id="txtCountry">
<span id="spanCountry"></span>
</div>
<span class="md-form">
<div class="file-field">
<div class="btn btn-sm float-left commentprofile profileUpload profileUpload1">
<input type="file" placeholder="Profile Image " class="input-validatar input-validatar1" name="txtprofileimg" id="txtprofileimg">
<span id="spanprofileimg"></span>
</div>
</div>
</span>
<div class="form-group">
<textarea name="txtMessage" rows="6" class="form-control input-validatar" placeholder="Comment" id="txtMessage"></textarea>
<span id="spanComments"></span>
</div>
<div class="form-group">
<span class="securitybox">
<input type="text" placeholder="Security Code" class="form-control input-validatar" name="captchacode" id="captchacode">
<span id="capspan"></span>
</span>
<span class="buttoncomment"><?php include("guest-comments-form/guest-comment/captchacode-widget.php"); ?></span>
<span class=""><img id="checking" src="guest-comments-form/guest-comment/img/checking.gif" alt=""/></span>
</div>
<div class="">
<span class="securitybox1">
<input type ="hidden" name="btn-comment" id="btn-comment">
<button type="submit" id="btnSubmit" class="theme-btn theme-btn2 cmn-button con-button">Send Your Comment</button>
</span>
</div>
<div id="dismessage" align="center" class="msg-success"></div>
</form>
</div>
</div>
</div>
<div class="col-lg-8">
</div>
</div>
</div>
</div>
</section>
<section class="teacher-grid-section teacher-grid-style-three section-padding section-bg">
<div class="container">
<div class="course-grid-wrapper">
<div class="row mt-mb-15 teacher-grid-block">
<div class="col-md-12">
<?php
foreach (Comments::activeComments() as $gustCommentSec) {
?>
<div class="teacher-single d-flex">
<div class="teacher-thumb guest-img col-md-12 col-lg-3">
<img src="upload/comments/<?php echo $gustCommentSec['image_name']; ?>" alt="teacher-image">
</div>
<div class="teacher-content col-lg-9">
<h4 class="teacher-name"><?php echo $gustCommentSec['name']; ?></h4>
<span class="teacher-designation comnt"><?php echo $gustCommentSec['title']; ?></span>
<p><?php echo $gustCommentSec['comment']; ?></p>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</div>
</section>
<!-- 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="guest-comments-form/guest-comment/scripts.js" type="text/javascript"></script>-->
<script src="assets/js/create-guest-comment.js" type="text/javascript"></script>
<script src="plugins/sweetalert/sweetalert.min.js" type="text/javascript"></script>
<script async src="https://www.jscache.com/wejs?wtype=cdswritereviewlg&uniq=587&locationId=17594820&lang=en_AU&lang=en_AU&display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
</body>
</html> |