ok
Direktori : /home/importfo/public_html/toothstudio.in/ |
Current File : /home/importfo/public_html/toothstudio.in/blog.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <?php include('top.php');?> </head> <body class=""> <div id="wrapper" class="clearfix"> <!-- preloader --> <!-- Header --> <?php include('header.php');?> <!-- Start main-content --> <div class="main-content"> <!-- Section: inner-header --> <section class="inner-header divider parallax layer-overlay overlay-white-8" data-bg-img="images/banner.jpg"> <div class="container pt-60 pb-60"> <!-- Section Content --> <div class="section-content"> <div class="row"> <div class="col-md-12 text-center"> <h2 class="title" style="color:white">Blog</h2> <ol class="breadcrumb text-center text-black mt-10"> <li><a href="index.php" style="color:white">Home</a></li> <li><a style="color:white">Bolg</a></li> </ol> </div> </div> </div> </div> </section> <section> <div class="container"> <div class="row multi-row-clearfix"> <?php $sql="SELECT * from blog "; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <div class="blog-posts"> <div class="col-md-6"> <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"> <div class="entry-meta media mt-0 no-bg no-border"> <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-calendar 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="mr-5 text-theme-colored">by : </i><?php echo $row['post_by']; ?></span> </div> </div> </div> <!-- <p class="mt-10">Lorem ipsum dolor sit amet, consectetur adipisi cing elit. Molestias eius illum libero dolor nobis deleniti, sint assumenda. Pariatur iste veritatis excepturi, ipsa optio nobis.</p> --> <!-- <a href="#" class="btn-read-more">Read more</a> --> <div class="clearfix"></div> </div> </article> </div> </div> <?php } ?> </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>