<?php
$_CONF['title']='Наши Гуру';
include '../header/config.inc.php';
include '../header/function.inc.php';
include '../header/header.inc.php';
include '../header/connect.inc.php';
include '../header/click-club.class.php';
If (!isset($_GET['log'])) define("anybody","true");
include '../header/enter.inc.php';
include '../ban.php';
If ($_enter){mysql_query("update `".prefix."users` set `mesto`='Смотрит Наших Гуру', `online`='".time()."' where `id` = '".$_USER['id']."';");}
else {echo '<div class="menuindex"><font color="#FF0000"><b>Вы не авторизированы!</b></font><br/> [ <a href="/enter.php?mode=enter">Войти</a> | <a href="/reg.php">Регистрация</a>]</div>';}
echo '<div class="downsw"><b>Наши Гуру (х2 к кликам)</b></div>';
$view = mysql_query("SELECT * FROM `".prefix."users` WHERE `cfrom` >= 5000 ORDER BY `cfrom` DESC LIMIT 50");
while ($top=mysql_fetch_array($view)){
$user = $top['login'];
$cnt = $top['cfrom'];
$i++;
echo '<div class="menuindex"><b>['.$i.']</b> <a href="/system/info.php?user='.$user.'"><b>'.$user.'</b></a> (<font color=#99FF99><b>'.$cnt.'</font></b> кликов)</div>';
}
include "../header/end.inc.php";
?>