Server IP : 103.53.40.154 / Your IP : 3.135.220.219 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/dial4crm.com/../snackpoint.co.nz/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<section class="blog"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="pq-section-title-style-1 text-center"> <span class="pq-section-sub-title">Our blog</span> <h5 class="pq-section-title">Be First Who Read News</h5> </div> </div> </div> <div class="row"> <div class="owl-carousel" data-dots="false" data-nav="false" data-desk_num="3" data-lap_num="3" data-tab_num="2" data-mob_num="1" data-mob_sm="1" data-autoplay="false" data-loop="true" data-margin="30"> <?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="item"> <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"> <!--<div class="pq-post-meta">--> <!-- <ul>--> <!-- <li class="pq-post-author"><i class="fa fa-user"></i>admin--> <!-- </li>--> <!-- <li class="pq-post-tag">--> <!-- <a href="#"><i class="fa fa-tag"></i>Food</a>--> <!-- </li>--> <!-- </ul>--> <!--</div>--> <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> </section>