Grafische interesse |
|
Er staat een vreemd object als je de volgende link opent met IE (in firefox heb je dit neit)
http://www.dufes.net/nonstop/music.php
hoe krijg ik dit object weg ?
code: (deze code heb ik gevonde hier op sima, en beetje aangepast)
<html>
<head>
<title>Non Stop Party</title>
<link href='music.css' rel='stylesheet' type='text/css'>
</head>
<body>
<?
$sPlayFile = $_GET['play'];
$iCount = 0;
echo '<table cellspacing=\'0\' cellpadding=\'0\' align=\'center\'>';
echo '<tr>';
echo '<td class="musicname">Muziek:</td>';
if ($handle = opendir('muziek/')) {
while (false !== ($sMusicFile = readdir($handle))) {
if ($sMusicFile != '.' AND $sMusicFile != '..' AND eregi('(.*)\.mp3',$sMusicFile)) {
if ($iCount - (2 * floor($iCount/2)) == 1) {
}
$sMusicName = eregi_replace('(.*)\.mp3','\\1',$sMusicFile);
echo '<center>';
echo '<form action="'.$_SERVER['PHP_SELF'].'?play='.$sMusicFile.'" method=\'post\' target="_self">';
echo '<td>';
echo '<input class="button" name="submit" type="submit" value="Play"';
echo '</td>';
echo '<td class="musicname">';
echo '<a class="musicname" href="http://www.rebounce.be" target="blanc">';
echo $sMusicName;
echo '</a>';
echo '</td>';
echo '</form>';
if ($iCount - (2 * floor($iCount/2)) == 1) {
}
}
$iCount++;
}
closedir($handle);
if ($iCount - (2 * floor($iCount/2)) == 0) {
echo '</tr>';
}
}
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post" target="_self">';
echo '<td style="margin: 0px; padding: 2px;">';
if ($sPlayFile) {
echo '<input class="button" name="submit" type="submit" value="stop">';
}
echo '</td>';
echo '</tr>';
echo '</form>';
echo '</center>';
?>
<embed src="<? echo 'muziek/'.$sPlayFile; ?>" height="40" width="350" hidden="true" autostart="true" loop="true">
</body></html>
<html> <head> <title>Non Stop Party</title> <link href='music.css' rel='stylesheet' type='text/css'> </head> <body> <? $sPlayFile = $_GET['play']; $iCount = 0; echo '<table cellspacing=\'0\ ' cellpadding=\'0\ ' align=\'center\ '>'; echo '<td class="musicname">Muziek:</td>'; if ($handle = opendir('muziek/')) { while (false !== ($sMusicFile = readdir($handle))) { if ($sMusicFile != '.' AND $sMusicFile != '..' AND eregi('(.*)\.mp3',$sMusicFile)) { if ($iCount - (2 * floor($iCount/2)) == 1) { } echo '<form action="'.$_SERVER['PHP_SELF'].'?play='.$sMusicFile.'" method=\'post\ ' target="_self">'; echo '<input class="button" name="submit" type="submit" value="Play"'; echo '<td class="musicname">'; echo '<a class="musicname" href="http://www.rebounce.be" target="blanc">'; if ($iCount - (2 * floor($iCount/2)) == 1) { } } $iCount++; } if ($iCount - (2 * floor($iCount/2)) == 0) { } } echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post" target="_self">'; echo '<td style="margin: 0px; padding: 2px;">'; if ($sPlayFile) { echo '<input class="button" name="submit" type="submit" value="stop">'; } ?> <embed src=" <? echo 'muziek/'.$sPlayFile; ?>" height="40" width="350" hidden="true" autostart="true" loop="true"> </body></html>
|