<div class="container">
  <div class="col-sm-12 col-12" id="mainpage">


   <div class="col-sm-12 col-12 p-0"  data-aos="fade-in" data-aos-duration="2000" >
    <ul class="list-group p-0">
      <li class="list-group-item font-weight-bold bg-success text-light" id="about">প্রাক্তন প্র্রধান শিক্ষকদের তালিকা</li>
      <li class="list-group-item">

        <div class="table table-responsive">
          <table id="example" class="display table-bordered" style="width:99.7%">
            <thead>
              <tr style="font-size: 15px;">
                <th>ক্রমিক</th>
                <th>নাম</th>
                <th>সময়কাল</th>
               
              </tr>
            </thead>
            <tbody>


              
             <?php
							  $i=1;
							  
								$this->db->order_by("id", "desc");
								$query2 = $this->main_model->headteacher();
								foreach($query2 as $row2):
							  ?>
                            
              

              <tr style="font-size: 12px;">
                <td><?php echo $i; ?></td>
                <td><?php echo $row2['htname']; ?></td>
                <td><?php echo $row2['httime']; ?></td>
				</tr>
<?php $i=$i+1; ?>
                             <?php endforeach; ?>

              
              

             


                            

             
          </table>

        </div>

      </li>

    </ul>
  </div>
</div>





</div>
</div>