View file web/bottom.php

File size: 900B
</div>
<table class="bottom" cellspacing="0" cellpadding="0">
<tr>
<td>
&nbsp;
&nbsp;
&nbsp;
&nbsp;
<? echo "<a href='/users.php'>Всего пользователей: ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user`"), 0)."</a><br />\n"; ?>
</td>
<td>
<? echo "<a href='/online.php'>Сейчас на сайте: ".mysql_result(mysql_query("SELECT COUNT(*) FROM `user` WHERE `date_last` > ".(time()-600).""), 0)."</a>"; ?>
</td>
<td>
<? echo "<a href='/online_g.php'>Гостей на сайте: ".mysql_result(mysql_query("SELECT COUNT(*) FROM `guests` WHERE `date_last` > ".(time()-600)." AND `pereh` > '0'"), 0)."</a><br />\n"; ?>
</td>

<td>
<?
list($msec, $sec) = explode(chr(32), microtime());
if (isset($user) && $user['level']!=0) echo "Генерация страницы: ".round(($sec + $msec) - $conf['headtime'], 3)." сек<br />\n";

?>
</td>
</table>