ok

Mini Shell

Direktori : /home/importfo/public_html/apexorthopedicandeyehospital.com/
Upload File :
Current File : /home/importfo/public_html/apexorthopedicandeyehospital.com/blog_detail.php

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

<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from jituchauhan.com/site-templates/medical-website-template/01_orthopaedic/blog-listing.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 24 Apr 2024 10:52:55 GMT -->
<?php include 'top.php' ?>
<body>
<?php include 'header.php' ?>
    <!-- /.header-wrapper -->
    <div class="page-header">
        <!-- page-header -->
        <div class="container">
            <div class="page-section">
                <div class="row">
                    <!-- page section -->
                    <div class="col-md-6 col-sm-8 col-xs-12">
                        <div class="page-description">
                            <!-- page description -->
                            <h1 class="page-title">Blog Detail</h1>
                        </div>
                        <!-- /.page description -->
                    </div>
                    <!-- /.page section -->
                </div>
            </div>
        </div>
    </div>
    <div class="page-breadcrumb">
        <!-- page-breadcrumb -->
        <div class="container">
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <ol class="breadcrumb">
                        <li><a href="index.php">Home</a></li>
                        <li class="active">Blog Detail</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
                    <div class="content-area">
                        <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'];
                            ?>
                            <div class="col-lg-12 col-md-12 col-sm-6 col-xs-12">
                                <div class="post-block">
                                    
                                    <div class="post-img">
                                        <a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class=""><img src="admin/upload/<?php echo $row['image']; ?>" class="img-responsive" alt="Practice - Orthopaedic Surgeon Website Template"></a>
                                    </div>
                                    <div class="post-content">
                                        <h1 class="post-title"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class="title"><?php echo $row['title']; ?></a></h1>
                                     
                                        <p style="text-align: justify;"><?php echo $row['post_desc']; ?></p>
                                         </div>
                                </div>
                            </div>
                        
                   
                        
                        </div>
                    </div>
                </div>
                <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
                    <div class="sidebar">
                        <!-- sidebar-area -->
                        <div class="row">
                          
                     
                            <div class="col-md-12">
                                <div class="widget widget-recent-post">
                                    <h3 class="widget-title mb30">Latest News & Blogs</h3>
                                    <ul class="listnone">
                                         <?php
                            $sql="SELECT * from blog";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>  
                                        <li>
                                            <div class="recent-block mb20">
                                                <div class="row">
                                                    <div class="col-md-12 col-sm-6 col-xs-12">
                                                    <div class="meta-box">
                                        <p class="meta-date"><?php echo $row ['post_date']; ?></p>
                                    </div>
                                                        <a class=""><img src="admin/upload/<?php echo $row['image']; ?>" alt="" class="img-responsive"></a>
                                                 
                                                    
                                                        <h4 class="recent-title"><a href="blog_detail.php?slug=<?php echo $row['id']; ?>" class="title"><?php echo $row ['title']; ?></a></h4>
                                                    </div>
                                                </div>
                                            </div>
                                        </li>
                                      <?php }?>
                                    </ul>
                                </div>
                            </div>
                     
                        </div>
                    </div>
                    <!-- /.sidebar-area -->
                </div>
            </div>
        </div>
    </div>
  <?php include 'footer.php' ?>
    <div class="modal fade search-modal" tabindex="-1" role="dialog" style="display: none;">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="input-group">
                            <input type="text" class="form-control" placeholder="Search for...">
                            <span class="input-group-btn">
                        <button class="btn btn-default" type="button">Go!</button>
                         </span>
                        </div>
                        <!-- /input-group -->
                    </div>
                    <!-- /.col-lg-6 -->
                </div>
            </div>
        </div>
    </div>
    <!-- /.tiny_footer -->
    <!-- back to top icon -->
    <a href="#0" class="cd-top" title="Go to top">Top</a>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    <script src="js/menumaker.min.js"></script>
    <script type="text/javascript" src="js/navigation.js"></script>
    <script type="text/javascript" src="js/owl.carousel.min.js"></script>
    <script type="text/javascript" src="js/blog-carousel.js"></script>
    <!-- Back to top script -->
    <script src="js/back-to-top.js" type="text/javascript"></script>
</body>


<!-- Mirrored from jituchauhan.com/site-templates/medical-website-template/01_orthopaedic/blog-listing.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 24 Apr 2024 10:52:59 GMT -->
</html>

Zerion Mini Shell 1.0