<section class="sptb " id="certifications" style="background-color: #ddd;">
    <div class="container">
        <div class="row">
            <div class="section-title">
                <h2><?php echo $heading['title']; ?></h2>
                <p class="fs-22 lead"><?php echo $heading['sub_title']; ?></p>
            </div>
            <div id="defaultCarousel" class="owl-carousel Card-owlcarousel owl-carousel-icons">
                <?php
                $all_course_certification =  json_decode($course->course_course_certification, true);
                foreach ($all_course_certification as $key => $course_certification):
                    $this->db->where('cr_id', $course_certification);
                    $imageData = $this->db->get('course_resource')->row();
                ?>
                    <div class="item">
                        <img src="<?php echo base_url() ?><?php echo $imageData->cr_image; ?>" alt="<?php echo $imageData->cr_name; ?>">
                    </div>
                <?php endforeach; ?>

            </div>
        </div>
        <?php include 'button.php'; ?>
    </div>
</section>