Parašė shalonyi· 2010 Bal. 26 20:04:20
#1
Sveiki,taigi turiu problema,naujausius siuntinius rodo ne toje vietoje kurioje turetu,kasnors gal gali padeti?
Stai to kodo dalis,jei reikes idesiu visa theme.php
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='320'><img src='".THEME."images/head_1.png' width='320px' height='137px' style='padding: 0; margin: 0; border: 0;' alt='Skaityti daugiau...'/></td>
<td class='head_2' valign='center'>";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='siuntiniai'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right' class='siuntiniai'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
}