function render_header($header_content) {
global $theme_width;
//Puslapio viršus//
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class=border='0'>
<tr><td>";
//Banerio kodas//
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class=border='0'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='header' height='200' background='".THEME."images/header.png'>";
//Naujausi siuntiniai
$result = dbquery("SELECT * FROM ".DB_PREFIX."downloads ORDER BY download_datestamp DESC LIMIT 0,10");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 30)."</a>
</td>
<td align='center'>[".$data['download_count']."]</td>
</tr>";
}
echo "</table>";
} else {
echo "Šiai panelei nėra turinio";
}
//Naujausių siuntinių kodo pabaiga
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";