<HTML>
<HEAD>
<TITLE></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<? 
include 'cnn.php'; 
include 'functionbb.php';

	$idnoticia = $_GET['id'];
	$PegaNoticia = mssql_query("SELECT Titulo,Data,Noticia,Por,Id,Tipo FROM Noticias WHERE Id='".$idnoticia."'");
	$Exibe = mssql_fetch_row($PegaNoticia);
?>
<style type="text/css">
<!--
body {
	background-color: #CCCCCC;
}
-->
</style></HEAD>
<BODY>
<h2><span class="titulos_page"><font class="titulos_destaque"><strong>
<?=$Exibe[0]?>
</strong></font></span></h2>
<br>

<div id="aviso"> <? print('<div>'.nl2br(bbcode($Exibe[2])).'</div>'); ?></div>
<strong>Postado por:</strong> <font class="titulos_destaque">
<?=$Exibe[3]?>
&nbsp;</font><strong>em</strong> <font class="titulos_destaque">
<?=$Exibe[1]?>
</font><br>
<a href="javascript:history.back(-1);"><br>
Voltar </a>
</BODY>
</HTML>