MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.223.209.129
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/bhatiataxiservice.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/bhatiataxiservice.in/tour-detail.php
<?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"];?>">
    <style>
        .mhead2{
    background: #4D869C;
    padding: 10px;
}
.package-info-tab ul{
    padding-left: 20px !important;
}
.package-info-tab ul li{
    list-style: circle !important;
}
    </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"><?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 pkg_brd">
            <div class=" pkg_nm"><?php echo $datadt['display_name'];?></div>
            <div class="row price-row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Innova Crysta  -  <span class="amt-sty"><?php echo $datadt['mrp'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Ertiga  -  <span class="amt-sty"><?php echo $datadt['price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Swift Dzire  -  <span class="amt-sty"><?php echo $datadt['swift_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 10 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_10seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 12 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_12seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row py-3" style="padding-top:5px !important;">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 14 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_14seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
          </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="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_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><?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 pkg_brd">
            <div class=" pkg_nm"><?php echo $datadt['display_name'];?></div>
            <div class="row price-row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Innova Crysta  -  <span class="amt-sty"><?php echo $datadt['mrp'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Ertiga  -  <span class="amt-sty"><?php echo $datadt['mrp'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Swift Dzire  -  <span class="amt-sty"><?php echo $datadt['swift_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 10 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_10seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 12 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_12seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
            <hr>
            <div class="row py-3" style="padding-top:5px !important;">
            <div class="col-md-8 pkg_rs"><?php echo $datadt['name'];?> By Tempo Traveller 14 Seater  -  <span class="amt-sty"><?php echo $datadt['tempo_14seater_price'];?>/-</span>
            </div>
            <div class=" col-md-4 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>
                        </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="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>
          </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']; ?>" title="<?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="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="<?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"><?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>     
        
        <div class="container">
       <h2 class="mhead2 mt-5 mb-3">Available Cars For <span class="lst-words"><?php echo $datadt['name'];?> </span></h2>
       <div class="row">
             <div class="gallery_product col-lg-4 ">
                    <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/car2.jpeg" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Innova Crysta</h4>
                            <ul>
                            <div class="btm-main">
                                <div class="price">₹ <?php echo $datadt['price']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['price']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                                
                            </div>

                            </ul>
                      
                        </div>
                    </div>
            </div>
            
            <div class="gallery_product col-lg-4 ">
                    <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/car3.jpeg" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Ertiga</h4>
                            <ul>
                               <div class="btm-main">
                                    <div class="price">₹ <?php echo $datadt['mrp']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['mrp']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                               
                            </div>
                            </ul>
                        </div>
                    </div>
            </div>
            
            <div class="gallery_product col-lg-4 ">
                   <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/car1.png" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Swift Dzire</h4>
                            <ul>
                               <div class="btm-main">
                                    <div class="price">₹ <?php echo $datadt['swift_price']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['swift_price']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                               
                            </div>
                                
                            </ul>
                        </div>
                    </div>
            </div>
            
            <div class="gallery_product col-lg-4 pt-5">
                   <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/tampoo.png" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Tempo Traveller 10 Seater</h4>
                            <ul>
                                <div class="btm-main">
                                    <div class="price">₹ <?php echo $datadt['tempo_10seater_price']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['tempo_10seater_price']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                                
                            </div>
                                
                            </ul>
                        </div>
                    </div>
            </div>
            
            <div class="gallery_product col-lg-4 pt-5">
                   <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/tra.png" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Tempo Traveller 12 Seater</h4>
                            <ul>
                                <div class="btm-main">
                                    <div class="price">₹ <?php echo $datadt['tempo_12seater_price']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['tempo_12seater_price']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                                
                            </div>
                              
                                
                            </ul>
                        </div>
                    </div>
            </div>
            
            <div class="gallery_product col-lg-4 pt-5">
                   <div class="car-inner">
                        <div>
                            <img  src="<?php echo $wspath; ?>car-img/tra2.png" height="200px" width="100%" alt="<?php echo $datadt['display_name'];?>" title="<?php echo $datadt['display_name'];?>">
                        </div>
                        <div class="car-top-int">
                            <h4 class="text-center">Tempo Traveller 14 Seater</h4>
                            <ul>
                                <div class="btm-main">
                                     <div class="price">₹ <?php echo $datadt['tempo_14seater_price']; ?>/-</div>
                                <?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.php" method="POST">
                                <input type="hidden" name="tour_name" value="<?php echo $datadt['name']; ?>">
                                <input type="hidden" name="price" value="<?php echo $datadt['tempo_14seater_price']; ?>">
                                <button class="btn btn-warning" style="padding: 10px;" type="submit" name="submit-booking">Book Now</button>
                            </form>
                        <?php endif; ?>
                               
                            </div>
                                
                            </ul>
                        </div>
                    </div>
            </div>
            
            </div>
        
        </div>
        
      </div>
    </div>
    
    <?php include "footer.php"; ?>

</body>

</html>

MMCT - 2023