Server IP : 103.53.40.154 / Your IP : 3.135.184.136 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/indiatourbus.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $slug_name = $_GET['slug_url']; if(isset($_SERVER['PATH_INFO'])){ $slug_name=$_SERVER['PATH_INFO']; $querydt="SELECT * FROM `tbl_services` WHERE `slug_url`='$slug_name'"; $rundt = mysqli_query($db,$querydt) or die("Query Not run"); $datadt = mysqli_fetch_assoc($rundt); } ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include "links.php"; ?> <title><?php if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) { echo $datadt["meta_title"]; } else { echo $datadt["name"]; } ?></title> <meta name="description" content="<?php echo $datadt["meta_desc"];?>"> </head> <body> <?php include "header.php"; ?> <?php $universal_notification = $data1['universal_notification']; $tour_notification=$datadt['tour_notification']; if (empty($universal_notification)) { echo ' <section id="marquee"> <div class="container-fluid"> <div class="row"> <div class="col-md-12 mp-0s" style="background-color:#ed1c24; padding:3.1px;"> <marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();" scrollamount="4" style="color:#fff; font-weight:bold; font-size:20px; position:relative; top:2px;"> <strong>Disclaimer::</strong> ' . $tour_notification . ' </marquee> </div> </div> </div> </section>'; } ?> <!-- breadcrumb code --> <div class="breadcrumb breadcrumb-style-one"> <div class="container"> <div class="col-lg-12 text-center"> <h1 class="breadcrumb-title"><?php echo $datadt['name'];?></h1> <ul class="d-flex justify-content-center breadcrumb-items"> <li class="breadcrumb-item"><a href="<?php echo $wspath?>">Home</a></li> <li class="breadcrumb-item active"><?php echo $datadt['name'];?></li> </ul> </div> </div> </div> <!-- breadcrumb code end --> <div class="container"> </div> <div class="package-details-wrapper pt-50 pb-10"> <div class="container"> <div class="container"> <div class="row"> <div class="col-md-12 text-center pkg_brd"> <div class="col-md-12 pkg_nm"><?php echo $datadt['display_name'];?></div> <!--<del> <?php echo $datadt['price'];?></del>=--> <div class="col-md-12 pkg_rs">Tour Starts At Rs - <span class="amt-sty"><del><?php echo $datadt['price'];?>/-</del> <?php echo $datadt['mrp'];?>/-</span> </div> <div class="pkg_btn"> <!-- <a href="<?php echo $wspath?>"> Book Now</a>--> <div class="pkg_btn"> <?php if ($datadt['tour_status'] == 'Full'): ?> <!--<form method="POST">--> <button class="btn btn-warning" type="button" style="font-weight: 600;color:white;background:#ff0000;border-color: #ff0000;">Booking Full</button> <button onclick="window.location.href='tel:<?php echo $data1["phone"] ?>'" class="btn btn-success"><i class="fa fa-phone"></i> Call Now</button> <!--</form>--> <?php else: ?> <form action="<?php echo $wspath; ?>booking.php" method="POST"> <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>"> <input type="hidden" name="pc" value="<?php echo $datadt['pc']; ?>"> <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> </div> </div> <div class="row pt-40 "> <div class="col-lg-12"> <div class="tour-package-details"> <div class="pd-header bkgd-shdo"> <div class="pd-thumb"> <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="Dial4Cab"> </div> <div class="row"> </div> <div class="header-bottom"> <div class=" package-info-tab mt-3"> <!-- <h3 class="d-subtitle">Package Details</h3> --> <p><?php echo $datadt['desc'];?></p> <!--<p><?php echo $datadt['short_desc'];?></p>--> </div> </div> </div> <!-- tabs start from here --> <!--book Now Sec --> <div class="container"> <div class="row"> <div class="col-md-12 text-center pkg_brd"> <div class="col-md-12 pkg_nm"><?php echo $datadt['display_name'];?></div> <div class="col-md-12 pkg_rs">Tour Starts At Rs - <span class="amt-sty"><del><?php echo $datadt['price'];?>/-</del> <?php echo $datadt['mrp'];?>/-</span> </div> <div class="pkg_btn"> <?php if ($datadt['tour_status'] == 'Full'): ?> <!--<form method="POST">--> <button class="btn btn-warning" type="button" style="font-weight: 600;color:white;background:#ff0000;border-color: #ff0000;">Booking Full</button> <button onclick="window.location.href='tel:<?php echo $data1["phone"] ?>'" class="btn btn-success"><i class="fa fa-phone"></i> Call Now</button> <!--</form>--> <?php else: ?> <form action="<?php echo $wspath; ?>booking.php" method="POST"> <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>"> <input type="hidden" name="pc" value="<?php echo $datadt['pc']; ?>"> <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> </div> <div class="package-details-tabs"> <div class="container"> <div class="row"> <div class="col-lg-12 my-2 mb-4 text-start"> <div class="heading-main "> <h2 class="mhead"> Destination Covered by <span class="lst-words"> <?php echo $datadt['name'];?></span></h2> </div> </div> </div> </div> <section id="des-details"> <div class="container"> <div class="row"> <?php $service_id=$datadt['id']; $sql_check_submission = "SELECT spots_tour FROM `tbl_services` WHERE id = $service_id"; $run_check_submission = mysqli_query($db, $sql_check_submission) or die("Query Not run"); while ($row_check_submission = mysqli_fetch_assoc($run_check_submission)) { $submitted_spots_ids = explode(',', $row_check_submission['spots_tour']); } if (!empty($submitted_spots_ids)) { $submitted_spots_string = implode(',', $submitted_spots_ids); $sqlsp = "SELECT * FROM `tbl_tourspots` WHERE spots_id IN ($submitted_spots_string)"; $runsp = mysqli_query($db, $sqlsp) or die("Query Not run"); while ($datasp = mysqli_fetch_assoc($runsp)) { $spot_id = $datasp['spots_id']; ?> <div class="col-lg-6"> <div class="card mb-3"> <div class="row g-0"> <div class="col-md-4"> <img src="<?php echo $wspath?>admin/images/places/<?php echo $datasp['spots_image']; ?>" class="img-fluid rounded-start w-100" alt="<?php echo $datasp['spots_name']; ?>"> </div> <div class="col-md-8"> <div class="card-body"> <h5 class="card-title"><?php echo $datasp['spots_name']; ?></h5> <p class="card-text"><?php echo $datasp['spots_detail']; ?></p> </div> </div> </div> </div> </div> <?php } } else { echo "No submitted spots."; } ?> </div> </div> </section> <section> <div class="container"> <div class="row"> <div class="col-md-12 text-center pkg_brd"> <div class="col-md-12 pkg_nm"><?php echo $datadt['display_name'];?></div> <div class="col-md-12 pkg_rs">Tour Starts At Rs - <span class="amt-sty"><del><?php echo $datadt['price'];?>/-</del> <?php echo $datadt['mrp'];?>/-</span> <div class="pkg_btn"> <?php if ($datadt['tour_status'] == 'Full'): ?> <!--<form method="POST">--> <button class="btn btn-warning" type="button" style="font-weight: 600;color:white;background:#ff0000;border-color: #ff0000;">Booking Full</button> <button onclick="window.location.href='tel:<?php echo $data1["phone"] ?>'" class="btn btn-success"><i class="fa fa-phone"></i> Call Now</button> <!--</form>--> <?php else: ?> <form action="<?php echo $wspath; ?>booking.php" method="POST"> <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>"> <input type="hidden" name="pc" value="<?php echo $datadt['pc']; ?>"> <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> </div> </section> <div class="package-gallary-tab mt-3 pb-2 glry-shdo"> <div class="row g-4"> <h2 class=" mhead headscss py-2">Gallery <span class="lst-words"> <?php echo $datadt['name'];?> </span></h2> <?php $id = $datadt['id']; $sqlgal = "SELECT * FROM `tbl_image` WHERE tour_id=$id"; $rungal = mysqli_query($db, $sqlgal) or die("Query Not run"); while($datagal = mysqli_fetch_assoc($rungal)){ ?> <div class="col-lg-4"> <div class="package-gallary-item"> <a href="<?php echo $wspath?>admin/images/gallery/<?php echo $datagal['image']?>" data-fancybox="gallery" data-caption="Caption Here"> <img src="<?php echo $wspath?>admin/images/gallery/<?php echo $datagal['image']?>" alt="<?php echo $datagal['img_title']?>"> <p><?php echo $datagal['img_title']?></p> </a> </div> </div> <?php } ?> </div> </div> <section> <div class="container"> <div class="row"> <div class="col-md-12 text-center pkg_brd"> <div class="col-md-12 pkg_nm"><?php echo $datadt['display_name'];?></div> <div class="col-md-12 pkg_rs">Tour Starts At Rs - <span class="amt-sty"><del><?php echo $datadt['price'];?>/-</del> <?php echo $datadt['mrp'];?>/-</span> </div> <div class="pkg_btn"> <?php if ($datadt['tour_status'] == 'Full'): ?> <!--<form method="POST">--> <button class="btn btn-warning" type="button" style="font-weight: 600;color:white;background:#ff0000;border-color: #ff0000;">Booking Full</button> <button onclick="window.location.href='tel:<?php echo $data1["phone"] ?>'" class="btn btn-success"><i class="fa fa-phone"></i> Call Now</button> <!--</form>--> <?php else: ?> <form action="<?php echo $wspath; ?>booking.php" method="POST"> <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>"> <input type="hidden" name="pc" value="<?php echo $datadt['pc']; ?>"> <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> </section> <div class=" package-location-tab mt-3 pb-3 pkg-loc-shdo" aria-labelledby="pills-package4" > <div class=""> <h2 class="mhead">FAQ's Related <span class="lst-words"><?php echo $datadt['name'];?> </span></h2> <div class="faq-wrapper "> <div class="container"> <div class="row"> <div class="col-lg-12 "> <div class="faqs "> <!-- <h2 style="padding-bottom:0;">Tour Related <span> Question</span> </h2> --> <div class="accordion faq-accordion accordion-flush" id="faq-accordion-example"> <?php $id = $datadt['id']; $sqlfaq = "SELECT * FROM `tbl_faqs` WHERE t_id=$id"; $runfaq = mysqli_query($db, $sqlfaq) or die("Query Not run"); $count=0; while($datafaq = mysqli_fetch_assoc($runfaq)){ $count++; ?> <div class="accordion-item faq-accordion"> <h2 class="accordion-header" id="faq-heading<?php echo $count;?>"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faq-collapse<?php echo $count;?>" aria-expanded="false" aria-controls="faq-collapse<?php echo $count;?>"> Q<?php echo $count;?>: <?php echo $datafaq['question'];?> </button> </h2> <div id="faq-collapse<?php echo $count;?>" class="accordion-collapse collapse" aria-labelledby="faq-heading<?php echo $count;?>" data-bs-parent="#faq-accordion-example"> <div class="accordion-body"> <p><?php echo $datafaq['answer'];?></p> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <section> <div class="container"> <div class="row"> <div class="col-md-12 text-center pkg_brd"> <div class="col-md-12 pkg_nm"><?php echo $datadt['display_name'];?></div> <div class="col-md-12 pkg_rs">Tour Starts At Rs - <span class="amt-sty"><del><?php echo $datadt['price'];?>/-</del> <?php echo $datadt['mrp'];?>/-</span> </div> <div class="pkg_btn"> <?php if ($datadt['tour_status'] == 'Full'): ?> <!--<form method="POST">--> <button class="btn btn-warning" type="button" style="font-weight: 600;color:white;background:#ff0000;border-color: #ff0000;">Booking Full</button> <button onclick="window.location.href='tel:<?php echo $data1["phone"] ?>'" class="btn btn-success"><i class="fa fa-phone"></i> Call Now</button> <!--</form>--> <?php else: ?> <form action="<?php echo $wspath; ?>booking.php" method="POST"> <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>"> <input type="hidden" name="pc" value="<?php echo $datadt['pc']; ?>"> <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> </div> </section> <?php if ($datadt['show_btn'] == 'No') { include "home-car.php"; } ?> </div> </div> <?php include "footer.php"; ?> </body> </html>