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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/milkodelight.com/product-detail.php
<?php
    include_once('admin/config.php');
    $cat_url = $_REQUEST['url_link'];
    $querydt="SELECT * FROM `tbl_services` WHERE `url_link`='$cat_url'";
    $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-links.php";?>
</head>
<body>
    
<?php include "header.php";?>

    <div class="bd-breadcrumb__area include__bg hero__overlay Breadcrumb__height d-flex align-items-center" data-background="<?php echo $wspath?>assets/img/hero/breadcrumb.jpg">
        <div class="container fluid">
            <div class="row">
               <div class="col-xl-12">
                  <div class="bd-breadcrumb__menu">
                     <nav aria-label="Breadcrumbs" class="breadcrumb-trail breadcrumbs">
                        <ul class="trail-items">
                           <li class="trail-item trail-begin"><span><a href="<?php echo $wspath?>">Home</a></span></li>
                           <li class="trail-item trail-end"><span><?php echo $datadt["property_name"];?></span></li>
                        </ul>
                     </nav>
                  </div>
                  <div class="bd-breadcrumb__title">
                     <h1 style="font-size:30px; color:white;"><?php echo $datadt["property_name"];?></h1>
                  </div>
               </div>
            </div>
        </div>
    </div>
    
    <!-- Service details area start -->
   <div class="bd-services__details-area pt-120 pb-60">
      <div class="container">
         <div class="row">
            <div class="col-xxl-9 col-xl-9 col-lg-12">
               <div class="bd-services__details-wrapper mb-60">
                  <div class="bd-services__details-thumb w-img mb-50">
                     <img src="<?php echo $wspath?>admin/images/<?php echo $datadt['img1'];?>" alt="<?php echo $datadt["property_name"];?>">
                  </div>
                  <div class="bd-services__details-content mb-40">
                     <div class="bd-services__details-text mb-45">
                        <h3 class="bd-services__details-title">
                           <?php echo $datadt["property_name"];?>
                        </h3>
                        <p class="mb-30"><?php echo $datadt["property_description"];?></p>
                     </div>
                     
                     <div class="bd-services__details-text mb-50">
                        <p class="mb-20"><?php echo $datadt["benefits"];?></p>
                     </div>
                  </div>
               </div>
            </div>
            <div class="col-xxl-3 col-xl-3 col-lg-6">
               <div class="bd-services__sidebar">
                  <div class="bd-services__sidebar-item mb-50">
                     <div class="bd-services__sidebar-title">
                        <h4>Related Products</h4>
                     </div>
                     <div class="bd-services__sidebar-list">
                        <ul>
                            <?php
                                $mid=$datadt['cat_id'];
                                $sqlpro = "SELECT * FROM `tbl_services` WHERE cat_id='$mid'";
                                $runpro = mysqli_query($db,$sqlpro) or die("Query Not run");
                                while($datapro = mysqli_fetch_assoc($runpro)){
                            ?>
                           <li><a href="<?php echo $wspath?><?php echo $datapro['url_link'];?>.html"><?= str_replace("LOCATION",$location,$datapro["property_name"]);?></a></li>
                           <?php } ?>
                        </ul>
                     </div>
                  </div>
                  <div class="bd-services__sidebar-item mb-50">
                     <div class="bd-services__sidebar-title">
                        <!--<h4>Custom Request</h4>-->
                     </div>
                        <a href="<?php echo $wspath?>contact.html"><button class="bd-services__btn">
                           Inquire Now
                        </button></a>
                  </div>
               </div>
            </div>
         </div>
      </div>
   </div>
   <!-- Service details area end -->

   <?php include "footer.php";?>
</body>
</html>

MMCT - 2023