MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.72.44
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/furnitureofindia.in/../thegloriousadventure.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/furnitureofindia.in/../thegloriousadventure.com/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["cat_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">
                <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="<?php echo $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>Affordable Tours For <span> <?php echo $datadt['cat_name']?></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
                    $mid=$datadt['c_id'];
                    $sqltour = "SELECT * FROM tbl_services WHERE m_id='$mid' AND tour_status='Active' ORDER BY tour_order ASC LIMIT 6";
                    $runtour = mysqli_query($db, $sqltour) or die("Query Not run");
                    while ($datatour = mysqli_fetch_assoc($runtour)) {
                    $serviceUrl = $wspath ;
                    if (isset($_REQUEST['loc_slug'])) {
                        $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                        $serviceUrl .=  $loc_slug. '/';
                    }
                
                    $serviceUrl .= '' . $datatour['slug_url'] . '.html';
                ?>
                <div class="col-lg-4 col-md-6 mb-4">
                    <div class="package-card-alpha">
                        <div class="package-thumb">
                            <a href="<?php echo $serviceUrl; ?>"><img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datatour['image'];?>" alt="<?= str_replace("LOCATION",$location,$datatour["name"]);?>" title="<?= str_replace("LOCATION",$location,$datatour["name"]);?>"></a>
                        </div>
                        <div class="package-card-body">
                            <h3 class="p-card-title"><a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$datatour["name"]);?></a></h3>
                            <span><?php echo substr($datatour['short_desc'],0,150);?>...</span>
                            <div class="p-card-info">
                                <span>Start From</span>
                                <div class="">
                                    <h4><del style="color:red;">₹ <?php echo $datatour["mrp"] ?>/- </del><span style="color:#0d6a01;">₹ <?php echo $datatour["price"] ?>/-</span></h4>
                                </div>
                            </div>
                            <div class="p-card-bottom">
                            
                                <div class="wp-btn">
                                    <a href="https://wa.me/<?php echo $data1['whatsapp'];?>" target="blank">WhatsApp <i class='bx bxs-right-arrow-alt'></i></a>
                                </div>
                                
                                <div class="pkg_btn">
                                    <a href="<?php echo $serviceUrl; ?>" class="btn btn-success">Book Now <i class='bx bxs-right-arrow-alt'></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
                
            </div>
        </div>
    </div>
    <?php //include "inner-footer.php";?>
    <?php include "footer.php";?>
</body>
</html>

MMCT - 2023