File size: 1.42Kb
<div class='main' style='text-align: center;padding:6px;'>
<table><tr>
<td width='33%'><div class='nav1'><a href='/chat'><img width='55px' height='55px' src='/style/img/w128h1281385326539chat.png'><br>Чат</a> <?include_once 'chat/count.php';?></div></td>
<td width='33%'><div class='nav1'><a href='/apps'><img width='55px' height='55px' src='/style/img/w128h1281385326559gamecontroller.png'><br>Развлечения</a> <?include_once 'apps/count.php';?></div></td>
<td width='33%'><div class='nav1'><a href='/service'><img width='55px' height='55px' src='/style/img/w128h1281385326592toolbox.png'><br>Сервисы</a></div></td>
</tr></table>
</div>
<div class='main' style='text-align: center;padding:6px;'>
<table><tr>
<?
$koll = mysql_result(mysql_query("SELECT COUNT(*) FROM `user`",$db), 0);
$k_new = mysql_result(mysql_query("SELECT COUNT(*) FROM `user` where `date_reg` > '$ftime' ",$db), 0);
if ($_new > 0) $k_new = '<font color="red">+' . $k_new . '</font>'; else $k_new = null;
?>
<td width='33%'><a href='/user'><div class='nav1'><img width='55px' height='55px' src='/style/img/w128h1281385326580profle.png'><br>Обитатели</a> <?echo '(' . $koll . ') ' . $k_new;?></div></td>
<td width='33%'><div class='nav1'><a href='/user/top.php'><img width='55px' height='55px' src='/style/img/w128h1281385326592trophy.png'><br>Топ обитателей</a></div></td>
</tr></table>
</div>