Parašė Narysx· 2008 Lap. 28 23:11:52
#7
Nelb čia man daeina. c| ;D
Va ta vieta maždaug:
<table style='border-collapse: collapse;' border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='1%'><img src='".IMAGES."down.png' alt='' border='0'></td>
<td> <a class='small' href='".FUSION_SELF."?d_id=".$data['download_id']."' title='Žiūrėti failą' style='font-weight: bold;'><b>".$data['download_title']."</b></a> </td>
<td align='right'><span class='small2'><b>Pridėtas:</b> $laikas</span></td>
</tr></table></td>
</tr>\n";
if ($data['download_description'] != "") echo "<tr>\n
<td colspan='5' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n";
echo "<tr>\n
<td rowspan='2' class='tbl1' align='center' valign='middle' width='1%'><a class='small' href='".FUSION_SELF."?cat_id=$cat_id&download_id=".$data['download_id']."' title='Parsisiųsti' style='font-weight: bold;'><img src='".IMAGES."download.png' alt='Parsisiųsti' border='0'></a></td>
<td width='30%' class='tbl2'><b>".$locale['413']."</b> ".$data['download_version']."</td>\n<td width='30%' class='tbl1'><b>".$locale['411']."</b> ".$data['download_license']."</td>\n";
$kom = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments WHERE comment_type='D' AND comment_item_id='$id'");
$kon = dbresult($kom, 0);
if ($kon == 0) { $komentarai = 0; } else { $komentarai = $kon; }
echo "<td width='40%' class='tbl2'><b>Komentarų:</b> $komentarai.</td>
<td class='tbl1' rowspan='2' colspan='1' align='right' valign='bottom' width='1%'>
<a href='".FUSION_SELF."?d_id=".$data['download_id']."' title='Žiūrėti failo komentarus'><img src='images/comments.png' alt='Komentuoti' border='0'></a><br>
</td>\n</tr>\n<tr>\n<td width='30%' class='tbl2'><b>localie412</b> ".$data['download_os']." </td>\n";
echo "<td width='30%' class='tbl1'><b>Siunt</b> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><b>Dydis:</b> ".($data['download_filesize'] ? "".$data['download_filesize']."" : "Nėra")."</td>\n</tr>\n";
echo "</table>\n";
Gali gal padaryt? ;D
Redagavo Narysx· 2008 Lap. 28 23:11:05