ok
Direktori : /home/importfo/public_html/sparshphysio21.in/ |
Current File : /home/importfo/public_html/sparshphysio21.in/blog_detail.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html dir="ltr" lang="en"> <!-- Mirrored from kodesolution.com/html/2016/health-zone-html/demo/index-physiotherapy-mp-layout1.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 18 Aug 2023 06:32:08 GMT --> <?php include 'top.php' ?> <body class=""> <div id="wrapper"> <!-- preloader --> <?php include 'header.php' ?> <!-- Start main-content --> <div class="main-content"> <!-- Section: inner-header --> <section class="inner-header divider" data-parallax-ratio="0.7" data-bg-img="images/physiotherapy/bg/ab.jpg"> <div class="container pt-100 pb-50"> <!-- Section Content --> <div class="section-content pt"> <div class="row"> <div class="col-md-12"> <h3 class="title text-white">Blog Detail</h3> </div> </div> </div> </div> </section> <br/> <div id="single-blog-page" class="wide-100 blog-page-section division"> <div class="container"> <div class="row"> <!-- SINGLE POST --> <div class="col-lg-8"> <div class="single-blog-post pr-30"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="SELECT * from blog where id='$slug' " ; $res=mysqli_query($db,$sql); $row=mysqli_fetch_array($res); $post_date=$row['post_date']; $post_by=$row['post_by']; $image=$row['image']; $post_desc=$row['post_desc']; ?> <!-- BLOG POST IMAGE --> <div class="blog-post-img mb-40"> <img src="admin/upload/<?php echo $row['image']; ?>" class="img-fluid img-featured" alt="Epic Egg Salad" title=""/> </div> <!-- BLOG POST TEXT --> <div class="sblog-post-txt" style="text-align:justify;"> <!-- Post Title --> <h2 class=""><?php echo $row['title'];?></h2> <!-- Post Text --> <p style="text-align:justify;"> <?php echo $row['post_desc']; ?> </p> <!-- Text --> <!-- BLOG POST SHARE LINKS --> <div class="post-share-links"> </div> <!-- END BLOG POST SHARE --> </div> <!-- END BLOG POST TEXT --> <!-- RELATED POSTS --> <div class="related-posts"> <!-- Title --> <div class="row"> <!-- BLOG POST #1 --> <div class="col-md-6"> <div class="blog-post"> <!-- BLOG POST IMAGE --> <!-- BLOG POST TEXT --> </div> </div> <!-- END BLOG POST #1 --> <!-- BLOG POST #2 --> <div class="col-md-6"> </div> <!-- END BLOG POST #2 --> </div> <!-- End row --> </div> <!-- END RELATED POSTS --> </div> </div> <!-- END SINGLE POST --> <!-- SIDEBAR --> <aside id="sidebar" class="col-lg-4"> <!-- BLOG CATEGORIES --> <!-- POPULAR POSTS --> <div class="popular-posts sidebar-div mb-50"> <!-- Title --> <h3 class="h5-sm steelblue-color">Recent Posts</h3> <?php $sql="SELECT * from blog order by post_date DESC,id LIMIT 3"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <ul class="popular-posts"> <a href="blog_detail.php?slug=<?php echo $row['id']; ?>"> <img src="admin/upload/<?php echo $row['image']; ?>" style="height:150px;width:200px" class="img-fluid img-featured" alt="Epic Egg Salad" title="" /> </a> <!-- Popular post #1 --> <a href="blog_detail.php?slug=<?php echo $row['id']; ?>"> <li class=""> <h4> <?php echo $row['title']; ?></h4></li></a> <!-- Image --> <!-- Text --> </li> </ul> <?php }?> </div> </aside> <!-- END SIDEBAR --> </div> </div> </div> </div> <!-- End row --> </div> <!-- End container --> </div> <!-- END BLOG PAGE CONTENT --> </div> </div> <!-- end main-content --> <?php include 'footer.php' ?> <a class="scrollToTop" href="#"><i class="fa fa-angle-up"></i></a> </div> <!-- end wrapper --> <!-- Footer Scripts --> <!-- JS | Custom script for all pages --> <script src="js/custom.js"></script> </body> <!-- Mirrored from kodesolution.com/html/2016/health-zone-html/demo/blog-grid-2-column.html by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 18 Aug 2023 06:40:23 GMT --> </html>