all your forum are belong to us
<table>
<tr>
<td>
<?php
$results = db_query_range("SELECT n.nid, n.title, GREATEST(n.created, MAX(c.timestamp)) AS sort FROM {node} n LEFT JOIN {comments} c ON n.nid = c.nid WHERE n.type = 'forum' AND n.status = 1 GROUP BY n.nid, n.title, n.created ORDER BY sort DESC", 0, 25);
while ($row = mysql_fetch_array($results)) {
$output .= "<li>" . l($row'title'], "node/view/" . $row'nid']) . " " . (node_is_new($row'nid'], $row'sort']) ? theme("mark") : "");
}
$output .= "</ul>";
print $output;
?>
</td>
<td>
the other side
</td>
</table>
<hr>
<i>for ed & jason ...</i>