$box=mysql_fetch_array(mysql_query('SELECT * FROM `bs_map` WHERE `mid` = "'.$bs['type_map'].'" AND `x` = "'.$u->info['x'].'" AND `y` = "'.$u->info['y'].'" LIMIT 1'));
if(isset($box['id'])){
$bs=mysql_fetch_array(mysql_query('SELECT * FROM `bs_turnirs` WHERE `id` = "'.$u->info['inTurnir'].'" LIMIT 1'));
$real_u=mysql_fetch_array(mysql_query('SELECT `id`,`login`,`level`,`sex`,`align`,`clan` FROM `users` WHERE `inUser` = "'.$u->info['id'].'" LIMIT 1'));