<style>
/*body{background:#68b5b5;}*/
@media screen and (max-width: 767px){
/*.breadcrumb .breadcrumb-item{font-size:7px ;}*/
}    
</style>
<div class="container mb-3 pt-3 pb-3 bg-white student-portal" >
    <div class="row">
        <div class="col-sm-12">
            <ul class="breadcrumb">
                <li class="breadcrumb-item">
                    <a href="<?php echo base_url();?>Home"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house-fill" viewBox="0 0 16 16"><path fill-rule="evenodd" d="m8 3.293 6 6V13.5a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 2 13.5V9.293l6-6zm5-.793V6l-2-2V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5z"/><path fill-rule="evenodd" d="M7.293 1.5a1 1 0 0 1 1.414 0l6.647 6.646a.5.5 0 0 1-.708.708L8 2.207 1.354 8.854a.5.5 0 1 1-.708-.708L7.293 1.5z"/></svg>
                    </a>
                </li>
                <!--<li class="breadcrumb-item"><b><?php echo $this->session->userdata('student_name');?></b></li>-->
                <!--<li class="breadcrumb-item"><b>Class : <?php echo $this->session->userdata('class'); echo "-"; echo $this->session->userdata('section');?></b></li>-->
                <!--<li class="breadcrumb-item"><b><?php echo date('d-M-Y , h-i-s');?></b></li>-->
                <li class="breadcrumb-item"><b>My Teachers</b></li>
            </ul>    
            <div  class="my-subjects table-responsive">
                <table class="table table-striped table-bordered">    
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>Teacher</th>    
                            <th>Subject</th>    
                        </tr>    
                    </thead>
                    <tbody>
                        <?php
                        $staff_table='school_staff';
                        $count=0;
                        $my_teachers_data=$this->FrontModel->get_data($staff_table);
                        if($my_teachers_data){
                            foreach($my_teachers_data as $teachers){
                                if($teachers['staff_category'] == "teaching-staff"){
                                    $count=$count + 1;
                        ?>
                        <tr>
                            <td><?php echo $count;?></td>
                            <td><?php echo $teachers['salutation']; echo " ";echo $teachers['name'];?></td>
                            <td></td>
                        </tr>
                        <?php
                                }
                            }
                        }
                        ?>
                        <?php
                        
                        ?>
                    </tbody>
                </table>
            </div>    
        </div>    
    </div>
</div>