<?php if(count($announcements)){ ?>
<table width='100%' border='0' cellpadding='0' cellspacing='0'>    
     <tr>
          <td>
          <table width='100%' border='0' cellspacing='0' cellpadding='0'>
              <tr>
                <td height='22' colspan='2' class='accountlabPlanDataHTD'>
                &nbsp;&nbsp;<?php echo $BL->props->lang['~announce']; ?>
                </td>
              </tr>
              <tr>
                <td height='10' colspan='2'>
                <table width="100%" align="center" class="accountlabFormTABLE">
                  <tr>
                <?php  foreach($announcements as $announcement){?>
                    <tr>
                    <td class='accountlabDataTD'>
                    <a name='<?php echo $announcement['ann_id']; ?>'></a><b><?php echo $announcement['an_title']; ?></b><br><?php echo $announcement['an_body']; ?><br><br>
                    </td>
                    </tr>
                <?php } ?>
                </table>
                </td>
              </tr>
        </table>
        </td>
    </tr>
</table>
<?php } ?>