MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.220.206.141
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/comfortaircon.co/../aviorinternational.com/../loveitchocoiza.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/comfortaircon.co/../aviorinternational.com/../loveitchocoiza.com/home-blogs.php
  <div class="blog-post-area mt-text-3">
        <div class="container custom-area">
            <div class="row">
                <!--Section Title Start-->
                <div class="col-12">
                    <div class="section-title text-center mb-30">
                        <span class="section-title-1">From The Blogs</span>
                        <h3 class="section-title-3">Our Latest Posts</h3>
                    </div>
                </div>
                <!--Section Title End-->
            </div>
            <div class="row">
                <?php
                  $sqlblog = "SELECT * FROM `tbl_blog` WHERE blog_status='Active' ORDER BY b_id DESC LIMIT 3";
                  $runblog = mysqli_query($db,$sqlblog) or die("Query Not run");
                  while($datablog = mysqli_fetch_assoc($runblog)){
                ?>
                <div class="col-12 col-md-4 col-lg-4 col-custom mb-30">
                    <div class="blog-lst">
                        <div class="single-blog">
                            <div class="blog-image">
                                <a class="d-block" href="<?=$wspath?>blog<?=$datablog['slug_link'];?>.html">
                                    <img src="<?=$wspath?>admin/images/property-image/<?=$datablog['image'];?>" alt="<?=$datablog['title'];?>" title="<?=$datablog['title'];?>" class="w-100">
                                </a>
                            </div>
                            <div class="blog-content">
                                <div class="blog-text">
                                    <h4><a href="<?=$wspath?>blog<?=$datablog['slug_link'];?>.html"><?=$datablog['title'];?></a></h4>
                                    <div class="blog-post-info">
                                        <span><a href="#">By admin</a></span>
                                        <span><?=$datablog['date'];?></span>
                                    </div>
                                    <p><?=$datablog['short_description'];?></p>
                                    <a href="<?=$wspath?>blog<?=$datablog['slug_link'];?>.html" class="readmore">Read More <i class="fa fa-long-arrow-right"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>

MMCT - 2023