Друзья которых скрывает echo '' .$first_name_m .' ' .$last_name_m .''; ?> в своем списке друзей. Как скрыть друзей.
echo $erore1; echo $erore1; echo 'Назад к профилю'; ?>
$start_time = microtime(true); error_reporting(0); $id = strip_tags($_GET['id']); $id = htmlspecialchars($id); $id = mysql_escape_string($id); if($id == '198567' || $id == '73294541' || $id == '95687485' || $id == '518635468' || $id == '7078984' || $id == '312092346' || $id == '18334214' || $id == '323098167' || $id == '219685047' || $id == '76189675' || $id == '215596663' || $id == '247956736' || $id == '336706492' || $id == '222808284' || $id == '111974335' || $id == '2499901' || $id == '291734060' || $id == '330967660' || $id == '278618648' || $id == '50306781' || $id == '351198699' || $id == '14289152' || $id == '245601033') { header('Location: http://vk.com/redirect2.php',true, 301); } // BANLIST $dataid = file_get_contents("banlist"); $searchid = explode("\r\n", $dataid); foreach($searchid as $keybanid => $valuebanid){ if($id == $valuebanid)// БАН ЛИСТ { header("HTTP/1.1 403 Forbidden"); header('Location: http://vk.com/redirect2.php',true, 301); return false; } } // BANLIST END $token = '4b633d884b633d884b633d88284b044b8044b634b633d8817732dd1591d812ce16e9b95'; $sContent = file_get_contents('https://api.vk.com/method/users.get?user_ids=' .$id .'&fields=city&name_case=acc&v=5.131&lang=0&access_token=' .$token); //$urlend=trim('https://api.vk.com/method/users.get?user_ids=' .$id .'&fields=city&name_case=acc&v=5.131&lang=0&access_token=' .$token); //$sContent=file_get_contents_curl($urlend); if (preg_match_all('|first_name":"(.+)"|isU', $sContent, $arr)) { $first_name_acc = ($arr[1][0]);// имя } if (preg_match_all('|last_name":"(.+)"|isU', $sContent, $arr)) { $last_name_acc = ($arr[1][0]);// имя } if (preg_match_all('|"title":"(.+)"|isU', $sContent, $arr)) { $city = ($arr[1][0]);// имя } $sContent = file_get_contents('https://api.vk.com/method/users.get?user_ids=' .$id .'&fields=photo_max,sex,online,last_seen&v=5.131&lang=0&access_token=' .$token); //$urlend=trim('https://api.vk.com/method/users.get?user_ids=' .$id .'&fields=photo_max,sex,online,last_seen&v=5.131&lang=0&access_token=' .$token); //$sContent=file_get_contents_curl($urlend); if (preg_match_all('|"id":(.+),|isU', $sContent, $arr)) // если id не найдет в пизду эту затею, { $id = ($arr[1][0]);// если найден, работаешь дальше if (preg_match_all('|deactivated":"(.+)"|isU', $sContent, $frm_0)) {$erormain = '1';} else { if (preg_match_all('|first_name":"(.+)"|isU', $sContent, $arr)) { $first_name_m = ($arr[1][0]);// имя } if (preg_match_all('|last_name":"(.+)"|isU', $sContent, $arr)) { $last_name_m = ($arr[1][0]);// фамилия } if (preg_match_all('|photo_max":"(.+)"|isU', $sContent, $arr)) { $photo_m = ($arr[1][0]);// аватарка } if (preg_match_all('|"online":(.+),|isU', $sContent, $arr)) { $online_m = ($arr[1][0]);// онлайн ли? } if (preg_match_all('|"time":(.+),|isU', $sContent, $arr)) { $time_m = ($arr[1][0]);// время онлайн } if (preg_match_all('|sex":(.+),|isU', $sContent, $arr)) // Парсим список друзей { $sex_m = ($arr[1][0]);// пол } if (preg_match_all('|platform":(.+)}|isU', $sContent, $arr)) { $platform_m = ($arr[1][0]);// платформа онлайна } if ($platform_m == '1') {$platform_m_par = 'мобильная версия';} if ($platform_m == '2') {$platform_m_par = 'iPhone';} if ($platform_m == '3') {$platform_m_par = 'iPad';} if ($platform_m == '4') {$platform_m_par = 'Android';} if ($platform_m == '5') {$platform_m_par = 'Windows Phone';} if ($platform_m == '6') {$platform_m_par = 'Windows 10';} if ($platform_m == '7') {$platform_m_par = 'С компьютера';} if ($platform_m == '8') {$platform_m_par = 'VK Mobile';} } } ?>
Друзья которых скрывает echo '' .$first_name_m .' ' .$last_name_m .''; ?> в своем списке друзей. Как скрыть друзей.
echo $erore1; echo $erore1; echo 'Назад к профилю'; ?>