Server IP : 103.53.40.154 / Your IP : 3.15.141.155 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/.wp-cli/../nshomeapplianceservices.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<style> .single-blog-style-one{ box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); padding:10px; border-radius:5px; margin-bottom:10px; } .img-box{ border-radius:5px; } </style> <section class="blog-style-one sec-pad pb0"> <div class="container"> <div class="sec-title"> <h3>Latest <span>Blog</span></h3> </div> <div class="row"> <?php $sql = "SELECT * FROM tbl_blog ORDER BY `b_id` ASC LIMIT 3"; $run = mysqli_query($db,$sql) or die("Query Not run"); while($data = mysqli_fetch_assoc($run)){ ?> <div class="col-md-4 col-sm-6 col-xs-12"> <div class="single-blog-style-one"> <div class="img-box"> <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $data['image'];?>" width="100%" alt="<?php echo $site_name?>" title="<?php echo $site_name?>"/> </div><!-- /.img-box --> <div class="meta-info"> <a href="<?php echo $wspath?>blog<?php echo $data['slug_link']?>.html" class="date-box"><?php echo $data['date'];?></a> <!--<a href="<?php echo $wspath?>blog<?php echo $data['slug_link']?>.html" class="category"><?php echo $data['title'];?></a>--> </div><!-- /.meta-info --> <a href="<?php echo $wspath?>blog<?php echo $data['slug_link']?>.html"><h3><?php echo $data['title'];?> </h3></a> <p><?php echo $data['short_description'];?></p> <a href="<?php echo $wspath?>blog<?php echo $data['slug_link']?>.html" class="read-more">Read More <i class="fa fa-angle-double-right"></i></a> </div> </div> <?php }?> </div> </div> </section>