31.12.2012, 20:43
Also, der rest der Datei ist eigentlich für euch uninteressant.
Aber hier nochmal der Code, so wie ich ihn jetzt habe und keine Ausgabe erhalte.
Trotzdem danke dir
Aber hier nochmal der Code, so wie ich ihn jetzt habe und keine Ausgabe erhalte.
PHP-Code:
<?php
$query = ("SELECT p.subject, p.username, p.uid, p.pid, p.tid, p.icon, t.tid, t.fid, t.lastpost, t.lastposteruid, t.lastposter, p.dateline
FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."threads t ON (p.tid=t.tid) AND (p.dateline=t.lastpost)
WHERE 1=1 $unviewwhere AND t.visible='1' AND t.closed NOT LIKE 'moved|%' AND t.fid IN (3,4,5,6,9,69,7,11,12,13,14,72,17,15,37,39,38,40)
ORDER BY p.dateline DESC
LIMIT 0, 10");
$query_result = mysql_query($query);
echo '';
while($row2 = mysql_fetch_object($query_result)){
?>
<tr style="font-size: small;">
<td width="57%"><div id="smalltext"><span style="font-size: 11px"> <?php echo $row2->subject; ?></div></span></td>
<td widht="25%" align="left"><div id="smalltext"><span style="font-size: 11px">Verfasser</div></span></td>
<td align="right" width="16%"><div id="smalltext"><span style="font-size: 11px">Letzter Beitrag</span></div></td>
<td width="1%"></td>
</tr>
<?php
}
?>