<table width="100%" cellspacing="5" cellpadding="0">
<tr>
<td valign="top">
<?php
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td colspan='2'>
";
if($r == 1) echo "";
else echo "";
echo "".$title."
</td><td></td></tr>";
echo "<tr><td width='90'><font class='listingtitle'>Artista:</font></td><td>".$artist."</td><td rowspan='9' valign='top'>
<table width='100%' cellspacing='0' cellpadding='0' style='padding-right:10px;'>
<tr><td align='center'>";
echo show_artwork($j, 150);
echo "</td></tr>";
if(strlen($amazonid) > 0) {
$amazonurl = construct_amazon_url($artist, $album);
echo "<tr><td align='center' class='buylink'><a href='".$amazonurl."' target='_blank' class='buylink'></td></tr>";
}
echo "</table>
</td></tr>";
echo "<tr><td width='90'><font class='listingtitle'>Album:</font></td><td>".$album."</td></tr>";
echo "<tr><td width='90'><font class='listingtitle'>Canzone:</font></td><td>".$title."</td></tr>";
echo "<tr><td style='padding-top:4px;'></td><td></td></tr>";
echo "<tr><td style='padding-top:4px;'><font class='listingtitle'>Inserito il:</font></td><td style='padding-top:4px;'>".$dateadded."</td></tr>";
if(number_format($votestartotal, 0) == 0) $rating = "Nessun voto";
else $rating = number_format($votestartotal, 0)." stars";
echo "<form method='POST' action='view-".$j."-".trim(substr(urlconvert($joke), 0, 50)).".html'><tr><td style='padding-top:4px;'><font class='listingtitle'>Voto:</font></td><td style='padding-top:4px;'>[img]themes/".$theme."/images/small-stars-".number_format($votestartotal, 0).".gif[/img]";
if(!$vote) echo "<select name='vote' class='smallform'>
<option value=''> Vota </option>
<option value='1'>1 su 5</option>
<option value='2'>2 su 5</option>
<option value='3'>3 su 5</option>
<option value='4'>4 su 5</option>
<option value='5'>5 su 5</option>
</select><input name='submit' type='submit' value='Vota ora' class='smallform'>";
echo "</td></tr></form>";
echo "<tr><td style='padding-top:4px;'><font class='listingtitle'>Visite:</font></td><td style='padding-top:4px;'>".$newviews."</td></tr>";
echo "<tr><td style='padding-top:4px;'></td><td></td></tr>";
echo "<tr><td valign='top' style='padding-top:45px;'><font class='listingtitle'>Testo:</font></td><td width='100%' style='padding-top:45px; width:auto'>".$lyrics."</td></tr>";
echo "<tr><td style='padding-top:4px;'></td><td></td></tr>";
$this_url = $site_path."view-".$j."-".urlconvert($artist)."_".urlconvert($title).".htm l";
$this_title = $title." by ".$artist." lyrics";
echo "<tr><td style='padding-top:8px;'></td><td style='padding-top:8px;'>
[img]themes/".$theme."/images/delicious.png[/img]
Add to del.icio.us
[img]themes/".$theme."/images/digg.png[/img]
Digg this
[img]themes/".$theme."/images/reddit.png[/img]
Reddit
</td></tr>";
echo "</table>";
?>