', $txt[102], ' |
';
// Prepare all the javascript settings.
echo '
', $context['news_lines'][0], '
|
'; // 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), ' |
', $txt[333], ' ', $txt[334], ' | ';
// Mark read button.
$mark_read_button = array('markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']));
// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '
|