userInfo('username') == "" OR $byakman->userInfo('password') == "")) { header("Location: index.php?page=login"); exit(); } else { if ($_GET) { $id = $byakman->guvenlik($_GET["id"]); if ($id != "") { if (is_numeric($id)) { $detail = $byakman->player_api2($byakman->userInfo('username'),$byakman->userInfo('password'), 'get_vod_info&vod_id=', $id); $detail = json_decode($detail,true); $type = $detail['movie_data']['container_extension']; switch ($type){ case 'mkv': $type = '.mkv'; break; case 'mp4': $type = '.mp4'; break; case 'avi': $type = '.avi'; break; } $movie_url = $siteInfo->site_xtream."movie/".$byakman->userInfo('username')."/".$byakman->userInfo('password')."/".$detail["movie_data"]["stream_id"]."".$type; ?>