MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.217.207.112
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-cat.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_main_cat` WHERE `slug`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html lang="en">
<head>
    <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"];?>"/>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php include "links.php";?>
</head>
<body>
    <?php include "header.php";?>

    <div class="breadcrumb breadcrumb-style-one">
        <div class="container">
            <div class="col-lg-12 text-center">
                <h1 class="breadcrumb-title"><?php echo $datadt['cat_name']?></h1>
                <ul class="d-flex justify-content-center breadcrumb-items">
                    <li class="breadcrumb-item"><a href="index.html">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>Affordable Sameday Car Tours Start <span>From Delhi</span></h2>
                        <p>Explore the majestic Taj Mahal, the City of Yoga, and the Cartling streets of Delhi in our
                            Tour.</p>
                    </div>
                </div>
            </div>
            <div class="row g-4">
                <?php
                    $main=$datadt['c_id'];
                    $sqltour = "SELECT * FROM tbl_services WHERE m_id='$main' and tour_status!='Inactive'";
                    $runtour = mysqli_query($db,$sqltour) or die("Query Not run");
                    while($datatour = mysqli_fetch_assoc($runtour)){
                ?>
                <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 $datatour['slug_url'];?>.html"><img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datatour['image'];?>" alt="<?php echo $datatour['name'];?>" title="<?php echo $datatour['name'];?>"></a>
                        </div>
                        <div class="package-card-body">
                            <h3 class="p-card-title"><a href="<?php echo $wspath?>tour<?php echo $datatour['slug_url'];?>.html"><?php echo $datatour['name'];?></a></h3>
                            <span><?php echo $datatour['short_desc'];?></span>
                            <div class="p-card-bottom">
                                            <div class="pkg_btn">
                                                <a href="<?php echo $wspath?>tour<?php echo $datatour['slug_url'];?>.html" class="btn btn-danger">Book Now</a>
                                <?php if ($datatour['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 $datatour['name']; ?>">-->
                                    <!--    <input type="hidden" name="price" value="<?php echo $datatour['mrp']; ?>">-->
                                    <!--    <button class="btn btn-danger" type="submit" name="submit-booking">Book Now</button>-->
                                    <!--</form>-->
                                <?php endif; ?>
                            </div>
                                <div class="wp-btn">
                                    <a href="https://wa.me/<?php echo $data1['whatsapp'];?>" target="blank">WhatsApp Now  <i class='bx bxs-right-arrow-alt'></i></a>
                                </div>
                                <!-- <div class="p-card-info">
                                    <span>Start From</span>
                                    <h6>₹ 2200/- </h6>
                                </div> -->
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
                
            </div>
        </div>
    </div>
    <?php include "footer.php";?>
</body>
</html>

MMCT - 2023