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 (0755) :  /home2/imyrqtmy/public_html/indiatoursol/backup/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/indiatoursol/backup/tour-package.php
<!doctype html>
<html lang="en">
<head>
   <?php include 'admin/dbc.php'; 
   
   $geturl=$_GET['url'];
      $sqldestination=mysqli_query($conn,"select * from tbl_category where url='$geturl'")or die(mysqli_error());
      $rowdestination=mysqli_fetch_assoc($sqldestination);
      $getdestination=$rowdestination['id'];
   ?>
    <base href="<?php echo $weburl; ?>">
      <!-- Required meta tags -->
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      <!-- 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">
      <!-- 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&amp;family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&amp;display=swap" rel="stylesheet">
      <!-- Custom CSS -->
      <link rel="stylesheet" type="text/css" href="style.css">
      <title><?php echo $rowdestination['name']; ?> | India Tour Solution </title>
   </head>
   <body>
     
      <div id="page" class="full-page">
         <?php include 'includes/header.php' ?>
         <main id="content" class="site-main">
            <!-- Inner Banner html start-->
            <section class="inner-banner-wrap">
               <div class="inner-baner-container" style="background-image: url(assets/images/package-details.webp);">
                  <div class="container">
                     <div class="inner-banner-content">
                        <?php
                           $geturl=$_GET['url'];
                           $sqldestination=mysqli_query($conn,"select * from tbl_category where url='$geturl'")or die(mysqli_error());
                           $rowdestination=mysqli_fetch_assoc($sqldestination);
                           $getdestination=$rowdestination['id'];
                        ?>
                        <h1 class="inner-title"><?php echo $rowdestination['name']; ?> Tour Packages</h1>
                     </div>
                  </div>
               </div>
               <div class="inner-shape"></div>
            </section>
            <!-- Inner Banner html end-->
            <!-- packages html start -->
            <div class="package-section">
               <div class="container">
                  <div class="package-inner">
                     <div class="row">
               <?php  
                   $sql=mysqli_query($conn,"select * from tbl_product where FIND_IN_SET('$getdestination', category_id) 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-4 col-md-6">
                           <div class="package-wrap">
                              <figure class="feature-image">
                                 <a href="package-detail/<?php echo $url;?>.html">
                                    <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: 20px;"><?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>
            </div>
            <!-- packages 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>

</body>

</html>

MMCT - 2023