<section class="sptb hire-partner bg-white" id="hiring">
    <div class="container">
        <div class="row">
            <div class="section-title text-center">
                <h2 class=""><?php echo $heading['title']; ?></h2>
                <p class="fs-22 lead"><?php echo $heading['sub_title']; ?></p>
            </div>
        </div>
        <div class="col-sm-12">
            <div class="row">
                <?php
                $all_course_hiring_partner =  json_decode($course->course_hiring_partner, true);
                foreach ($all_course_hiring_partner as $key => $hiring_partner):
                    $this->db->where('cr_id', $hiring_partner);
                    $imageData = $this->db->get('course_resource')->row();
                ?>
                    <div class="col-sm-3 col-6">
                        <div class="image-border">
                            <img src="<?php echo base_url() ?><?php echo $imageData->cr_image; ?>" alt="<?php echo $imageData->cr_name; ?>">
                        </div>
                    </div>
                <?php endforeach; ?>
            </div>
        </div>
    </div>
</section>