getUsers_id(); } $user_id = $_GET['user_id']; $publicOnly = true; $isMyChannel = false; if (User::isLogged() && $user_id == User::getId()) { $publicOnly = false; $isMyChannel = true; } $programs = PlayList::getAllFromUser($user_id, $publicOnly, false, @$_GET['program_id']); if (empty($programs)) { $programs = PlayList::getAllFromUser($user_id, $publicOnly); } else { $videosArrayId = PlayList::getVideosIdFromPlaylist($_GET['program_id']); $videos_id = @$videosArrayId[0]; } $playListsObj = AVideoPlugin::getObjectData("PlayLists"); ?>