nur blick ich da nicht ganz durch...
ich möchte gerne das die jukebox auch für nicht regestrierte funtkioniert und das loop und autostart gehen...
oder vielleicht noch besser wenn das 1 lied fertig ist das es zum nächsten überspringt automatisch...
ich wär euch sehr dankbar...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <?php $title = $allgAr [ 'title' ]. ' :: Jukebox' ; $hmenu = 'Jukebox' ; $design = new design ( $title , $hmenu , 0); $design ->header(); if ( $_SESSION [ 'authright' ]<=-3){ echo '<table align="left" border="0" ><tr><td ><input type="button" onClick="self.location.href=\'?jukebox-1\'" value="FAM0US R3C0RDS - Intro"></td></tr>' ; echo '<tr><td ><input type="button" onClick="self.location.href=\'?jukebox-2\'" value="FAM0US R3C0RDS - comming soon,..."></td></tr>' ; echo '<tr><td ><input type="button" onClick="self.location.href=\'?jukebox-3\'" value="FAM0US R3C0RDS - comming soon,..."></td></tr>' ; echo '<tr><td ><input type="button" onClick="self.location.href=\'?jukebox-4\'" value="FAM0US R3C0RDS - comming soon,..."></td></tr>' ; echo '<tr><td ><input type="button" onClick="self.location.href=\'?jukebox-5\'" value="FAM0US R3C0RDS - comming soon,..."></td></tr>' ; if ( $menu ->get(1)==1){ $file = 'include/data/song1.mp3' ; } if ( $menu ->get(1)==2){ $file = 'include/data/song2.mp3' ; } if ( $menu ->get(1)==3){ $file = 'include/data/song3.mp3' ; } if ( $menu ->get(1)==4){ $file = 'include/data/song4.mp3' ; } if ( $menu ->get(1)==5){ $file = 'include/data/song5.mp3' ; } echo ' <script language= "JavaScript" > document.writeln( "<OBJECT ID=\"MediaPlayer\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" CODEBASE=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab##Version=6,4,5,715\" width=\"0\" height=\"0\" standby=\"Loading...\" type=\"application/x-oleobject\">" ); document.writeln( "<PARAM NAME=\"FileName\" VALUE=\"'.$file.'\">" ); document.writeln( "<PARAM NAME=\"TransparentAtStart\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"AutoStart\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"AnimationatStart\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"ShowStatusBar\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"ShowControls\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"autoSize\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"displaySize\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"ShowAudioControls\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"ShowPositionControls\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"Loop\" Value=\"true\">" ); document.writeln( "<PARAM NAME=\"Volume\" Value=\"80\">" ); document.writeln( "<Embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/\" src=\"'.$file.'\" Name=\"MediaPlayer\" width=\"250\" height=\"250\" transparentAtStart=\"1\" autostart=\"1\" loop=\"true\" animationAtStart=\"0\" ShowControls=\"true\" ShowAudioControls=\"1\" ShowPositionControls=\"1\" autoSize=\"0\" ShowStatusBar=\"1\" displaySize=\"true\">" ); document.writeln( "<\/embed>" ); document.writeln( "<\/OBJECT>" ); </script>'; } else { echo '<span class="texthalter">Der Zugriff ist nicht gestattet, nur Member dürfen zugreifen</span >' ; } $design ->footer(); ?> |
verwendete ilchClan Version: 1.1
betroffene Homepage: zandy26.za.ohost.de/