includes/acp/acp_topiclist.php
Найдите строки:
Код: Выделить всё
$pages = $row['topic_replies'] / $config['posts_per_page'];
$pages = (int) $pages;
if ($pages <= 1)
{
$html_content .= '<li><a href="' . $url . '/viewtopic.' . $phpEx . '?f=' . $row['forum_id'] . '&t=' . $row['topic_id'] . '">' . $row['topic_title'] . '</a></li>';
}
else
{
$html_content .= '<li><a href="' . $url . '/viewtopic.' . $phpEx . '?f=' . $row['forum_id'] . '&t=' . $row['topic_id'] . '">' . $row['topic_title'] . '</a><br />[ ';
for ($i=1; $i<=$pages; $i++)
{
$html_content .= '<a href="' . $url . '/viewtopic.' . $phpEx . '?f=' . $row['forum_id'] . '&t=' . $row['topic_id'] . '&start=' . $i * $config['posts_per_page'] . '">' . ($i+1) . '</a> ';
}
$html_content .= ']</li>';
}
Код: Выделить всё
$html_content .= '<li><a href="' . $url . '/viewtopic.' . $phpEx . '?f=' . $row['forum_id'] . '&t=' . $row['topic_id'] . '">' . $row['topic_title'] . '</a></li>';