rendered paste body<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><?php$url='';if($_GET['url']) $url = $_GET['url'];$xml = file_get_contents($url);?><title>FreePlay Radio - Converted Playlist from <?php print $url; ?></title><script type="text/javascript" src="./js/fpr.js"></script><link href="./css/fpr.css" rel="stylesheet" type="text/css" /></head><body style="background: #000000;"><div id="content"><?phpif($url != ''){ $xml = str_replace("\r", "", $xml); $entries = split("\n", $xml); for($x = (substr($entries[0], 0, 7) == "#EXTM3U" ? 1 : 0); $x < count($entries); $x++) { $link = ''; $desc = ''; if(substr($entries[$x], 0, 7) == "#EXTINF") { $delim = strpos($entries[$x], ',')+1; if($delim == 1) $delim = strpos($entries[$x], ':')+1; $desc = substr($entries[$x], $delim); $x++; } $link = $entries[$x]; $out = '<a href="JavaScript:" onclick="do'; $ext = strtolower(substr($entries[$x], strlen($entries[$x])-3)); if($ext == "pls" || $ext == "m3u") $out .='Pls(\''; else $out .= 'Stream(\''; $out .= "$link');\">".($desc ? $desc : $link).'</a><br/>'."\n"; if($link) print str_replace("&", "&", $out); }}?><input type="button" value="stop playback" onclick="resetRadio();"/></div></body></html>