var elem = document.getElementById('se-pre-con'); elem.parentNode.removeChild(elem); "; if(!defined('GAME')) { die(); } ?>
microLogin($u->info['id'],1).'
';?>

  
 


info['sex'].'" AND `level` <= "'.$u->info['level'].'" AND (`login` = "" OR `login` = "'.$u->info['login'].'") AND (`uid` = "" OR `uid` = "'.$u->info['id'].'") AND (`align` = "0" OR `align` = "'.$u->info['align'].'") AND (`clan` = "0" OR `clan` = "'.$u->info['clan'].'") ORDER BY `level` ASC, `img` ASC'); while($pl = mysql_fetch_array($sp)) { $tr = true; $trd = ''; $po = $u->lookStats($pl['tr']); $t = $u->items['tr']; $x = 0; if( $pl['level'] > 0 ) { $trd .= "\r".'• Уровень персонажа: '.$pl['level'].''; } if( $pl['itm'] > 0 ) { $pl['itm'] = explode(',',$pl['itm']); $j = 0; $tritm = ''; while( $j < count($pl['itm']) ) { $itm_id = $pl['itm'][$j]; if( $itm_id > 0 ) { $itm_id = mysql_fetch_array(mysql_query('SELECT `id`,`name` FROM `items_main` WHERE `id` = "'.$itm_id.'" LIMIT 1')); $itm_id_true = mysql_fetch_array(mysql_query('SELECT `id` FROM `items_users` WHERE `item_id` = "'.$itm_id['id'].'" AND `delete` = 0 AND `inOdet` > 0 AND `inShop` = 0 AND `uid` = "'.$u->info['id'].'" LIMIT 1')); if(!isset($itm_id_true['id'])) { $tr = false; } if( $j > 0 ) { $tritm .= ', '; } $tritm .= '"'.$itm_id['name'].'"'; } $j++; } if( $tritm != '' ) { $trd .= "\r".'• Предметы: '.$tritm.''; } } while($x < count($t)) { $n = $t[$x]; if(isset($po['tr_'.$n])) { $trd .= "\r".'• '.$u->is[$n].': '.$po['tr_'.$n].''; if($po['tr_'.$n] > $u->stats[$n]) { $tr = false; } } $x++; } if( ($pl['tr'] == '' && $pl['itm'] == '') || $tr == true ) { if( $trd != '' ) { $trd = 'Требуется минимальное:'.$trd; } echo ' '; } } ?>