Далее сам файл index.php
Добавить запрос из БД, найти
// Print the categories and forums
$query = array(
'SELECT' => 'c.id AS cid, c.cat_name, f.id AS fid,
после f.id AS fid, добавить t.subject,
После
array(
'LEFT JOIN' => 'forum_perms AS fp',
'ON' => '(fp.forum_id=f.id AND fp.group_id='.$forum_user['g_id'].')'
добавить
),
array(
'LEFT JOIN' => 'topics AS t',
'ON' => 'f.last_post_id=t.last_post_id'
файл index.php найти if ($cur_forum['last_post'] != '')
$forum_page['item_body']['info']['lastpost'] = '<li class="info-lastpost">
<span class="label">'.$lang_index['Last post'].'</span>
<strong><a href="'.forum_link($forum_url['post'], $cur_forum['last_post_id']).'">'.format_time($cur_forum['last_post']).'</a>
</strong> <cite>'.sprintf($lang_index['Last poster'], forum_htmlencode($cur_forum['last_poster'])).'</cite></li>';
Заменить на
$forum_page['item_body']['info']['lastpost'] = '<li class="info-lastpost"><span><small>'.format_time($cur_forum['last_post']).'</small></span>
<span><small>'.sprintf($lang_index['In topics']).'</small><a href="'.forum_link($forum_url['post'], $cur_forum['last_post_id']).'">'.forum_htmlencode($cur_forum['subject']).'</a></span>
<span><small>'.sprintf($lang_index['Last poster']).'<strong>'.forum_htmlencode($cur_forum['last_poster']).'</strong></small></span></li>';