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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.