ok
Direktori : /home/importfo/www/synergymedicarehospital.co.in/ |
Current File : /home/importfo/www/synergymedicarehospital.co.in/blog_detail.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html lang="en"> <!-- Mirrored from 7oroof.com/demos/medcity/blog-single-post.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 27 Feb 2024 04:20:15 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 Detail</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 Detail</li> </ol> </nav> </div><!-- /.col-12 --> </div><!-- /.row --> </div><!-- /.container --> </section><!-- /.page-title --> <br/> <br/> <!-- ====================== Blog Single ========================= --> <section class="blog blog-single pt-0 pb-80"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-12 col-lg-8"> <div class="post-item mb-0"> <?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']; ?> <div class="post__img"> <a href="#"> <img src="admin/upload/<?php echo $row['image']; ?>" alt="post image" loading="lazy"> </a> </div><!-- /.post-img --> <div class="post__body pb-0"> <div class="post__meta-cat"> <a href="#"><?php echo $row['post_date'];?></a> </div><!-- /.blog-meta-cat --> <h4> <?php echo $row['title'];?> </h4> <div class="post__desc" style="text-align:justify;"> <p style="text-align: justify;"><?php echo $row['post_desc'];?></p> </div><!-- /.blog-desc --> </div> </div><!-- /.post-item --> </div><!-- /.col-lg-8 --> <div class="col-sm-12 col-md-12 col-lg-4"> <aside class="sidebar"> <div class="widget widget-posts"> <h5 class="widget__title">Recent Posts</h5> <div class="widget__content"> <?php $sql="SELECT * from blog"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <!-- post item #1 --> <div class="widget-post-item d-flex align-items-center"> <div class="widget-post__img"> <a href="#"><img src="assets/images/blog/grid/2.jpg" alt="thumb"></a> </div><!-- /.widget-post-img --> <div class="widget-post__content"> <span class="widget-post__date">Sep 19, 2022</span> <h4 class="widget-post__title"><a href="#">Succession Risks That Threaten Your Leadership</a> </h4> </div><!-- /.widget-post-content --> </div><!-- /.widget-post-item --> <?php }?> </div><!-- /.widget-content --> </div><!-- /.widget-posts --> </aside><!-- /.sidebar --> </div><!-- /.col-lg-4 --> </div><!-- /.row --> </div><!-- /.container --> </section><!-- /.blog Single --> <?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-single-post.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 27 Feb 2024 04:20:16 GMT --> </html>