ok

Mini Shell

Direktori : /home/importfo/www/aadharclasses.in/
Upload File :
Current File : /home/importfo/www/aadharclasses.in/course_detail.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">Course 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="course.php">Course</a></li>
                        <li class="separator"><i class="icon-angle-right"></i></li>
                        <li class="breadcrumb-item active" aria-current="page">Course Details</li>
                    </ul>
                </div>
            </div>
        </div>

        <!--=====================================-->
        <!--=       Blog Details Area Start     =-->
        <!--=====================================-->
         <?php 
                            if(isset($_GET['slug']))
                            {
                              $slug=$_GET['slug'];
                            }
                            else
                            {
                              $slug=0;
                            }
                           $sql="select * from parts where p_id='$slug'";
                            $res=mysqli_query($db,$sql);
                            $row=mysqli_fetch_array($res);
                            $img=$row['parts_image'];
                            $short_desc=$row['short_desc'];
                            $desc=$row['desc'];
                            $link=$row['status'];
                            $title=$row['title'];
                            ?>
        <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">
                                
                                <h3 class="title"><?php echo $short_desc; ?></h3>
                              
                                <div class="thumbnail">
                                    <img src="admin/upload/<?php echo $img; ?>"  alt="Blog Image" style="width:60%; text-align:center">
                                </div>
                            </div>
                            <p><?php echo $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">All Courses</h4>
                                    <div class="content latest-post-list">
                                        
                                         <?php
                                                          $sql="SELECT * FROM `parts` WHERE p_id";
                                                            $res=mysqli_query($db,$sql);
                                                            while($row=mysqli_fetch_array($res))
                                                            {
                                                        ?>
                                        <div class="latest-post">
                                            <!--<div class="thumbnail">-->
                                            <!--    <a href="course_detail.php?slug=<?php echo $row['p_id']; ?>">-->
                                            <!--        <img src="admin/upload/<?php echo$row['image']; ?>" alt="Blog Images">-->
                                            <!--    </a>-->
                                            <!--</div>-->
                                            <div class="post-content">
                                                <h6 class="title"><a href="course_detail.php?slug=<?php echo $row['p_id']; ?>"><?php echo $row['short_desc']; ?></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