<div class="container bg-white mt-3 mb-3 pt-3 pb-3">
    <div class="row">
        <div class="col-sm-12">
            
            <div class="table-responsive">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th>Course</th>
                            <th>Opening Due Students</th>
                        </tr>
                    </thead>
                        <tbody>
                            <?php
                                                    $table='courses';
                        $all_courses=$this->WelcomeModel->get_data($table);
                        if($all_courses){
                            foreach($all_courses as $courses){
                                $course_id=$courses['id'];
                         ?>
                         <tr>
                         <td><?php echo $courses['course'];
                         if($courses['subject_stream'] !=''){
                         echo " ("; echo $courses['subject_stream']; echo ")";
                         }
                         ?>
                         
                         </td>
                         <td></td>
                         </tr>
                         <?php 
                            }
                        }
                            ?>
                        
                    </tbody>
                </table>
            </div>
            
        </div>
    </div>
</div>