';
if (!empty($context['topics']))
echo '
|
', $txt[70], $context['sort_by'] == 'subject' ? ' ' : '', ' |
', $txt[109], $context['sort_by'] == 'starter' ? ' ' : '', ' |
', $txt[110], $context['sort_by'] == 'replies' ? ' ' : '', ' |
', $txt[301], $context['sort_by'] == 'views' ? ' ' : '', ' |
', $txt[111], $context['sort_by'] == 'last_post' ? ' ' : '', ' | ';
else
echo '
', $context['showing_all_topics'] ? $txt[151] : $txt['unread_topics_visit_none'], ' | ';
echo '
';
foreach ($context['topics'] as $topic)
{
echo '
|
|
', $topic['first_post']['link'], ' ', $topic['pages'], '
', $txt['smf88'], ' ', $topic['board']['link'], ' |
', $topic['first_post']['member']['link'], ' |
', $topic['replies'], ' |
', $topic['views'] . ' |
', $topic['last_post']['time'], '
', $txt[525], ' ', $topic['last_post']['member']['link'], '
|
';
}
if (!empty($context['topics']) && !$context['showing_all_topics'])
echo '
', $txt['unread_topics_all'], ' |
';
echo '
|