ok

Mini Shell

Direktori : /home/importfo/public_html/kridhaphysiocare.in/
Upload File :
Current File : //home/importfo/public_html/kridhaphysiocare.in/blog_detail.php

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

<!DOCTYPE html>
<html>

<!-- Mirrored from fatiherim.com/physiotherapypro/blog-post.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 08 Jan 2024 04:55:20 GMT -->
<?php include 'top.php' ?>
<body>

<?php include 'header.php' ?>

<section id="section-title" class="bg-alternative">
<div id="top-img-bg">
<h1 class="text-center" style="color: black;">Blog Detail</h1>
</div>
</section>


<section id="blog-post">

<div class="container">
<div class="row">
	   <?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'];
                            ?>

<article class="col-sm-8 col-xs-12">
<div class="vs-30"><hr/></div>
<div class="row">
<div class="col-xs-12">

<div class="blog-post-main-img">
<img src="admin/upload/<?php echo $row['image']; ?>" class="img-responsive " />
</div> 
<div class="blog-post-wrap">

<h1 class="blog-post-title">
<?php echo $row['title']; ?></h1>
<div class="vs-30"></div>
<div class="blog-post-content">
<p text-align="justify">
                       <?php echo $row['post_desc']; ?>

</p>
</div>
<div class="vs-60"></div>


<div class="vs-30"></div>


<div class="vs-30"></div>


</div>
</div>
</div>
</article> 

<aside class="col-sm-4 col-xs-12">



<div class="row">
<div class="col-xs-12">
<h3 class="blog-post-aside-title">Latest Blogs</h3>
<ul class="blog-post-aside-posts">

                  <?php
                            $sql="SELECT * from blog";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>
<li class="blog-post-aside-post">
<div class="aside-post-img-link">
<a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><img src="admin/upload/<?php echo $row['image']; ?>" style="height: 60px; width: 60px;" /></a>
</div>
<div class="aside-post-link-details">
<ul>
<li><h5 class="post-name"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></a></h5></li>
<li><p class="post-details"><i class="fa fa-calendar-o"></i> <?php echo $row['post_by']; ?></p></li>
</ul>
</div>
</li>
<?php }?>
</ul>
</div>
</div>


</aside>
</div>
</div> 
</section> 



<?php include 'footer.php' ?>

<script data-cfasync="false" src="../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="../../ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="../../maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

<script src="assets/js/external/jquery.backstretch.min.js"></script>
<script src="assets/js/external/jquery.countTo.js"></script>
<script src="assets/js/external/jquery.easing.1.3.js"></script>
<script src="assets/js/external/jquery.mb.YTPlayer.js"></script>
<script src="assets/js/external/waypoints.min.js"></script>
<script src="assets/js/external/jquery.bxslider.min.js"></script>
<script src="assets/js/external/slick.min.js"></script>
<script src="../../code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="assets/js/external/lightbox-2.6.min.js"></script>

<script src="assets/js/project/script.js"></script>
</body>

<!-- Mirrored from fatiherim.com/physiotherapypro/blog-post.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 08 Jan 2024 04:55:20 GMT -->
</html>

Zerion Mini Shell 1.0