<div align="center">

 <table width="450" border="0">

   <tr>

     <td width=50>&nbsp;</td>

     <td>

     <table width=400 height="0" align="left" class="cant_cinza">

    <tr bgcolor="#000000"> 

                      <td height="21" colspan="2" bgcolor="#FFFFFF"> <div align="center" class="style1">

                        <img src="mensagem_aviso.png" width="400" height="100">

                      </div>                        </td>

                    </tr>

                    <tr bgcolor="#000000"> 

                      <td width=22% height="21" bgcolor="#003366"> <div align="center" class="style1">

                       <font color="#FFFFFF">TOTAL</font>

                      </div></td>

                      <td width=78% bgcolor="#003366"><div align="center" class="style1"><font font color=#FFFFFF>SITUA&Ccedil;&Atilde;O DA MENSAGEM</font></div></td>

    </tr>

                    <?

      

	  $SQL="select count(id) as total from mensagem where lida='n'";

	  $R=mysqli_query($conexao,$SQL);

	  $L=mysqli_fetch_array($R);

	  $quantidade2 = $L['total'];	      

      print 

	  "<tr>

	     <td width=33% bgcolor=\"#FFFFFF\"><font><font size='2'><div align='right'>$quantidade2&nbsp;&nbsp;&nbsp;&nbsp;</div></font></td>

		<td width=67% bgcolor=\"#FFFFFF\"><font><font size='2'>&nbsp;&nbsp;Sem Ler</font></td>		

	  </tr>";

      

	  $SQL="select count(id) as total from mensagem where lida='s'";

	  $R=mysqli_query($conexao,$SQL);

	  $L=mysqli_fetch_array($R);

	  $quantidade2 = $L['total'];	      

      print 

	  "<tr>

        <td width=33% bgcolor=\"#bbc3d3\"><font><font size='2'><div align='right'>$quantidade2&nbsp;&nbsp;&nbsp;&nbsp;</div></font></td>

		<td width=67% bgcolor=\"#bbc3d3\"><font><font size='2'>&nbsp;&nbsp;Lida(s)</font></td>	

	  </tr>";



?>

                  <tr bgcolor="#000000"> 

                      <td height="21" colspan="2" bgcolor="#FFFFFF" class="texto">&nbsp;</td>

    </tr>

                  <tr bgcolor="#000000"> 

                    <td height="21" colspan="2" bgcolor="#FFFFFF" class="texto">

                        <div align="center"><a href="lista_mensagens.php"><img src="lermsg.png" width="46" height="46" border="0" align="absmiddle"></a>ACESSAR A LISTA DE MENSAGENS</div>

                                              </td>

    </tr>

</table>

</td>

   </tr>

 </table>

 </div>