<div style="float: right; margin-bottom: 3em; padding: 10px;width: 270px;background-color:#F1F1F1;margin-top:250px;right:2px;border-radius:1em; border:1px solid #c1c1c1">
<div class="tcat" style="padding: 0;">
<img border="0" style="float: left;" alt="" src="images/lustrous/buttons/tcat_left.gif">
<img border="0" style="float: right;" alt="" src="images/lustrous/buttons/tcat_right.gif">
Die 10 letzten Beiträge
</div>
<table class="tborder" width="100%" cellspacing="1" cellpadding="3" border="1" align="center">
<tbody id="collapseobj_forumbit_33" style="">
<tr>
<td class="thead" width="225"> Übersicht </td></tr>
<?php
$takethread = mysql_query("SELECT vb3_thread.forumid, vb3_thread.dateline, vb3_thread.threadid, vb3_forum.title, vb3_thread.title
FROM `vb3_thread` , `vb3_forum`
WHERE vb3_forum.forumid = vb3_thread.forumid
ORDER BY vb3_thread.dateline DESC
LIMIT 10");
$i=0;
while($showThread = mysql_fetch_array($takethread)){
$forumids[$i] = $showThread[0];
$dateline[$i] = $showThread[1];
$threadids[$i] = $showThread[2];
$forumtitle[$i] = $showThread[3];
$threadtitle[$i] = $showThread[4];
$i++;
}
$i=0;
for($i=0;$i < 10;$i++){
echo"<tr><td align=\"left\" id=\"f34\" class=\"alt1Active\">
<div>
Forum: <a href=\"forumdisplay.php?f=$forumids[$i]\"><strong> $forumtitle[$i]</strong></a>
</div>
<div class=\"smallfont\">Topic: <a id='thread_title_$threadids[$i]' href=\"showthread.php?t=$threadids[$i]\"> $threadtitle[$i]</div>
</td></tr>
";}
?>
</tbody>
</table>
</div>
<br>
</div>
Lesezeichen