', theme_linktree(); echo '

' . $context['page_title'] . '

'; if (isset ($context['moderators_list'])) { echo ' ', $context['moderators_list'], ''; } echo ' '; if (isset($context['boards']) && (!empty($options['show_children']) || $context['start'] == 0)) { echo '
'; foreach ($context['boards'] as $board) { echo ' '; } echo '
', $txt['parent_boards'], '
'; // Is this board itself new? if ($board['new']) echo '', $txt[333], ''; // Is one of this board's children new, then? elseif ($board['children_new']) echo '', $txt[333], ''; // I guess it's not new at all. else echo '', $txt[334], ''; echo ' ', $board['name'], '
', $board['description']; if (!empty($board['moderators'])) echo '
', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ': ', implode(', ', $board['link_moderators']), '
'; if (!empty($board['children'])) { $children = array(); foreach ($board['children'] as $child) { $child['link'] = '' . $child['name'] . ''; $children[] = $child['new'] ? '' . $child['link'] . '' : $child['link']; } echo '
', $txt['parent_boards'], ': ', implode(', ', $children), '
'; } echo '
', $board['posts'], ' ', $txt[21], ' ', $txt['smf88'], '
', $board['topics'],' ', $txt[330], '
'; if (!empty($board['last_post']['id'])) echo ' ', $txt[22], ' ', $txt[30], ' ', $board['last_post']['time'], '
', $txt['smf88'], ' ', $board['last_post']['link'], ' ', $txt[525], ' ', $board['last_post']['member']['link']; echo '
'; } if (!empty($options['show_board_desc']) && $context['description'] != '') { echo '
', $context['description'], '
'; } echo '
', $txt[139], ': ', $context['page_index'], $modSettings['topbottomEnable'] ? $context['menu_separator'] . '' . ($settings['use_image_buttons'] ? '' . $txt['topbottom5'] . '' : $txt['topbottom5']) . '' : '', ' ', theme_show_buttons(), '
'; if (true OR isset($_GET['debug'])) echo $context['alphabet_index']; echo '
'; // If Quick Moderation is enabled (and set to checkboxes - 1) start the form. if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) echo '
'; echo ' '; // Are there actually any topics to show? if (!empty($context['topics'])) { echo ' '; // Show a "select all" box for quick moderation? if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1) echo ' '; // If it's on in "image" mode, don't show anything but the column. elseif (!empty($options['display_quick_mod'])) echo ' '; } // No topics.... just say, "sorry bub". else echo ' '; echo ' '; foreach ($context['topics'] as $topic) { # if ($first_topic['is_sticky'] && !$topic['is_sticky']) { # $first_topic['is_sticky'] = 0; # // Display separator # if($context['user']['is_guest']) { # echo ''; # } else { # echo ''; # } # } if ($first_topic['is_sticky'] && !$topic['is_sticky']) { $first_topic['is_sticky'] = 0; // Display separator echo ''; } echo ' '; // Show the quick moderation options? if (!empty($options['display_quick_mod'])) { echo ' '; } echo ' '; } if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) { echo ' '; } echo '
'; $first_topic = current($context['topics']); echo ' ', $txt[70],' ', $txt[109], ' ', $txt[110], ' ', $txt[301], ' ', $txt[111], ' ', $txt[151], '
#
# # #
 '/*, $txt['non_sticky_topics']*/, '
 '/*, $txt['non_sticky_topics']*/, '
'; // Is this topic new? (assuming they are logged in!) if ($topic['new'] && $context['user']['is_logged']) echo ' ', $txt[302], ''; echo ' ', $topic['first_post']['link']; if (! empty ($topic['subtitle'])) echo '
', $topic['subtitle'], '
'; echo ' ', $topic['pages'], '
', $topic['first_post']['member']['link'], ' ', $topic['replies'], ' ', $topic['views'], ' '; /* if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif')) echo ' ', $txt[111], '';*/ echo ' ', $topic['last_post']['time'], '
', $txt[525], ' ', $topic['last_post']['member']['link'], '
'; if ($options['display_quick_mod'] == 1 && ($topic['quick_mod']['remove'] || $topic['quick_mod']['lock'] || $topic['quick_mod']['sticky'] || $topic['quick_mod']['move'])) echo ' '; else { // Check permissions on each and show only the ones they are allowed to use. if ($topic['quick_mod']['remove']) echo '', $txt[63], ''; if ($topic['quick_mod']['lock']) echo '', $txt['smf279'], ''; if ($topic['quick_mod']['lock'] || $topic['quick_mod']['remove']) echo '
'; if ($topic['quick_mod']['sticky']) echo '', $txt['smf277'], ''; if ($topic['quick_mod']['move']) echo '', $txt[132], ''; } echo '
'; if ($context['can_move']) { echo ' '; } echo '
'; // Finish off the form - again, if Quick Moderation is being done with checkboxes. (1) if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics'])) echo '
'; echo '
', $txt[139], ': ', $context['page_index'], $modSettings['topbottomEnable'] ? $context['menu_separator'] . '' . ($settings['use_image_buttons'] ? '' . $txt['topbottom4'] . '' : $txt['topbottom4']) . '' : '', ' ', theme_show_buttons(), '
'; // Show breadcrumbs at the bottom too? if ($settings['linktree_inline']) echo ' '; if (!empty($settings['display_who_viewing'])) { echo ' '; } echo '
', theme_linktree(), '

'; if ($settings['display_who_viewing'] == 1) echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt[19]; else echo $txt['who_viewing_board'],empty($context['view_members_list']) ? '0 ' . $txt[19] : implode(', ', $context['view_members_list']) . (empty($context['view_num_hidden']) || $context['can_moderate_forum'] ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')'); echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], '
', !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 '
:  
'; echo '
'; } function theme_show_buttons() { global $context, $settings, $options, $txt, $scripturl; $buttonArray = array(); // If they are logged in, and the mark read buttons are enabled.. if ($context['user']['is_logged'] && $settings['show_mark_read']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[300] . '' : $txt[300]) . ''; // If the user has permission to show the notification button... ask them if they're sure, though. if ($context['can_mark_notify']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[131] . '' : $txt[131]) . ''; // Are they allowed to post new topics? if ($context['can_post_new']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt[33] . '' : $txt[33]) . ''; // How about new polls, can the user post those? if ($context['can_post_poll']) $buttonArray[] = '' . ($settings['use_image_buttons'] ? '' . $txt['smf20'] . '' : $txt['smf20']) . ''; return implode($context['menu_separator'], $buttonArray); } ?>