ok
Direktori : /proc/self/root/home/importfo/public_html/advancedentalcancerhospital.com/ |
Current File : //proc/self/root/home/importfo/public_html/advancedentalcancerhospital.com/blog.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <?php include('top.php');?> <style> .komal { position: relative; max-width: 800px; margin: 0 auto; } .komal img {vertical-align: middle;} .pratik { position: absolute; bottom: 0; color: #f1f1f1; width: 100%; padding: 20px; } </style> </head> <body class=""> <div id="wrapper" class="clearfix"> <!-- Header --> <?php include('header.php');?> <!-- Start main-content --> <div class="main-content"> <section class="inner-header divider parallax layer-overlay overlay-white-8" data-bg-img=""> <!-- <div class="komal"> --> <img src="images/pp.jpg" alt="Notebook" style="width:;"> <div class="pratik"> <center><h4 style="color:black;">Blog</h4></center> <ol class="breadcrumb text-center text-black mt-10" style="color:black; font-size: 16px;"> <li ><a href="index.php" style="color:black;">Home</a></li> <li ><a href="#" style="color:black;">Blog</a></li> </ol> </div> </section> <section> <div class="container mt-30 mb-30 pt-30 pb-30"> <div class="row blog-posts"> <div class="col-md-12"> <!-- Blog Masonry --> <div id="grid" class="gallery-isotope grid-3 masonry gutter-30 clearfix"> <?php $sql="SELECT * from blog ORDER BY post_date DESC LIMIT 5"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <!-- Blog Item Start --> <div class="gallery-item"> <article class="post clearfix mb-30 bg-lighter"> <div class="entry-header"> <div class="post-thumb thumb"> <img src="admin/upload/<?php echo $row['image'];?>" alt="" class="img-responsive img-fullwidth"> </div> </div> <div class="entry-content border-1px p-20 pr-10" style="background-color: #fffcf5;"> <div class="entry-meta media mt-0 no-bg no-border"> <div class="entry-date media-left text-center flip bg-theme-colored pt-5 pr-15 pb-5 pl-15"> <ul> <!-- <li class="font-16 text-white font-weight-600">28</li> --> <!-- <li class="font-12 text-white text-uppercase">Feb</li> --> </ul> </div> <div class="media-body pl-15"> <div class="event-content pull-left flip"> <h4 class="entry-title text-white text-uppercase m-0 mt-5"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title'];?></a></h4> <span class="mb-10 text-gray-darkgray mr-10 font-13"><i class="fa fa-commenting-o mr-5 text-theme-colored"></i> <?php echo $row['post_date']; ?></span> <span class="mb-10 text-gray-darkgray mr-10 font-13"><i class="fa fa-heart-o mr-5 text-theme-colored"></i> <?php echo $row['post_by']; ?></span> </div> </div> </div> <a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class="btn-read-more" style="color: black ;">Read more</a> <div class="clearfix"></div> </div> </article> </div> <!-- Blog Item End --> <?php } ?> </div> <!-- Blog Masonry --> </div> </div> </div> </section> </div> <!-- Footer --> <?php include('footer.php');?> <a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a> </div> <script src="js/custom.js"></script> </body> </html>