MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/asiatourhub/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/asiatourhub/index.php
<!doctype html>
<html lang="en">
<head>
    <?php include 'admin/dbc.php';
    $sql=mysqli_query($conn,"select * from tbl_category")or die(mysqli_error($conn));
while($row2=mysqli_fetch_assoc($sql)){
    $categoryAry2[$row2['id']]=$row2['name'];

} 
     ?>
      <!-- Required meta tags -->
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

      <!-- favicon -->
      <!-- <link rel="icon" type="image/png" href="assets/images/favicon.png"> -->
      <!-- Bootstrap CSS -->
      <link rel="stylesheet" href="assets/vendors/bootstrap/css/bootstrap.min.css" media="all">
      <!-- Fonts Awesome CSS -->
      <link rel="stylesheet" type="text/css" href="assets/vendors/fontawesome/css/all.min.css">
      <!-- jquery-ui css -->
      <link rel="stylesheet" type="text/css" href="assets/vendors/jquery-ui/jquery-ui.min.css">
      <!-- modal video css -->
      <link rel="stylesheet" type="text/css" href="assets/vendors/modal-video/modal-video.min.css">
      <!-- light box css -->
      <link rel="stylesheet" type="text/css" href="assets/vendors/lightbox/dist/css/lightbox.min.css">
      <!-- slick slider css -->
      <link rel="stylesheet" type="text/css" href="assets/vendors/slick/slick.css">
      <link rel="stylesheet" type="text/css" href="assets/vendors/slick/slick-theme.css">
        <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.21/dist/sweetalert2.all.min.js"></script>
       <link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.7.21/dist/sweetalert2.min.css" rel="stylesheet">
      <!-- google fonts -->
      <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap" rel="stylesheet">
      <!-- Custom CSS -->
      <link rel="stylesheet" type="text/css" href="style.css">
      <title>India Tour Solution </title>
   </head>
   <body class="home">
    <!--   <div id="siteLoader" class="site-loader">
         <div class="preloader-content">
            <img src="assets/images/loader1.gif" alt="">
         </div>
      </div> -->
      <div id="page" class="full-page">
         <?php include 'includes/header.php' ?>
         <main id="content" class="site-main">
            <!-- Home slider html start -->
            <section class="home-slider-section">
               <div class="home-slider">
                  <div class="home-banner-items">
                     <div class="banner-inner-wrap" style="background-image: url(assets/images/banner-11.webp);"></div>
                        <div class="banner-content-wrap">
                           <div class="container">
                              <div class="banner-content text-center">
                                 <h2 class="banner-title" style="">INDIA TOUR SOLUTION</h2>
                                  <p>Let India Tour Solution be your trusted partner in exploring the diverse and enchanting wonders of India. Contact us now to plan your next unforgettable journey.</p>
                                 <a href="contact.php" class="button-primary">CONTACT US</a>
                              </div>
                           </div>
                        </div>
                     <div class="overlay"></div>
                  </div>
                  <div class="home-banner-items">
                     <div class="banner-inner-wrap" style="background-image: url(assets/images/banner-22.webp);"></div>
                        <div class="banner-content-wrap">
                           <div class="container">
                              <div class="banner-content text-center">
                                 <h2 class="banner-title">INDIA TOUR SOLUTION</h2>
                                 <p>Let India Tour Solution be your trusted partner in exploring the diverse and enchanting wonders of India. Contact us now to plan your next unforgettable journey.</p>
                                 <a href="contact.php" class="button-primary">CONTACT US</a>
                              </div>
                           </div>
                        </div>
                     <div class="overlay"></div>
                  </div>
                  <div class="home-banner-items">
                     <div class="banner-inner-wrap" style="background-image: url(assets/images/banner-33.webp);"></div>
                        <div class="banner-content-wrap">
                           <div class="container">
                              <div class="banner-content text-center">
                                 <h2 class="banner-title">INDIA TOUR SOLUTION</h2>
                                  <p>Let India Tour Solution be your trusted partner in exploring the diverse and enchanting wonders of India. Contact us now to plan your next unforgettable journey.</p>
                                 <a href="contact.php" class="button-primary">CONTACT US</a>
                              </div>
                           </div>
                        </div>
                     <div class="overlay"></div>
                  </div>
               </div>
            </section>
            <!-- slider html start -->
            <!-- Home search field html start -->
            <div class="trip-search-section shape-search-section">
               <div class="slider-shape"></div>
               <div class="container">
               <form method="POST" enctype="multipart/form-data">
                  <div class="trip-search-inner white-bg d-flex">
                     <div class="input-group">
                        <select class="form-control" required name="txtpackage" id="country">
                              <option value="" selected="" disabled>Select City</option>
                              <?php  
                                    $sqlpackage=mysqli_query($conn,"select * from tbl_category")or die(mysqli_error());
                                     while($rowpackage=mysqli_fetch_assoc($sqlpackage))
                                  {
                                  ?>
                                   <option value="<?php echo $rowpackage['name'];?>"><?php echo $rowpackage['name'];?></option>
                               <?php }?>
                        </select>
                     </div>
                     <div class="input-group ">
                        <input type="number" name="txtpeople" placeholder="No.of People *" required>
                     </div>
                     <div class="input-group width-col-3">
                  
                        <input  type="text" name="txtname" required placeholder="Your Name *" autocomplete="off">
                     </div>
                     <div class="input-group width-col-3">
   
                        <input  type="number" name="txtmobile" required placeholder="Mobile Number *" autocomplete="off">
                     </div>
                     <div class="input-group width-col-3">
                        <label class="screen-reader-text"> Search </label>
                        <input type="submit" name="bannerForm" value="SUBMIT">
                     </div>
                  </div>
               </form>
               </div>
            </div>
            
                <!-- Home activity section html start -->
            <section class="activity-section">
               <div class="container">
                  <div class="activity-inner row">
               <?php  
                  $sqldestination=mysqli_query($conn,"select * from tbl_category where status='1' and home_page='1' ORDER BY order_number asc")or die(mysqli_error());
                   while($rowdestination=mysqli_fetch_assoc($sqldestination))
                {
                ?>    
                     <div class="col-lg-2 col-md-4 col-sm-6">
                        <div class="activity-item" style="">
                           <div class="activity-icon">
                              <a href="tour-package/<?php echo $rowdestination['url'];?>.html">
                                 <img src="media/category/<?php echo $rowdestination['image'];?>" alt="">
                              </a>
                           </div>
                           <div class="activity-content">
                              <h4>
                                 <a href="tour-package/<?php echo $rowdestination['url'];?>.html"><?php echo $rowdestination['name'];?></a>
                              </h4>
                           </div>
                        </div>
                     </div>
          <?php  }  ?>  
                   <div class="col-lg-2 col-md-4 col-sm-6">
                        <div class="activity-item" style="">
                           <div class="activity-icon">
                              <a href="all-destination.php">
                                 <img src="assets/images/india.jpg" alt="">
                              </a>
                           </div>
                           <div class="activity-content">
                              <h4>
                                 <a href="all-destination.php">India</a>
                              </h4>
                           </div>
                        </div>
                     </div>
          
                     <div class="col-lg-4 col-md-4 col-sm-6">
                        <div class="activity-item" style="">
                           <div class="activity-content">
                               <h4>
                                 Where Would You Like To Go in <span style="color:#F56960">India ?</span>
                              </h4>
                              <p>Take advantage of fantastic savings on our most well-liked tour packages. <br><br>Select from a variety of vacation packages made to cross off items on your bucket list for an incredible holidays.</p>
                           </div>
                        </div>
                     </div>
                    
                  </div>
               </div>
            </section>
            <!-- activity html end -->
            <!-- about -->
             <section class="home-about-section">
               <div class="container">
                  <div class="row">
                     <div class="col-lg-7">
                        <div class="about-img-wrap">
                           <div class="about-img-left">
                              <div class="about-content secondary-bg d-flex flex-wrap">
                                 <h3>Something you want to know about us !!</h3>
                                 <a href="about.html" class="button-primary">LEARN MORE</a>
                              </div>
                              <div class="about-img">
                                 <img src="assets/images/qq.png" alt="">
                              </div>
                           </div>
                           <div class="about-img-right">
                              <div class="about-img">
                                 <img src="assets/images/avc.png" alt="">
                              </div>
                              <div class="about-img">
                                 <img src="assets/images/ac.png" alt="">
                              </div>
                           </div>
                        </div>
                     </div>
                     <div class="col-lg-5">
                        <div class="banner-content section-heading">
                           <h5>ABOUT US</h5>
                           <h2 class="banner-title" style="font-size: 36px;">Explore India Tour Solution with Expert Guide</h2>
                           <div class="title-icon-divider"><i class="fas fa-suitcase-rolling"></i></div>
               
                           <p style="text-align:justify;">

<b>Welcome to India Tour Solution – Your Gateway to Unforgettable Indian Adventures !</b>

At India Tour Solution, we specialize in crafting bespoke travel experiences across the mesmerizing landscapes of India. Whether you're looking to explore the rich cultural heritage of Mathura and Vrindavan, embark on a spiritual journey, or indulge in the natural beauty and vibrant traditions of this incredible country, we've got you covered. <a style="cursor:default; text-decoration: none; color:#fff" href="https://www.pursesstore.com">Best replica handbags</a></p>
                           <p style="text-align:justify;"> <b>Book Your Adventure Today !</b>

Let India Tour Solution be your trusted partner in exploring the diverse and enchanting wonders of India. Contact us now to plan your next unforgettable journey. <br>Embark on a journey of a lifetime with India Tour Solution – where your travel dreams come true! <a style="cursor:default; text-decoration: none; color:#fff" href="https://www.watchesuk.uk.com">Replica Watches UK</a>
</p>
                        </div>
                     </div>
                  </div>
               </div>
            </section><br><br>
            <!-- about close -->

            <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Popular Taj Mahal Day Trips</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='1' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                              <!-- <a href="package-detail/<?php echo $url; ?>.html">  -->
                                 <a href="package-detail.php?url=<?php echo $url; ?>"> 
                                  
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=91" class="button-text width-6">Enquiry Now<i class="far fa-heart"></i></a>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
            </section>
            <!-- packages html end -->

         <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Explore Best Attraction in Delhi and Jaipur</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='5' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <!-- <a href="package-detail/<?php echo $url; ?>.html"> -->
                                    <a href="package-detail.php?url=<?php echo $url; ?>">
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=91" class="button-text width-6">Enquiry Now<i class="far fa-heart"></i></a>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
      </section>

       <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Explore Top-Rated 2-Day Tours</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='8' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <!-- <a href="package-detail/<?php echo $url; ?>.html"> -->
                                    <a href="package-detail.php?url=<?php echo $url; ?>">
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=+918532002877" class="button-text width-6">Whatsapp<i class="far fa-heart"></i></a>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
      </section>
      
       <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Shopping Tours</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='10' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <!-- <a href="package-detail/<?php echo $url; ?>.html"> -->
                                    <a href="package-detail.php?url=<?php echo $url; ?>">
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=+918532002877" class="button-text width-6">Whatsapp<i class="far fa-heart"></i></a>
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
      </section>
      
      <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Golden Triangle Tour Packages</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='6' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <!-- <a href="package-detail/<?php echo $url; ?>.html"> -->
                                    <a href="package-detail.php?url=<?php echo $url; ?>">
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=+918532002877" class="button-text width-6">Whatsapp<i class="far fa-heart"></i></a>
                                       
                                       <!-- <a href="https://api.whatsapp.com/send?phone=91" class="button-text width-6">Enquiry Now<i class="far fa-heart"></i></a> -->
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
      </section>
      
      <section class="package-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">EXPLORE GREAT PLACES</h5>
                           <h2>Golden Triangle Tour Packages with Extension</h2>
                        </div>
                     </div>
                  </div>
                  <div class="package-inner">
                     <div class="row">
              <?php  
                   $i=1;
                   $sql=mysqli_query($conn,"select * from tbl_product where status='1' and days_id='9' ORDER BY ordernumber asc")or die(mysqli_error());
                while($row=mysqli_fetch_assoc($sql))
                {
                   extract($row);
                   $destinationid=$row['category_id'];
                   $destinationidAry = explode(',',$destinationid);
                ?>
                        <div class="col-lg-3 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <!-- <a href="package-detail/<?php echo $url; ?>.html"> -->
                                    <a href="package-detail.php?url=<?php echo $url; ?>">
                                    <img src="media/product/<?php echo $image1;?>" alt="<?php echo $productname;?>">
                                 </a>
                              </figure>
                              <div class="package-content-wrap">
                                 <div class="package-meta text-center">
                                    <ul>
                                       <li>
                                          <i class="far fa-clock"></i>
                                          <?php echo $days;?> Day
                                       </li>
                                       <li>
                                          <i class="fas fa-map-marker-alt"></i>
                                          <?php
                                          $isFirst = true; // Initialize a flag to track the first iteration

                                          foreach ($destinationidAry as $destinationid) {
                                              $destinationid = mysqli_real_escape_string($conn, $destinationid);
                                              $sqldestination = mysqli_query($conn, "SELECT * FROM tbl_category WHERE id='$destinationid'") or die(mysqli_error($conn));

                                              if ($rowdestination = mysqli_fetch_assoc($sqldestination)) {
                                                  
                                                  if (!$isFirst) {
                                                      echo ', ';
                                                  } else {
                                                      $isFirst = false; 
                                                  }
                                                  echo '<span>' . $rowdestination['name'] . '</span>';
                                              }
                                          }
                                          ?>
                                       </li>
                                    </ul>
                                 </div>
                                 <div class="package-content">
                                    <h3>
                                       <center><a href="package-detail/<?php echo $url; ?>.html" style="font-size: 18px;"><?php echo $productname;?></a></center>
                                    </h3>
                                    <div class="review-area">
                                       
                                       <center><div class="rating-start" title="Rated 5 out of 5">
                                         <span style="width: 100%"></span>
                                       </div></center> 
                                    </div>
                                    <div class="btn-wrap">
                                       <a href="package-detail/<?php echo $url; ?>.html" class="button-text width-6">More Info<i class="fas fa-arrow-right"></i></a>
                                       <a href="https://api.whatsapp.com/send?phone=+918532002877" class="button-text width-6">Whatsapp<i class="far fa-heart"></i></a>
                                     
                                       <!-- <a href="https://api.whatsapp.com/send?phone=91" class="button-text width-6">Enquiry Now<i class="far fa-heart"></i></a> -->
                                    </div>
                                 </div>
                              </div>
                           </div>
                        </div>
               <?php }?>        
                     </div>
                     
                  </div>
               </div>
      </section>
      
            <!-- Home special section html start -->
            <section class="special-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">TOUR DESTINATIONS</h5>
                           <h2>Top Tour Destinations</h2>
                        </div>
                     </div>
                  </div>
                  <div class="special-inner">
                     <div class="row">
               <?php  
                  $sqldestination=mysqli_query($conn,"select * from tbl_category where status='1' ORDER BY order_number asc")or die(mysqli_error());
                   while($rowdestination=mysqli_fetch_assoc($sqldestination))
                {
                ?>
                        <div class="col-md-6 col-lg-4">
                           <div class="special-item">
                              <figure class="special-img">
                                 <img src="media/category/<?php echo $rowdestination['image'];?>" alt="<?php echo $rowdestination['name'];?>">
                              </figure>
                              <div class="special-content">
                                 <h3>
                                   <center><a href="tour-package/<?php echo $rowdestination['url'];?>.html"><?php echo $rowdestination['name'];?></a></center> 
                                 </h3> 
                                    <center><a href="tour-package/<?php echo $rowdestination['url'];?>.html" class="button-primary" style="padding: 9px;font-size: 13px;">VIEW ALL PACKAGES <i class="fas fa-arrow-right"></i></a></center>                              
                              </div>
                           </div>
                        </div>
                  <?php }?>      

                     </div>
                  </div>
               </div>
            </section>
            <!-- special html end -->
      
   
            <!-- Home blog section html start -->
            <!-- <section class="blog-section">
               <div class="container">
                  <div class="section-heading text-center">
                     <div class="row">
                        <div class="col-lg-8 offset-lg-2">
                           <h5 class="dash-style">Our Services</h5>
                           <h2>Services We offer for India Tour Solution</h2>
   
                        </div>
                     </div>
                  </div>
                  <div class="row">
                     <div class="col-md-6 col-lg-4">
                        <article class="post">
                           <figure class="feature-image">
                              <a href="#">
                                 <img src="assets/images/service/2.png" alt="">
                              </a>
                           </figure>
                           <div class="entry-content">
                              <h3>
                                 <center><a href="#">Complete Tour Packages</a></center>
                              </h3>
                           </div>
                        </article>
                     </div>
                     <div class="col-md-6 col-lg-4">
                        <article class="post">
                           <figure class="feature-image">
                              <a href="#">
                                 <img src="assets/images/service/1.png" alt="">
                              </a>
                           </figure>
                           <div class="entry-content">
                              <h3>
                                 <center><a href="#">Taxi Services</a></center>
                              </h3>
                           </div>
                        </article>
                     </div>
                     <div class="col-md-6 col-lg-4">
                        <article class="post">
                           <figure class="feature-image">
                              <a href="#">
                                 <img src="assets/images/service/3.png" alt="">
                              </a>
                           </figure>
                           <div class="entry-content">
                              <h3>
                                 <center><a href="#">Expert Darshan Guide</a></center>
                              </h3>
                           </div>
                        </article>
                     </div>
                  </div>
               </div>
            </section> -->
             <!-- blog html end -->
             <!--FAQ -->
              <!-- faq html start -->
            <div class="faq-page-section">
               <div class="container">
                  <div class="faq-page-container">
                     <div class="row">
                        <div class="col-lg-12">
                           <div class="faq-content-wrap pl-20">
                              <div class="section-heading">
                                 <h5 class="dash-style">QUESTIONS/ANSWERS</h5>
                                 <h2>FAQ About India Tour Solution ?</h2>
                              </div>
                              <div class="accordion" id="accordionTwo">
                                 <div class="card">
                                    <div class="card-header" id="headingOne">
                                       <h4 class="mb-0">
                                          <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                                            What's included in a India Tour Solution ?
                                          </button>
                                       </h4>
                                    </div>
                                    <div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionTwo">
                                       <div class="card-body">
                                         <p>Most packages include:</p>
                                         <ul>
                                          <li>Accommodation (hotels or guesthouses)</li>
                                          <li>Transportation (car or minibus)</li>
                                          <li>Temple entrance fees</li>
                                          <li>Guide services <a style="cursor:default; text-decoration: none; color:#fff" href="https://www.replicawatchescanada.com">replica watches canada</a></li>
                                          <li>Breakfast (some may include other meals)</li>

                                         </ul>
                                       </div>
                                    </div>
                                 </div>
                                
                                 <div class="card">
                                    <div class="card-header" id="headingThree">
                                       <h4 class="mb-0">
                                          <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
                                            Why is guide important?
                                          </button>
                                       </h4>
                                    </div>
                                    <div id="collapseThree" class="collapse" aria-labelledby="headingThree" data-parent="#accordionTwo">
                                       <div class="card-body">
                                          <p>Guides:</p>
                                          <ul>
                                             <li>Bring stories alive with historical and mythological insights.</li>
                                             <li>Navigate the maze-like towns, ensuring you don’t miss hidden gems.</li>
                                             <li>Facilitate cultural understanding, explaining local customs.</li>
                                             <li>Personalize the experience based on your interests. <a style="cursor:default; text-decoration: none; color:#fff" href="http://www.conference.iardo.com">Chanel Outlet</a></li>
                                             <li>property relationship and change your primary property.</li>
                                          </ul>
                                       </div>
                                    </div>
                                 </div>
                                 <div class="card">
                                    <div class="card-header" id="headingFour">
                                       <h4 class="mb-0">
                                          <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
                                             How much do tour packages cost?
                                          </button>
                                       </h4>
                                    </div>
                                    <div id="collapseFour" class="collapse" aria-labelledby="headingFour" data-parent="#accordionTwo">
                                       <div class="card-body">
                                          Prices vary depending on duration, inclusions, and accommodation type. Budget options start around ₹1500 per day.
                                       </div>
                                    </div>
                                 </div>
                                 <!--<div class="card">-->
                                 <!--   <div class="card-header" id="headingFive">-->
                                 <!--      <h4 class="mb-0">-->
                                 <!--         <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseFive" aria-expanded="false" aria-controls="collapseFive">-->
                                 <!--            What's the best time to visit Mathura Vrindavan?-->
                                 <!--         </button>-->
                                 <!--      </h4>-->
                                 <!--   </div>-->
                                 <!--   <div id="collapseFive" class="collapse" aria-labelledby="headingFive" data-parent="#accordionTwo">-->
                                 <!--      <div class="card-body">-->
                                 <!--         Pleasant weather prevails from October to March. However, Holi (vibrant festival) falls between February and March, leading to larger crowds.-->
                                 <!--      </div>-->
                                 <!--   </div>-->
                                 <!--</div>-->
                                 <div class="card">
                                    <div class="card-header" id="headingSix">
                                       <h4 class="mb-0">
                                          <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseSix" aria-expanded="false" aria-controls="collapseSix">
                                             What kind of clothes should I pack?
                                          </button>
                                       </h4>
                                    </div>
                                    <div id="collapseSix" class="collapse" aria-labelledby="headingSix" data-parent="#accordionTwo">
                                       <div class="card-body">
                                          Pack modest clothing that covers shoulders and knees, respectful for temple visits. Temperatures vary, so pack layers and comfortable walking shoes.
                                       </div>
                                    </div>
                                 </div>
                                 <!-- <div class="card">-->
                                 <!--   <div class="card-header" id="headingSeven">-->
                                 <!--      <h4 class="mb-0">-->
                                 <!--         <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseSeven" aria-expanded="false" aria-controls="collapseSeven">-->
                                 <!--           Is it safe to travel solo in Vrindavan?-->
                                 <!--         </button>-->
                                 <!--      </h4>-->
                                 <!--   </div>-->
                                 <!--   <div id="collapseSeven" class="collapse" aria-labelledby="headingSeven" data-parent="#accordionTwo">-->
                                 <!--      <div class="card-body">-->
                                 <!--         Mathura Vrindavan is generally safe, but as with any travel, be cautious and follow basic safety guidelines. Solo tours are available from our companies.-->
                                 <!--      </div>-->
                                 <!--   </div>-->
                                 <!--</div>-->
                                   <div class="card">
                                    <div class="card-header" id="headingEight">
                                       <h4 class="mb-0">
                                          <button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseEight" aria-expanded="false" aria-controls="collapseEight">
                                            Do I need a visa to visit India?
                                          </button>
                                       </h4>
                                    </div>
                                    <div id="collapseEight" class="collapse" aria-labelledby="headingEight" data-parent="#accordionTwo">
                                       <div class="card-body">
                                          Visa requirements depend on your nationality. Check with the Indian embassy or consulate in your home country for the latest information.
                                       </div>
                                    </div>
                                 </div>
                              </div>      
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <!-- faq html end -->
             <!-- FAQ CLose -->
             <!-- Home testimonial section html start -->

            <!-- <div class="testimonial-section" style="background-image: url(assets/images/city.png);">
               <div class="container">
                  <div class="row">
                     <div class="col-lg-10 offset-lg-1">
                        <div class="testimonial-inner testimonial-slider">
                <?php  
                   $i=1;
                   $sqlreview=mysqli_query($conn,"select * from tbl_review where status='1' ORDER BY id desc")or die(mysqli_error());
                while($rowreview=mysqli_fetch_assoc($sqlreview))
                {
                   extract($rowreview)
                ?>           
                           <div class="testimonial-item text-center">
                              <figure class="testimonial-img">
                                 <img src="media/review/<?php echo $image;?>" alt="<?php echo $name;?>">
                              </figure>
                              <div class="testimonial-content">
                                 <p><?php echo $description;?></p>
                                 <cite>
                                    <?php echo $name;?>
                                    <span class="company"><?php echo $city;?></span>
                                 </cite>
                              </div>
                           </div>
                <?php }?>      
                        </div>
                     </div>
                  </div>
               </div>
            </div> -->
            
            <!-- testimonial html end -->
      
         </main>
         <?php include 'includes/footer.php' ?>
         <!-- custom search field html -->
         <!-- header html end -->
         
      </div>

      <!-- JavaScript -->
      <script src="assets/js/jquery.js"></script>
      <script src="assets/vendors/bootstrap/js/bootstrap.min.js"></script>
      <script src="assets/vendors/jquery-ui/jquery-ui.min.js"></script>
      <script src="assets/vendors/countdown-date-loop-counter/loopcounter.js"></script>
      <script src="assets/js/jquery.counterup.js"></script>
      <script src="assets/vendors/modal-video/jquery-modal-video.min.js"></script>
      <script src="assets/vendors/masonry/masonry.pkgd.min.js"></script>
      <script src="assets/vendors/lightbox/dist/js/lightbox.min.js"></script>
      <script src="assets/vendors/slick/slick.min.js"></script>
      <script src="assets/js/jquery.slicknav.js"></script>
      <script src="assets/js/custom.min.js"></script>

</html>
 <?php
if(isset($_POST['bannerForm']))

{
 
  $name=mysqli_real_escape_string($conn,$_POST['txtname']);
  $mobile=mysqli_real_escape_string($conn,$_POST['txtmobile']);
  $people=mysqli_real_escape_string($conn,$_POST['txtpeople']);
  $package=mysqli_real_escape_string($conn,$_POST['txtpackage']);
  
//   $email2="enquiry@englishallianceindia.com";
  
  

  date_default_timezone_set("Asia/Kolkata");
  $enquirydate=date("d-m-Y / h:i:s a");

    $sql="insert into tbl_quick_enquiry(name,mobile,datee,status,package,people) values('$name','$mobile','$enquirydate','1','$package','$people')"; 


              if(mysqli_query($conn,$sql) or die (mysqli_error($conn)))
                 { 
                     
                    // new code 
                          $email2 = "nishantgupta247@gmail.com";
                          $to = 'nishantgupta247@gmail.com'; // Add Vendor ID
      $subject = 'India Tour Solution Quick Enquiry';

// HTML content to be sent as email body
$html_content = '<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>India Tour Solution Quick Enquiry</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }
        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }
        h1 {
            color: #333;
        }
        p {
            font-size: 16px;
            line-height: 1.5;
        }
        .footer {
            margin-top: 20px;
            color: #555;
        }
        
          table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  th, td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
  }

  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  tr:hover {
    background-color: #e6f7ff;
  }
    </style>
</head>
<body>
    <div class="container">
        <h1>India Tour Solution Quick Enquiry</h1>
         <table>
  <tr>
    <th>NAME</th>
    <td>' . $name . '</td>
  </tr>
  <tr>
    <th>MOBILE</th>
    <td>' . $mobile . '</td>
  </tr>
  <tr>
    <th>PACKAGE</th>
    <td>' . $package . '</td>
  </tr>
  <tr>
    <th>PEOPLE</th>
    <td>' . $people . '</td>
  </tr>
  
</table>
        <div class="footer">
            <p>Best regards,</p>
            <p>India Tour Solution</p>
        </div>
    </div>
</body>
</html>';

// Headers
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= "From:" . $email2;
// Send the email with both HTML and plain text versions
mail($to, $subject, $html_content, $headers);
                 
                 
   ?>
                  <script>
                          Swal.fire({
                            position: 'top-bottom',
                            icon: 'success',
                            title: 'Thank you ! We will Contact you Soon.',
                            showConfirmButton: false,
                            timer: 1500
                        }).then(function() {
                            window.location.href = window.location.href;
                        });
                  </script>
   <?php
              
              }
              else
                 {
                    echo "<script> alert('error');</script>";
                 }
}
?>

MMCT - 2023