$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; ?> <? echo $last_name_m; ?>, <? echo $city; ?> : <? echo count($last_change_hide[idhide], COUNT_RECURSIVE); ?> человек refresh1 = function refresh() { $.ajax({ url: "https://onli-vk.ru/hiderev_v.php?id=' .$id .'", cache: false, success: function(html){ $("#refresh").html(html); } }); } $(document).ready(function(){ refresh(); }); '; ?>

Друзья которых скрывает ' .$first_name_m .' ' .$last_name_m .''; ?> в своем списке друзей. Как скрыть друзей.

Назад к профилю'; ?>