coolguylentz icon

InsertNameHere code

coolguylentz | PRO | 06/04/12 02:18:47 AM UTC | 0 ⭐ | 367 👁️ | Never ⏰ | []
text |

3.84 KB

|

None

|

0 👍

/

0 👎

<?php
$sc_ip = "vps.blupawradio.info";
$sc_port = "8002";
function NowPlaying($sc_ip,$sc_port)
{
$scread = fsockopen("vps.blupawradio.info","8002",$errno,$errstr,'.5'); 
	if ($scread) { 
	fputs($scread,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n"); 
	stream_set_timeout($scread,'1');
	$get = fread($scread,200);
	$data = explode(",",$get);
	if($data[6] == '' || $data[6] == '</body></html>'){ $msg = ' live stream '; } else { $msg = $data[6]; }
	$curdj = "DJ Here";
	$data = 'Now Playing ('.$curdj.'): '.$msg;
	} else {  return false; } 
	fclose($scread);	
	return $data;	
}
$current_song = NowPlaying("vps.blupawradio.info","8002");
 ?>
<html>
   <head>
<meta name="Author" content="White Wolf">
 <meta name="Description" content="Insert Name Here by Dommer hoasted by Blu Paw Radio">
 <meta name="Keywords" content="radio, internet radio , wolf, DJ, music, genre, WiseWolf, TheWiseWolfCub, furry, fandom, blupaw, radio, blupawradio, bpr, Insert_Name_Here, Dommer, Insertnamehere, Insert Name Here, insert, name, here, funny"> 
 <title>Insert_Name_Here</title>
 <style>
 body {background-image:url('/pictures/blue-matrix-backgrounds-wallpapers.jpg'); }
 </style>
   </head>
   <body>
   <h1>WELCOME TO [insert_name_here]!</h1>
   <p>Welcome to the show!  On the days we don't play INH, White_Wolf (the IT producer) is running his show through the stream!  Though, the days we are on, you will most likely hear 2 idiots and one mic blabbering at how trashy America has become, the lulz of life, and nonessential stuff like that.
 White_Wolf - The IT producer behind the show.  He runs the servers for us and makes sure everything runs perfectly.  He gets Hugs.
 Dommer - The host of the show.  Mainly argues at nothing and has no way of winning most of the time.
 Slick - The co host who will almost NEVER show.  Though when he does, expect a pile of dumbassery to occurr.
 Now that you know who we are, select a type of stream and listen!</p>
   <p> To go somewhere else, click on Willy <3 </p>
   <a href="http://google.com/"><img src="pictures/Willy.jpg"><br>
 </a>
   <color=(#FFFF00)> 
 We all love willy dont we? <3 
 </color>
  <p> Here is the chat you can either use that or point your client to TTK IRC at irc.techtoknow.net:6667</p>
 <iframe width="590" height="380" scrolling="no" style="border:0" src="http://embed.mibbit.com/?settings=191b809721be4de27242ea56ca4939e1&amp;server=irc.techtoknow.net&amp;channel=%23blupawradio&amp;noServerNotices=true&amp;noServerMotd=true&amp;forcePrompt=true&amp;nick=INH_FAN??"></iframe>
<p> And here is the player  if it doesn't work join the chat and pm the shit out of White_Wolf
<p> <?php echo $current_song; ?></p>
  <?php
if (isset($_POST['quality'])){
echo '<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
<script type="text/javascript" src="http://www.shoutcheap.com/flashplayer/swfobject.js?9d7bd4"></script>
<script type="text/javascript">
var s1 = new SWFObject("http://www.shoutcheap.com/flashplayer/player.swf","ply","200","20","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars",
"file=http://vps.blupawradio.info:'.$_POST['quality'].'/;stream.nsv&type=mp3&volume=50&autostart=true");
s1.write("container");
</script></div>';
}else{
echo '<form method="POST" action="">
                        <input type="radio" name="quality" value="8004" />Low quality (80 Kbps)<br />
                        <input type="radio" name="quality" value="8002" />Medium quality (128 Kbps)<br />
                        <input type="radio" name="quality" value="8000" />High Quality (320 Kbps)<br />
                        <input type="submit" value="Listen!" />
                </form><br />';
}
?>
     </body>
   </html>

Comments