<?php
#############Новости#############
$maxid = $db -> dbcount('MAX(`id`)','news');
$assoc = $db -> query("SELECT * FROM `news` WHERE `id` = '".$maxid."' LIMIT 1")-> fetch_assoc();
if ($assoc > 0){
echo '<span class="count">'.$func -> vremja($assoc['time']).'</span>';
}
?>