MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.62.68
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/fastelevator.in/../advancepowerresearch.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../advancepowerresearch.com/service.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">
    <title><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">
    <?php include "top-links.php" ?>
    <style>
        .service{
            box-shadow:1px 1px 3px 3px grey;
            padding:10px;
        }
    </style>
</head>
<body >

<div class="page-wrapper">
    
<?php include "top-header.php" ?>

<?php include "header.php" ?>
    
    <div class="inner-banner">
        <div class="container">
            <h3><?php echo $datadt['product_name']?></h3>
            <ul class="breadcumb">
                <li><a href="<?php echo $wspath?>">Home</a></li>
                <li><span class="sep"><i class="fa fa-angle-right"></i></span></li>
                <li><span><?php echo $datadt['product_name']?></span></li>
            </ul>
        </div>
    </div>
    
     <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>By carefully manufacturing, procuring, and supplying products.</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-4">
                  <!-- <a href="service-detail.php"> -->
                    <div class="service text-center" style="margin-bottom: 15px;">
                        <img  width="100%" 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 btn" style="background-color:#e45842; color:white;"><?= str_replace("LOCATION",$location,$data["property_name"]);?></h3>
                                </a>
                            </div>
                        </div>
                    </div>
                  <!-- </a> -->
                </div>
                <?php } ?>
                
            </div>
        </div>
    </div>
    
    
    
       <?php include "contact-footer-banner.php" ?>

</div><!-- /.page-wrapper -->
<?php include "footer.php" ?>
</body>
</html>
    

MMCT - 2023