D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
malviyanagar.jaipurpartyplanner.in
/
Filename :
blog.php
back
Copy
<?php include('admin/connection.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Jaipur Party Planner | Blog</title> <meta content="width=device-width, initial-scale=1.0" name="viewport"> <meta content="Blog" name="keywords"> <meta content="blog" name="description"> <?php include 'include/links.php'; ?> <?php include 'include/header.php'; ?> <!-- Header Start --> <div class="container-fluid bg-breadcrumb"> <div class="container text-center py-5" style="max-width: 900px;"> <h3 class="text-white display-3 mb-4 wow fadeInDown" data-wow-delay="0.1s"> Blog</h1> </div> </div> <!-- Header End --> <!-- Blog Start --> <div class="container-fluid blog py-5"> <div class="container py-5"> <div class="section-title mb-5 wow fadeInUp" data-wow-delay="0.1s"> <div class="sub-style"> <h4 class="sub-title px-3 mb-0">Our Blog</h4> </div> </div> <div class="row g-4"> <?php $blog = "select * from blog"; $blogdata = mysqli_query($conn, $blog); while ($row=mysqli_fetch_array($blogdata)) { ?> <div class="col-md-6 col-lg-6 col-xl-4 wow fadeInUp" data-wow-delay="0.1s"> <div class="blog-item rounded"> <div class="blog-img"> <a href="blog/<?php echo $row['slug']?>"> <?php echo "<img src='$base_url"."admin/".$row['Image']."'>";?> </a> </div> <div class="blog-centent p-4"> <div class="blog-title-head"> <a href="#" class="h4"><?php echo $row['title'];?></a> <span class="blog-span" style="float:right;"><i class="fas fa-calendar-alt"></i> <?php echo $row['createdate'];?></span> </div> <p class="blog-span mt-2"><?php echo $row['author'];?></p> <div class="content my-4"><?php echo $row['description'];?></div> <a href="blog/<?php echo $row['slug']?>" class="btn btn-primary rounded-pill text-white py-2 px-4 mb-1">Read More</a> </div> </div> </div> <?php }?> </div> </div> </div> <!-- Blog End --> <?php include 'include/footer.php' ?>