Parašė MAnjack· 2009 Kov. 28 15:03:42
#4
<td class='new_soft'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."news ORDER BY news_id DESC LIMIT 0,9");
echo "<table cellspacing='0' cellpadding='0' border='0' width='100%'>
<tr>
<td colspan='2' class='new_soft2'> Naujausia muzika </td>
</tr>";
while ($data = dbarray($result)) {
$id = $data['news_id'];
$p = trimlink($data['news_subject'], 42);
echo "
<tr>
<td width='8%'><img src='".THEME."images/new_soft.png'></td>
<td width='92%' class='new_soft3'><a href='".BASEDIR."news.php?readmore=$id'>$p</a></td>
</tr>";
}
echo "</table>