'; // If the board is new, show a strong indicator. if ($board['new']) echo ''; // This board doesn't have new posts, but its children do. elseif ($board['children_new']) echo ''; // No new posts at all! The agony!! else echo ''; echo ' |
', $board['name'], ' ', $board['description']; // Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.) if (!empty($board['moderators'])) echo ' ', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ': ', implode(', ', $board['link_moderators']), ' ';
// Show some basic information about the number of posts, etc.
echo '
|
', $board['posts'], ' ', $txt[21], ' ', $board['topics'],' ', $txt[330], ' |
';
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
', $txt[22], ' ', $txt[525], ' ', $board['last_post']['member']['link'] , ' ', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[30], ' ', $board['last_post']['time']; echo ' |
', $txt['parent_boards'], ': ', implode(', ', $children), ' |
', $context['description'], ' |
', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' ' . $txt['topbottom5'] . '' : '', ' |
|
', $txt[139], ': ', $context['page_index'], !empty($modSettings['topbottomEnable']) ? $context['menu_separator'] . ' ' . $txt['topbottom4'] . '' : '', ' |
|
', !empty($modSettings['enableParticipation']) ? '
' . $txt['participation_caption'] . ' ' : '', ' ' . $txt[457] . ' ' . $txt[454] . ' ' . $txt[455] . ' |
' . $txt[456] . ' ' . ($modSettings['enableStickyTopics'] == '1' ? ' ' . $txt['smf96'] . ' ' : '') . ($modSettings['pollMode'] == '1' ? ' ' . $txt['smf43'] : '') . ' | ';
echo '