MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.118.162.8
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/blog-details.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_blog` WHERE `slug_link`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html class="no-js" lang="zxx">
   
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>
    <?php
    if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
        echo $datadt["meta_title"];
    } else {
        echo $datadt["title"];
    }
    ?>
    </title>
    <meta name="description" content="<?php echo $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['title'];?></span></li>
                            </ul>
                        </nav>
                    </div>
                   <div class="bd-breadcrumb__title">
                      <h1 style="font-size: 30px;"><?php echo $datadt['title'];?></h1>
                   </div>
                </div>
            </div>
        </div>
    </div>
      
   <div class="bd-services__details-area pt-60 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/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt['title'];?>">
                    </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['title'];?>
                           </h3>
                           <p class="mb-30">
                               <?php echo $datadt['description'];?>
                           </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>Recent Blogs</h4>
                        </div>
                        <div class="bd-services__sidebar-list">
                            <ul>
                                <?php
                                    $sqlother = "SELECT * FROM tbl_blog WHERE blog_status='Active' ORDER BY `b_id` DESC";
                                    $runother = mysqli_query($db,$sqlother) or die("Query Not run");
                                    while($dataother = mysqli_fetch_assoc($runother)){
                                ?>
                               <li><a href="<?php echo $wspath?>blog<?php echo $dataother['slug_link'];?>.html"><?php echo substr($dataother['title'],0,20);?>...</a></li>
                               <?php } ?>
                            </ul>
                        </div>
                    </div>
               </div>
            </div>
         </div>
      </div>
    </div>
   
    <?php include "footer.php";?>
   
</body>

</html>

MMCT - 2023