ok

Mini Shell

Direktori : /home/importfo/public_html/aadharclasses.in/
Upload File :
Current File : /home/importfo/public_html/aadharclasses.in/course.php

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

<head>
    <title>Course | Aadhar Classes - Vadodara.</title>
        <?php include('links.php') ?>
        <style>
            .edu-course .thumbnail{
    height:200px !important;
}
.para {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
} 

        </style>
</head>

<body class="sticky-header ">
    

    

    <div id="main-wrapper" class="main-wrapper">
      
        <?php include('header.php') ?>
     
    
        <div class="edu-course-area course-area-1 gap-tb-text">
            <div class="container">
            <!--<h2 class="title1">Online<span class="color-primary">Courses</span></h2>-->

              

                <div class="row g-5">
                   
                    <!-- Start Single Course  -->
                     <?php
                          $sql="SELECT * FROM `parts` order by p_id asc";
                            $res=mysqli_query($db,$sql);
                            while($row=mysqli_fetch_array($res))
                            {
                        ?>
                    <div class="col-md-6 col-lg-4" data-sal-delay="100" data-sal="slide-up" data-sal-duration="800">
                        <div class="edu-course course-style-3 course-box-shadow">
                            <div class="inner">
                                <div class="thumbnail">
                                    <a href="<?php echo $row['status']; ?>">
                                        <img src="admin/upload/<?php echo$row['parts_image']; ?>" alt="Course Meta">
                                    </a>
                                   
                                </div>
                                <div class="content">
                                    <span class="course-level"><?php echo $row['title']; ?></span>
                                    <h5 class="title">
                                        <a href="<?php echo $row['status']; ?>"><?php echo $row['short_desc']; ?></a>
                                    </h5>
                                    <div class="para"><?php echo $row['desc']; ?></div>
                                  
                                    <div class="read-more-btn">
                                        <a class="edu-btn btn-small btn-secondary" href="course_detail.php?slug=<?php echo $row['p_id']; ?>">Read More<i class="icon-4"></i></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                       <?php } ?>
                    <!-- End Single Course  -->
                 
                
                </div>
               
            </div>
        </div>
        
        <!-- Start Footer Area  -->
       <?php include('footer.php') ?>
        <!-- End Footer Area  -->

    </div>

    <?php include('javascript.php') ?>
     <script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>

  <!-- Initialize Swiper -->
  <script>
    var swiper = new Swiper(".mySwiper", {
         slidesPerView: 1,
         loop:true,
      spaceBetween: 30,
      centeredSlides: true,
    //   autoplay: {
    //     delay: 2500,
    //     disableOnInteraction: false,
    //   },
      pagination: {
        el: ".swiper-pagination",
        clickable: true,
      },
      navigation: {
        nextEl: ".swiper-button-next",
        prevEl: ".swiper-button-prev",
      },
       breakpoints: {
        640: {
          slidesPerView: 1,
          spaceBetween: 20,
        },
        768: {
          slidesPerView: 2,
          spaceBetween: 40,
        },
        1024: {
          slidesPerView: 3,
          spaceBetween: 50,
        },
      },
    });
  </script>
</body>


</html>

Zerion Mini Shell 1.0