View file news/count.php
<?php //выводит дату последней новости $cdata=@mysql_fetch_array(mysql_query("SELECT `time` FROM `news` ORDER BY `time` DESC LIMIT 1;")); $count='['.date('d '.rumonth($cdata[time]).' Y',$cdata[time]).']'; ?>
<?php //выводит дату последней новости $cdata=@mysql_fetch_array(mysql_query("SELECT `time` FROM `news` ORDER BY `time` DESC LIMIT 1;")); $count='['.date('d '.rumonth($cdata[time]).' Y',$cdata[time]).']'; ?>