View file news.php

File size: 375B
<?php
include_once('inc/top.php');
echo '<b>'.LNG_NEWS.'</b><div class="nt"></div>';
$nsql = mysql_query("
	SELECT *
	FROM `news`");
if(!$nsql)
{
	echo '<div class="error">Error:'.mysql_error().'</div>';
}
else
{
	while($n = mysql_fetch_assoc($nsql))
	{
		echo '<b>['.$n['date'].' '.$n['time'].']</b> '.$n['new'].'<div class="nt"></div>';
	}
}
include_once('inc/bottom.php');