$us=mysql_fetch_array(mysql_query("SELECT *, (SELECT `id` FROM `online` WHERE `date` >= ".(time()-60)." AND `id` = `users`.`id`) AS `online` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['target'])."' LIMIT 1"));
$effect=mysql_fetch_array(mysql_query("SELECT `time` FROM `effects` WHERE `owner` = '{$us['id']}' AND `type` = '2' LIMIT 1"));
$vip=mysql_fetch_array(mysql_query('SELECT `id`, `klan`, `sleep15` FROM `abils_klan` WHERE `klan` = "'.$user['klan'].'" LIMIT 1'));