<?php
$msq = mysql_query("
SELECT *
FROM `news`");
$mtot = mysql_num_rows($msq)-1;
$btot = mysql_num_rows($msq);
$psql = mysql_query("
SELECT *
FROM `news`
LIMIT $mtot,$btot");
if($mtot >= 0)
{
$lastn = mysql_fetch_assoc($psql);
echo '<pre><b>['.$lastn['date'].' '.$lastn['time'].']</b> '.$lastn['new'].'</pre>';
}
else
{
echo LNG_NO_NEWS;
}