', $txt['who_title'], '

', $txt['who_show'], '
'; foreach ($context['members'] as $member) { echo ' '; } // No members? if (empty($context['members'])) echo ' '; echo '
', $txt['who_user'], $context['sort_by'] == 'user' ? '' : '', ' ', $txt['who_time'], $context['sort_by'] == 'time' ? '' : '', ' ', $txt['who_action'], '
'; // Guests can't be messaged. if (!$member['is_guest']) echo ' ', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' : $member['online']['label'], $context['can_send_pm'] ? '' : '', ' '; echo ' ', $member['is_guest'] ? $member['name'] : '' . $member['name'] . '', ' '; if (!empty($member['ip'])) echo ' (' . str_replace(':', ':​', $member['ip']) . ')'; echo ' ', $member['time'], ' '; if (is_array($member['action'])) { $tag = !empty($member['action']['tag']) ? $member['action']['tag'] : 'span'; echo ' <', $tag, !empty($member['action']['class']) ? ' class="' . $member['action']['class'] . '"' : '', '> ', $txt[$member['action']['label']], (!empty($member['action']['error_message']) ? $member['action']['error_message'] : ''), ' '; } else echo $member['action']; echo '
', $txt['who_no_online_' . ($context['show_by'] == 'guests' || $context['show_by'] == 'spiders' ? $context['show_by'] : 'members')], '
', $txt['who_show'], '
'; } /** * This displays a nice credits page */ function template_credits() { global $context, $txt; // The most important part - the credits :P. echo '

', $txt['credits'], '

'; foreach ($context['credits'] as $section) { if (isset($section['pretext'])) echo '

', $section['pretext'], '

'; if (isset($section['title'])) echo '

', $section['title'], '

'; echo '
'; foreach ($section['groups'] as $group) { echo '
', isset($group['title']) ? '' . $group['title'] . '' : '', '
'; $names = sentence_list($group['members']); echo sprintf($txt['credits_list'], $names); echo '
'; } echo '
'; if (isset($section['posttext'])) echo '

', $section['posttext'], '

'; echo '
'; } // Other software and graphics if (!empty($context['credits_software_graphics'])) { echo '

', $txt['credits_software_graphics'], '

'; if (!empty($context['credits_software_graphics']['graphics'])) echo '
', $txt['credits_graphics'], '
', implode('
', $context['credits_software_graphics']['graphics']), '
'; if (!empty($context['credits_software_graphics']['software'])) echo '
', $txt['credits_software'], '
', implode('
', $context['credits_software_graphics']['software']), '
'; if (!empty($context['credits_software_graphics']['fonts'])) echo '
', $txt['credits_fonts'], '
', implode('
', $context['credits_software_graphics']['fonts']), '
'; echo '
'; } // How about Modifications, we all love em if (!empty($context['credits_modifications']) || !empty($context['copyrights']['mods'])) { echo '

', $txt['credits_modifications'], '

'; } // SMF itself echo '

', $txt['credits_forum'], ' ', $txt['credits_copyright'], '

', $context['copyrights']['smf'], '
'; } ?>