MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.149.24.143
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/bittootour.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/bittootour.in/car-listing.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>

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

    <?php include 'top-link.php'; ?>

    <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"];?>">

</head>

<body>

    <?php include 'header.php'; ?>

    <div class="site-breadcrumb" style="background: url(<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['cat_image']?>)">
        <div class="container">
            <h2 class="breadcrumb-title"><?php echo $datadt["cat_name"];?></h2>
            <ul class="breadcrumb-menu">
                <li><a href="<?php echo $wspath?>">Home</a></li>
                <li class="active"><?php echo $datadt["cat_name"];?></li>
            </ul>
        </div>
    </div>

<div class="service-area bg py-120">
    <div class="container">
        <div class="row">
            <div class="col-lg-6 mx-auto">
                <div class="site-heading text-center">
                    <span class="site-title-tagline">Services</span>
                    <h2 class="site-title">Our Best Services For You</h2>
                    <div class="heading-divider"></div>
                </div>
            </div>
        </div>

        <div class="row">
              <?php
                    $subcat=$datadt['c_id'];
                    $sqlprod = "SELECT * FROM `tbl_services` WHERE m_id=$subcat AND `tour_status`='Active' ORDER BY tour_order ASC";
                    $runprod = mysqli_query($db,$sqlprod) or die("Query Not run");
                    while($dataprod = mysqli_fetch_assoc($runprod)){
                ?>
            <div class="col-md-12 col-lg-4" style="margin-bottom: 20px;">
                <div class="service-item wow fadeInUp" data-wow-delay=".25s">
                    <div class="service-img">
                        <img src="<?=$wspath?>admin/images/property-image/<?=$dataprod['image'];?>" alt="<?=$dataprod['name'];?>" title="<?=$dataprod['name'];?>">
                    </div>
                    <div class="service-icon">
                        <img src="<?php echo $wspath?>assets/img/icon/taxi-booking-1.svg" alt>
                    </div>
                    <div class="service-content">
                        <h3 class="service-title">
                            <a href="<?php echo $wspath ?>service<?php echo $dataprod['slug_url'];?>.html"><?=$dataprod['name'];?></a>
                        </h3>
                        <p class="service-text">
                        </p>
                        <div class="cont">
                           <p>
                               <?php echo substr($dataprod['desc'],0,160);?>...
                           </p>
                        </div>
                        <div class="service-arrow">
                            <a style="width: 100%;" href="<?php echo $wspath ?>service<?php echo $dataprod['slug_url'];?>.html" class="theme-btn">Book Now<i
                                    class="fas fa-arrow-right"></i></a>
                        </div>
                    </div>
                </div>
            </div>
<?php }?>
        </div>

    </div>
</div>
</div>
</div>


    <?php include 'about-book.php'; ?>
    <?php include 'footer.php'; ?>


</body>

</html>

MMCT - 2023