Поисковые боты

drew

Пользователь
#62
Что бы потом не возникло ни у кого вопросов, почему на новой ревизии у меня не работает... найти и удалить.
PHP:
u.ignore_srv_load,
 

vitalix

Пользователь
#63
drew,
пока горячо) r-552
нотис -
Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/*****/data/www/torrent-hub.com/includes/online_userlist.php on line 96 Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/******/data/www/torrent-hub.com/includes/online_userlist.php on line 104 Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/*****/data/www/torrent-hub.com/includes/online_userlist.php on line 96 Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/******/data/www/torrent-hub.com/includes/online_userlist.php on line 104 Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/*****/data/www/torrent-hub.com/includes/online_userlist.php on line 134 Notice: Use of undefined constant ANONYMOUS - assumed 'ANONYMOUS' in /var/www/****/data/www/torrent-hub.com/includes/online_userlist.php on line 134
Код:
elseif($u['bot_name'])
    {
        $bots_online++;
        if(isset($ulist[ANONYMOUS][$u['bot_name']]))
        {
            $bot[$u['bot_name']]++;
            $ulist[ANONYMOUS][$u['bot_name']] = $u['bot_name'] .' ['. ($bot[$u['bot_name']]) .']';
        }
        else
        {
            $bot[$u['bot_name']] = 1;
            $ulist[ANONYMOUS][$u['bot_name']] = $u['bot_name'];
        }
    }
    else
    {
        $guests_online++;
        $users_cnt['ANONYMOUS'] = $guests_online;
    }
}
 
if ($ulist)
{
    $inline = $block = $short = array();
 
    foreach ($ulist as $level => $users)
    {
        if (empty($users)) continue;
 
        if (count($users) > 200)
        {
            $style = 'margin: 3px 0; padding: 2px 4px; border: 1px inset; height: 200px; overflow: auto;';
            $block[] = "<div style=\"$style\">\n". join(",\n", $users) ."</div>\n";
            $short[] = '<a href="index.php?online_full=1#online">'. $lang['USERS'] .': '. count($users) .'</a>';
        }
        else
        {
            $inline[] = join(",\n", $users);
            $short[]  = join(",\n", $users);
        }
 
        if($level != ANONYMOUS) $logged_online += count($users);
    }
 
    $online['userlist'] = join(",\n", $inline) . join("\n", $block);
    $online_short['userlist'] = join(",\n", $short);
}
 

Kryl

Пользователь
#68
А рабочий вариант есть ? Тут уж очень для старой версии движка , даже таких файлов нет куда нужно код прописывать :cry:
 

Virtuoz

Пользователь
#69

Вложения

Сверху