Had wat toegevoegd in mijn script, staat nu wel onder elkaar maar er komt een extra regel bij wat leeg is.
Die lege regel zou ik er graag uit willen hebben.
Het resultaat is te zien op http://www.studiosuperradio.nl/jukebox/playing.php
Hier een stukje van het script:
Code: Selecteer alles
<?
$rc=0;
PutSongRow($song);
$mainsong = $song;
?>
<tr bgcolor="#002E5B">
<td colspan="7" nowrap>
<p align="left"> <b><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#ffffff">Zodadelijk :
</td>
</tr>
<font size="2">
<?
if(count($queue)>0){?>
<tr bgcolor="<? echo $lightrow; ?>">
<?
$i=0;
while(list($key, $song) = each($queue))
PutSongRow($song);
{
?>
<td valign="middle" width="1%">
<img src=" <? echo $picture_dir.$song["picture"] = "superradio.gif"; ?>"
width="65"
height="65"
title ="<? echo $song["artist"]; ?> - <? echo $song["title"]; ?>!"
alt="<? echo $song["album"]; ?>!"
border=0
>
</td>
<td><b><font face="arial" size="3" color="#000000"><small> <?
echo $song["artist"];
?></small></font></b><br>
<b><font face="arial" size="3" color="#FF000E"><small> <?
echo $song["title"];?></small></font></b><br>
<b><font face="arial" size="3" color="blue"><small> <?
echo $song["genre"];?></small></font></b>
<br>
<b><font face="arial" size="3" color="#0404B3"><small><?
echo $song["count_played"];?><font face="arial" size="3" color="#0404B3"><small> keer gedraaid</small></font></b>
<font face="arial" size="3" color="#0404B3">: </font>
<b><font face="arial" size="3" color="#0404B3"><small><?
echo $song["count_requested"];?><font face="arial" size="3" color="#0404B3"><small> keer aangevraagd</small></font></b>
<br>
<b><font face="arial" size="3" color="#ff00ef"><small><?
if($song["requestid"]!=0) { echo " Dit nummer is aangevraagd "; }
?></small></font></b>
<td align="Right">
</td>
<?
$i++;
}
?>
<?}?>