info['id'].'" AND `active` = "" LIMIT 1000'));
$rfs['count'] = 0+$rfs['count'][0];
$rfs['c'] = 1;
$rfs['see'] = '';
$sp = mysql_query('SELECT `id`,`level` FROM `users` WHERE `host_reg` = "'.$u->info['id'].'" AND `active` = "" ORDER BY `level` DESC LIMIT '.$rfs['count']);
while($pl = mysql_fetch_array($sp))
{
$rfs['c2'] = ' '.$rfs['c'].'. '.$u->microLogin($pl['id'],1).'
';
if($pl['level']<1)
{
$rfs['c2'] = ''.$rfs['c2'].'';
}elseif($pl['level']>5)
{
$rfs['c2'] = ''.$rfs['c2'].'';
}
$rfs['see'] .= $rfs['c2'];
$rfs['c']++;
}
if($rfs['see']=='')
{
$rfs['see'] = 'К сожалению у Вас нет рефералов';
}
?>