<? 
include 'functionbb.php';
include 'cnn.php';

$idnoticia = $_GET['id'];
$PegaNoticia = mssql_query("SELECT Titulo,Data,Noticia,Por,Id,Tipo FROM Noticias WHERE Id='".$idnoticia."'");
$Exibe = mssql_fetch_row($PegaNoticia);
?>
<h1><?=$Exibe[5]?> - <?=$Exibe[0]?></h1>
<div class="quadros">
<? print('<div>'.nl2br(bbcode($Exibe[2])).'</div>'); ?>
<br />
Adicionada em: <strong><?=$Exibe[1]?></strong> por: <strong><?=$Exibe[3]?></strong>
<br />
<a href="javascript:history.back(-1);"><strong>Voltar</strong></a>
</div>