<?
$cnews=mysql_query("SELECT * FROM `news`WHERE `id` > '0' ORDER BY `time` DESC LIMIT 1");if(mysql_num_rows($cnews) == 1){$cnews = mysql_fetch_assoc($cnews);echo '<div class="main"> <b><img src="/ico/news1.png"> '.htmlspecialchars($cnews['name']).'</b> ['.vremya($news ['time']).']<br/>'; echo ''.img(smile(links(bb_code($cnews['message'])))).'';}
?>