<html>
	<head>

		
		<?php
		
		
		
		
		if(isset($_GET["file"])){
			
			
			//Get the first line of the txt file for a title
			echo "<title>";
				//TITLE GOES HERE
			echo "</title>";
			
			
			echo"		<link rel=\"stylesheet\" href=\"musicstyle.css\" type=\"text/css\" />
						</head>
						<body>"
			;//end echo
			
						
			//if there's an mid file, list it
			if (false)
			{
				echo "<a href=\"audio/";
				//filename goes here
				echo "\" target=\"RadioPlayer\">Music (midi)</a>";
			}
			
			
			//if there's an mp3 file, list it
			if (false)
			{
				echo "<a href=\"audio/";
				//filename goes here
				echo "\" target=\"RadioPlayer\">Music (mp3)</a>";
			}
			//if there's a source file, list it.
			if (false)
			{
				echo "<a href=\"source/";
				//filename goes here
				echo "\" target=\"RadioPlayer\">Music (source)</a>";
			}
			
			echo "<iframe src=\"../RPlayer.html\" name=\"RadioPlayer\" height=\"20\"></iframe>";
			
			$text = file_get_contents($_GET["file"]);
			$text = nl2br($text);
			// $text1 = htmlspecialchars($text, ENT_QUOTES);
			echo $text;
			
			
			
		}
		?>
		
	</body>
</html>
