Jump to content

Need help with a Phpnuke block


tombombman

Recommended Posts

Not sure if anyone can help me finish this script off the way i would like it but I have this phpnuke block that plays a music stream off my choice. I want to be able to choose from a dropdown list that will still play in that player.

If someone could take this code and put in 1 or 2 extra selections to use with a dropdown and I would be extremely happy, thanks.

 

Here is what I have so far:

 

<?php 
if (eregi("block-Radio.php",$PHP_SELF)) { 
    Header("Location: index.php"); 
    die(); 
} 



$content  =  "<center><object"; 
$content  .= "                   classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" name=\"wmtPlayer\" width=\"150\" height=\"100\" align=\"middle\">"; 
$content  .= "  <param name=\"url\" value=\"http://www.di.fm/wma/hardstyle.asx\">"; 
$content  .= "    <param name=\"autostart\" value=\"true\">"; 
$content  .= "    <param name=\"uiMode\" value=\"mini\">"; 
$content  .= "    <embed"; 
$content  .= "                      src=\"http://www.di.fm/wma/hardstyle.asx\""; 
$content  .= "                      width=150 height=100"; 
$content  .= "                      autostart=\"1\" align=\"middle\" type=\"application/x-mplayer2\" "; 
$content  .= "                       name=\"wmtPlayer\""; 
$content  .= "                      uimode=\"mini\"> </embed> </object></center>"; 

?> 

Link to comment
https://forums.phpfreaks.com/topic/100754-need-help-with-a-phpnuke-block/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.