<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>
                <th>বিস্তারিত</th>
              </tr>
            </thead>
            <tbody>


              
             <?php
							  $i=1;
							  
								$this->db->order_by("date", "desc");
								$query2 = $this->main_model->bnoticeboard();
								foreach($query2 as $row2):
							  ?>
                 <?php  $fnames=$row2['date']; 
				 $fs=explode(" ",$fnames);
				 $fname=$fs[0];
				?>
				<?php $f=explode("-",$fname); ?>               
              

              <tr style="font-size: 12px;">
                <td><?php echo $i; ?></td>
                <td><a href="<?php echo site_url('home/bnoticedetails/'.$row2['id']); ?>" style="text-decoration: none;color: black"><?php echo $row2['notice_headline']; ?></a></td>
                <td><a href="<?php echo site_url('home/bnoticedetails/'.$row2['id']); ?>" style="text-decoration: none;color: black"><?php echo $f[2].'-'.$f[1].'-'.$f[0]; ?></a></td>
                <td align="middle">
                             <a href="<?php echo site_url('home/bnoticedetails/'.$row2['id']); ?>" alt="<?php echo $row2['notice_headline']; ?>" title="<?php echo $row2['notice_headline']; ?>"> [  বিস্তারিত ] </a>   </td>
              </tr>
<?php $i=$i+1; ?>
                             <?php endforeach; ?>

              
              

             


                            

             
          </table>

        </div>

      </li>

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





</div>
</div>