<!---------   
=== Theme Author : Evan Ahmed EMon
=== Theme Designed By: TWG
=== Contact Whatsapp: +8801864614704
 ----------->  


<div class="col-md-8">
    
<ul class="nav nav-tabs">
    <li class="p-b">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modalDiv" data-action="new_news">Add New Announcement</button>        
 </li>
  </ul>
<div style="overflow-x:scroll;">
   <table class="table report-table">
      <thead>
         <tr>
            <th><div style="float:left;">Announcement Icon</div></th>
            <th>Announcement Title</th>
            <th>Announcement Date</th>
            <th></th>
         </tr>
      </thead>
      <tbody>
         <?php foreach($newsList as $new): ?>
         <tr>
<td><div style="float:left;"><img src="<?php echo GET_IMAGE_URL_BY_ID($new["news_icon"]);?>" width="32" height="32"></div></td>
     <td><?=$new["news_title"]?></td>
  
  <td><?=$new["news_date"]?></td>
  
            <td class="text-right col-md-1">
              <div class="dropdown pull-right">
             
<button type="button" class="btn btn-default btn-xs pull-right" data-toggle="modal" data-target="#modalDiv" data-action="edit_news" data-id="<?=$new['id']?>">Edit</button>         

</div>
            </td>
         </tr>
         <?php endforeach; ?>
      </tbody>
   </table></div>
</div>