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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/naturewoodfloor.in/services.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug_link'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_product` WHERE `slug_link`='$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 name="viewport" content="width=device-width, initial-scale=1.0">
    
    <title><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">

    <?php include 'top-link.php';?>
</head>
<body>
<?php include 'header.php';?>
    <!-- breadcrumb area -->
    <div class="breadcrumb-area breadcrumb-padding bg-img" style="background-image:url(<?php echo $wspath?>admin/images/services/<?php echo $datadt['image']?>)">
        <div class="container">
            <div class="breadcrumb-content text-center">
                <h1 style="color:white;"><?php echo $datadt['product_name']?></h1>
                <ul>
                    <li><a href="<?php echo $wspath?>">Home</a></li>
                    <li><i class="fa fa-angle-right"></i></li>
                    <li><?php echo $datadt['product_name']?></li>
                </ul>
            </div>
        </div>
    </div>
    
        <!-- Services area -->
    <div class="section pt-5">
        <div class="container">
            <div class="section-title text-center mb-lg-9 mb-md-7 mb-5">
                <h2 class="title"> <span><?php echo $datadt['product_name']?></span></h2>
                <p>To provide better quality of life by designing the eco-friendly structure.</p>
            </div>
            <div class="row row-cols-lg-4 row-cols-md-4 row-cols-sm-2 row-cols-1 ">
                <?php
                    $main=$datadt['p_id'];
                    $sql = "SELECT * FROM `tbl_services` WHERE cat_id='$main'";
                    $run = mysqli_query($db,$sql) or die("Query Not run");
                    while($data = mysqli_fetch_assoc($run)){
                    $serviceUrl = $wspath ;
                    if (isset($_REQUEST['loc_slug'])) {
                        $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                        $serviceUrl .=  $loc_slug. '/';
                    }
                
                    $serviceUrl .= '' . $data['url_link'] . '.html';
                ?>
                <div class="col-md-6">
                  <!-- <a href="service-detail.php"> -->
                    <div class="service text-center" style="border:2px solid #ea622b;margin-bottom: 15px;">
                        <img height="250px" src="<?php echo $wspath?>admin/images/<?php echo $data['img1'];?>" alt="banner">
                        <div class="service-content-wrap">
                            <div class="service-content">
                                <!-- <div class="service-icon">
                                    <i class="dlicon design_compass"></i>
                                </div> -->
                                 <!--<a href=""><h3 class="title"></h3> -->
                                 <!--<li><a href=""></a></li>-->
                                <a href="<?php echo $serviceUrl; ?>"><h3 class="title"><?= str_replace("LOCATION",$location,$data["property_name"]);?></h3>
                                <p>Enhance quality of life through the design</p></a>
                            </div>
                        </div>
                    </div>
                  <!-- </a> -->
                </div>
                <?php } ?>
                
            </div>
        </div>
    </div>
    
   <?php include 'index-projects.php';?>
   <?php include 'footer.php';?>

MMCT - 2023