|
<?php
if($_SERVER ['PHP_SELF' ] != '/index.php' ) {
echo '<div class="podmenu">
<a href="' .$HOME .'">На Главную</a></div>' ;
}
$foot_var1 = mysql_result (mysql_query("SELECT COUNT(*) FROM `users` WHERE `viz` > '".(time ()-13000)."'"),0);
$foot_var2 = mysql_result (mysql_query("SELECT COUNT(*) FROM `users`" ),0);
echo '<div class="podmenu">Онлайн:
<span class="foot_l"><a href="/online.php">'.strong($foot_var1).'</a></span>';
echo '</div>';
echo '<div class="title">';
usleep(mt_rand(100, 10000));
$time = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"];
$users = mysql_query("SELECT * FROM users ORDER BY id DESC LIMIT 1" );
while( $a = mysql_fetch_assoc ( $users ))
{
echo' Новичек :' . nick ($a ['id' ]). '' ;
}
echo"<br>";
echo "Gen ".round($time, 3)." секунд\n";
echo"<br>";
echo '© <b>King-Top.RU - 2018</b>' ;
echo '</div>';
##Счетчики
echo '<center>';
if($_SERVER['REQUEST_URI'] == '/')
echo $sql['counter'];
else
echo $sql['counter_all'];
echo '</center>';
echo '</body></html>';
?>