ok

Mini Shell

Direktori : /home/importfo/public_html/synergymedicarehospital.co.in/
Upload File :
Current File : /home/importfo/public_html/synergymedicarehospital.co.in/blog.php

<?php include("admin/config.php");?>

<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from 7oroof.com/demos/medcity/blog.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 27 Feb 2024 04:20:12 GMT -->
<?php include 'top.php' ?>
<body>
  <div class="wrapper">
   
    <!-- =========================
        Header
    =========================== -->
    <?php include 'header.php' ?>
    <!-- ========================
       page title 
    =========================== -->
    <section class="page-title page-title-layout5 bg-overlay">
      <div class="bg-img"><img src="assets/images/banners/11.jpg" alt="background"></div>
      <div class="container">
        <div class="row">
          <div class="col-12">
            <h1 class="pagetitle__heading">Blog</h1>
            <nav>
              <ol class="breadcrumb mb-0">
                <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                <li class="breadcrumb-item active" aria-current="page">Blog</li>
              </ol>
            </nav>
          </div><!-- /.col-12 -->
        </div><!-- /.row -->
      </div><!-- /.container -->
    </section><!-- /.page-title -->

    <!-- ======================
      Blog Grid
    ========================= -->
    <section class="blog-grid">
      <div class="container">
        <div class="row">
           <?php
                            $sql="SELECT * from blog";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>
          <!-- Post Item #1 -->
          <div class="col-sm-12 col-md-6 col-lg-4">
            <div class="post-item">
              <div class="post__img">
                <a href="blog_detail.php?slug=<?php echo $row['id']; ?>">
                  <img src="admin/upload/<?php echo $row['image'];?>" alt="post image" loading="lazy">
                </a>
              </div><!-- /.post__img -->
              <div class="post__body">
                <div class="post__meta-cat">
                  <a href="#"><?php echo $row['post_date'];?></a>
                </div><!-- /.blog-meta-cat -->
                <h4 class="post__title"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></h4>
                <a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class="btn btn__secondary btn__link btn__rounded">
                  <span>Read More</span>
                  <i class="icon-arrow-right"></i>
                </a>
              </div><!-- /.post__body -->
            </div><!-- /.post-item -->
          </div><!-- /.col-lg-4 -->
       
        <?php }?>
        </div><!-- /.row -->
      
      </div><!-- /.container -->
    </section><!-- /.blog Grid -->

  <?php include 'footer.php' ?>
    <button id="scrollTopBtn"><i class="fas fa-long-arrow-alt-up"></i></button>
  </div><!-- /.wrapper -->

  <script src="assets/js/jquery-3.5.1.min.js"></script>
  <script src="assets/js/plugins.js"></script>
  <script src="assets/js/main.js"></script>
</body>


<!-- Mirrored from 7oroof.com/demos/medcity/blog.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 27 Feb 2024 04:20:15 GMT -->
</html>

Zerion Mini Shell 1.0