MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.117.94.77
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/loveitchocoiza.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/loveitchocoiza.com/product-category.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['spots_url'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_tourspots` WHERE `spots_url`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html class="no-js" 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, shrink-to-fit=no">
    <title>
    <?php
    if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
        echo $datadt["meta_title"];
    } else { 
        echo $datadt["spots_name"];
    }
    ?>
   </title>
   <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
   <?php include "top-links.php";?>

</head>

<body>
    <?php include "header.php";?>
    
    <div class="breadcrumbs-area position-relative" style="background-image:url('<?php echo $wspath?>admin/images/places/<?php echo $datadt['spots_image']?>');">
        <div class="container">
            <div class="row">
                <div class="col-12 text-center">
                    <div class="breadcrumb-content position-relative section-content" >
                        <h1 class=""><?php echo $datadt["spots_name"];?></h1>
                        <ul>
                            <li><a href="<?php echo $wspath;?>">Home</a></li>
                            <li><?php echo $datadt["spots_name"];?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="shop-main-area">
        <div class="container container-default custom-area">
            <div class="row flex-row-reverse">
                <div class="col-lg-12 col-12 col-custom widget-mt">
                    
                    <!-- Shop Wrapper Start -->
                    <div class="row shop_wrapper grid_3">
                        <?php
                            $subcat=$datadt['spots_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-6 col-sm-6 col-lg-4 col-custom product-area">
                            <div class="product-item">
                                <div class="single-product position-relative mr-0 ml-0">
                                    <div class="product-image">
                                        <a class="d-block" href="<?php echo $wspath ?>product<?php echo $dataprod['slug_url'];?>.html">
                                            <img src="<?php echo $wspath;?>admin/images/property-image/<?php echo $dataprod['image'];?>" alt="<?php echo $dataprod['name'];?>" title="<?php echo $dataprod['name'];?>" class="product-image-1 w-100">
                                        </a>
                                        <span class="onsale">Sale!</span>
                                    </div>
                                    <div class="product-content">
                                        <div class="product-title">
                                            <h4 class="title-2"> <a href="<?php echo $wspath ?>product<?php echo $dataprod['slug_url'];?>.html"><?php echo $dataprod['name'];?></a></h4>
                                        </div>
                                        <div class="product-rating">
                                            <i class="fa fa-star"></i>
                                            <i class="fa fa-star"></i>
                                            <i class="fa fa-star"></i>
                                            <i class="fa fa-star"></i>
                                            <i class="fa fa-star"></i>
                                        </div>
                                        <div class="price-box">
                                            <span class="regular-price ">₹<?php echo $dataprod['price'];?></span>
                                            <span class="old-price"><del>₹<?php echo $dataprod['mrp'];?></del></span>
                                        </div>
                                        <a href="<?php echo $wspath;?>enquiry.html" class="btn product-cart">Enquiry Now</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php } ?>
                    </div>
                    <!-- Shop Wrapper End -->
                </div>
            </div>
        </div>
    </div>
    
    <?php include "footer.php";?>


</body>



</html>

MMCT - 2023