coolguylentz

InsertNameHere code

Jun 3rd, 2012
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. <?php
  2. $sc_ip = "vps.blupawradio.info";
  3. $sc_port = "8002";
  4. function NowPlaying($sc_ip,$sc_port)
  5. {
  6. $scread = fsockopen("vps.blupawradio.info","8002",$errno,$errstr,'.5');
  7. if ($scread) {
  8. fputs($scread,"GET /7.html HTTP/1.1\nUser-Agent:Mozilla\n\n");
  9. stream_set_timeout($scread,'1');
  10. $get = fread($scread,200);
  11. $data = explode(",",$get);
  12. if($data[6] == '' || $data[6] == '</body></html>'){ $msg = ' live stream '; } else { $msg = $data[6]; }
  13. $curdj = "DJ Here";
  14. $data = 'Now Playing ('.$curdj.'): '.$msg;
  15. } else { return false; }
  16. fclose($scread);
  17. return $data;
  18. }
  19. $current_song = NowPlaying("vps.blupawradio.info","8002");
  20.  
  21. ?>
  22. <html>
  23.  
  24.  
  25.  
  26. <head>
  27. <meta name="Author" content="White Wolf">
  28.  
  29. <meta name="Description" content="Insert Name Here by Dommer hoasted by Blu Paw Radio">
  30.  
  31. <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">
  32.  
  33. <title>Insert_Name_Here</title>
  34.  
  35. <style>
  36.  
  37. body {background-image:url('/pictures/blue-matrix-backgrounds-wallpapers.jpg'); }
  38.  
  39. </style>
  40.  
  41.  
  42.  
  43. </head>
  44.  
  45.  
  46.  
  47. <body>
  48.  
  49.  
  50.  
  51. <h1>WELCOME TO [insert_name_here]!</h1>
  52.  
  53.  
  54.  
  55. <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.
  56.  
  57. White_Wolf - The IT producer behind the show. He runs the servers for us and makes sure everything runs perfectly. He gets Hugs.
  58.  
  59. Dommer - The host of the show. Mainly argues at nothing and has no way of winning most of the time.
  60.  
  61. Slick - The co host who will almost NEVER show. Though when he does, expect a pile of dumbassery to occurr.
  62.  
  63. Now that you know who we are, select a type of stream and listen!</p>
  64.  
  65.  
  66.  
  67. <p> To go somewhere else, click on Willy <3 </p>
  68.  
  69.  
  70.  
  71. <a href="http://google.com/"><img src="pictures/Willy.jpg"><br>
  72.  
  73. </a>
  74.  
  75.  
  76.  
  77. <color=(#FFFF00)>
  78.  
  79. We all love willy dont we? <3
  80.  
  81. </color>
  82.  
  83.  
  84. <p> Here is the chat you can either use that or point your client to TTK IRC at irc.techtoknow.net:6667</p>
  85.  
  86. <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>
  87. <p> And here is the player if it doesn't work join the chat and pm the shit out of White_Wolf
  88. <p> <?php echo $current_song; ?></p>
  89.  
  90.  
  91. <?php
  92. if (isset($_POST['quality'])){
  93. echo '<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
  94. <script type="text/javascript" src="http://www.shoutcheap.com/flashplayer/swfobject.js?9d7bd4"></script>
  95. <script type="text/javascript">
  96. var s1 = new SWFObject("http://www.shoutcheap.com/flashplayer/player.swf","ply","200","20","9","#FFFFFF");
  97. s1.addParam("allowfullscreen","true");
  98. s1.addParam("allowscriptaccess","always");
  99. s1.addParam("flashvars",
  100. "file=http://vps.blupawradio.info:'.$_POST['quality'].'/;stream.nsv&type=mp3&volume=50&autostart=true");
  101. s1.write("container");
  102. </script></div>';
  103. }else{
  104. echo '<form method="POST" action="">
  105. <input type="radio" name="quality" value="8004" />Low quality (80 Kbps)<br />
  106. <input type="radio" name="quality" value="8002" />Medium quality (128 Kbps)<br />
  107. <input type="radio" name="quality" value="8000" />High Quality (320 Kbps)<br />
  108. <input type="submit" value="Listen!" />
  109. </form><br />';
  110. }
  111. ?>
  112.  
  113.  
  114.  
  115.  
  116.  
  117. </body>
  118.  
  119.  
  120.  
  121. </html>
Advertisement
Add Comment
Please, Sign In to add comment