$lang = $pg->fetch("SELECT language, COUNT(language) FROM statuses WHERE account_id = $id AND NOT language IS NULL GROUP BY language ORDER BY count DESC LIMIT 1");
if ($lang === false || !in_array($lang['language'], $nlanguages))
continue;
}
$following = $pg->fetch('SELECT count(1) FROM follows WHERE account_id = \''.$id.'\'');
$followers = $pg->fetch('SELECT count(1) FROM follows WHERE target_account_id = \''.$id.'\'');
if (isset($_GET['no_follows']) && (intval($following['count']) > 0 || intval($followers['count']) > 0))