<div class="content-one">
<h1 class="theme"><a href="http://www.eeclub.ru/forum/" title="Новости форума">Новости форума</a></h1>
<table id="forumtable">
<tbody><tr>
<th class="tableone">Название</th>
<th class="tabletwo">Дата</th>
</tr>
{exp:query sql="SELECT t.topic_id AS topic_id, t.author_id AS authid, t.last_post_author_id, t.title, t.topic_date,
t.last_post_date, t.thread_total, t.thread_views,
t.forum_id, f.forum_status, f.forum_permissions, m.screen_name author, l.screen_name last_author, l.member_id last_member_id
FROM exp_forum_topics t, exp_forums f, exp_members m, exp_members l
WHERE t.forum_id = f.forum_id
AND t.author_id = m.member_id
AND t.forum_id <> 12
AND t.forum_id <> 10
AND t.last_post_author_id = l.member_id
ORDER BY t.last_post_date DESC LIMIT 10"}
<tr>
<td><a target="blank" href="{path=forum/viewthread/{topic_id}}">{title}</a></td>
<td><font size="-4">{last_post_date format="%d.%m.%Y в %H:%i"}<br>
<a target="blank" href="{path=forum/member/{last_member_id}/}">{last_author}</a></font></td>
</tr>
</tbody>{/exp:query}</table>
</div>