<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
body {
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color:  #006699;
	scrollbar-track-color: #EFEFEF;
	scrollbar-darkshadow-color: #98AAB1;
}
.link {
	color: #006699;
	text-decoration: none;
}
-->
</style>

</head>

<body>
<h2><strong>Todas noticias</strong>: <br>
  </h2>
<form action="" method="post" name="form1" id="form1">
  <table width="96%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td bgcolor="#93BC0C"><strong><font color="#FFFFFF">Titulo</font></strong></td>
      <td bgcolor="#93BC0C"><strong><font color="#FFFFFF">Data</font></strong></td>
    </tr>
    <?
  $Query = mssql_query("select data,tipo,titulo,id from noticias order by id desc");
  for($i=0;$i<mssql_num_rows($Query);$i++) {
  $Array=mssql_fetch_row($Query);
  ?>
    <tr>
      <td width="57%" bgcolor="#EFEFEF"><font size="1"><a href="index.php?go=noticia&amp;id=<?=$Array[3]?>"> [
              <?=$Array[1]?>
        ]
        <?=$Array[2]?>
      </a></font></td>
      <td width="43%" bgcolor="#EFEFEF"><font size="1">
        <?=$Array[0]?>
        </font>
          <? } ?></td>
    </tr>
  </table>
<br>
<a href="javascript:history.back(-1);">&lt;&lt; Voltar </a>
</form>
</body>
</html>