MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.193.28
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/comfortaircon.co/../aaliyadecor.com/../indiatourbus.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/comfortaircon.co/../aaliyadecor.com/../indiatourbus.com/tour-listing.php
<?php
 include_once('admin/config.php');
 $cat_url = $_REQUEST['slug'];
 $querydt="SELECT * FROM `tbl_main_cat` WHERE `slug`='$cat_url'";
 $rundt = mysqli_query($db,$querydt) or die("Query Not run");
 $datadt = mysqli_fetch_assoc($rundt);
?>
<!doctype html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php include "links.php";?>
    <title><?php echo $datadt['meta_title']?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
</head>

<body>
    <?php include "header.php";?>
    <div class="breadcrumb breadcrumb-style-one">
        <div class="container">
            <div class="col-lg-12 text-center">
                <h2 class="breadcrumb-title"><?php echo $datadt['cat_name']?></h2>
                <ul class="d-flex justify-content-center breadcrumb-items">
                    <li class="breadcrumb-item"><a href="<?= $wspath;?>">Home</a></li>
                    <li class="breadcrumb-item active"><?php echo $datadt['cat_name']?></li>
                </ul>
            </div>
        </div>
    </div>

  
<div class="package-area package-style-one pt-110 ">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-8">
                    <div class="section-head-alpha">
                        <h2>All of India, One Unforgettable Journey: Experience the Best with Our All Tour</h2>
                    </div>
                </div>
            </div>
            <div class="row g-4">
                
                <?php
					$mid=$datadt["c_id"];
                    $sqlt = "SELECT * FROM `tbl_services` WHERE tour_status='Active' AND m_id='$mid'";
                    $runt = mysqli_query($db, $sqlt) or die("Query Not run");
                    while ($datatfam = mysqli_fetch_assoc($runt)) {
                ?>
                <div class="col-lg-4 col-md-6">
                    <div class="package-card-alpha">
                        <div class="package-thumb">
                            <a href="<?php echo $wspath?>tour<?php echo $datatfam['slug_url'];?>.html">
                                <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datatfam['image'];?>" alt="<?php echo $datatfam['cat_name']?>" title="<?php echo $datatfam['cat_name']?>"></a>
                            <p class="card-lavel">
                                <i class="bi bi-clock"></i> <span><?php echo $datatfam['cat_name']?></span>
                            </p>
                        </div>
                        <div class="package-card-body">
                            <h3 class="p-card-title"><a href="<?php echo $wspath?>tour<?php echo $datatfam['slug_url'];?>.html"><?php echo $datatfam['name'];?></a></h3>

                            <div class="p-card-bottom">
                                <div class="book-btn">
                                        
                                     <?php
                                        if(isset($datatfam['show_btn']) && $datatfam['show_btn'] !== 'No') {
                                            echo '
                                            <div class="p-card-info">Tour Starts At Rs
                                                <del>
                                                    ' . $datatfam['price'] . '
                                                </del>= <span class="amt-sty">
                                                    ' . $datatfam['mrp'] . '/-
                                                </span>
                                            </div>
                                            <div class="p-card-bottom">
                                            <div class="book-btn">
                                                <form action="' . $wspath . 'booking.php" method="POST">
                                                    <input type="hidden" name="tour_name" value="' . $datatfam['name'] . '">
                                                    <input type="hidden" name="price" value="' . $datatfam['mrp'] . '">
                                                    <button class="btn btn-success" type="submit" name="submit-booking"> Book Now</button>
                                                </form>
                                                </div>
                                            </div>';
                                        }
                                        ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                    <?php } ?>
            </div>
        </div>
    </div>

    <?php include "footer.php";?>
</body>

</html>

MMCT - 2023