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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/loveitchocoiza.com/blogs-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 lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <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="breadcrumbs-area position-relative">
        <div class="container">
            <div class="row">
                <div class="col-12 text-center">
                    <div class="breadcrumb-content position-relative section-content">
                        <h1 class="title-3"><?php echo $datadt["title"];?></h1>
                        <ul>
                            <li><a href="<?php echo $wspath;?>">Home</a></li>
                            <li><?php echo $datadt["title"];?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
        <!-- Blog Main Area Start Here -->
        <div class="blog-main-area">
            <div class="container container-default custom-area">
                <div class="row">
                    <div class="col-12 col-custom widget-mt">
                        <!-- Blog Details wrapper Area Start -->
                        <div class="blog-post-details">
                            <figure class="blog-post-thumb mb-5">
                                <img src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt["title"];?>" title="<?php echo $datadt["title"];?>">
                            </figure>
                            <section class="blog-post-wrapper product-summery">
                                <div class="section-content section-title">
                                    <h2 class="section-title-2 mb-3"><?php echo $datadt['title'];?></h2>
                                    <p class="mb-4"><?php echo $datadt['description'];?></p>
                                </div>
                            </section>
                        </div>
                        <!-- Blog Details Wrapper Area End -->
                    </div>
                </div>
            </div>
        </div>
       
    </div>
        
    <?php include "footer.php";?>
</body>
</html>

MMCT - 2023