', theme_linktree(), ''; // shall we use the tabs? if (!empty($settings['use_tabs'])) { // Display links to view all/search. echo ' '; foreach ($context['sort_links'] as $link) { if ($link['selected']) echo ' '; else echo ' '; } echo '
   ', $link['label'], '   ', $link['label'], '  
'; } echo ' '; // Old style tabs? if (empty($settings['use_tabs'])) { echo ' '; } echo ' '; // Display each of the column headers of the table. foreach ($context['columns'] as $column) { // We're not able (through the template) to sort the search results right now... if (isset($context['old_search'])) echo ' ', $column['label'], ''; // This is a selected solumn, so underline it or some such. elseif ($column['selected']) echo ' '; // This is just some column... show the link and be done with it. else echo ' ', $column['link'], ''; } echo ' '; // Assuming there are members loop through each one displaying their data. if (!empty($context['members'])) { foreach ($context['members'] as $member) echo ' '; } // No members? else echo ' '; // Show the page numbers again. (makes 'em easier to find!) echo '
'; $links = array(); foreach ($context['sort_links'] as $link) $links[] = ($link['selected'] ? '> ' : '') . '' . $link['label'] . ''; echo ' ', implode(' | ', $links), '
'; // Display page numbers and the a-z links for sorting by name if not a result of a search. if (!isset($context['old_search'])) echo '
', $txt[139], ': ', $context['page_index'], ' ', $context['letter_links'] . '
'; // If this is a result of a search then just show the page numbers. else echo ' ', $txt[139], ': ', $context['page_index']; echo '
' . $column['label'] . '
', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $member['online']['text'] . '' : $member['online']['label'], $context['can_send_pm'] ? '' : '', ' ', $member['link'], ' ', $member['hide_email'] ? '' : '' . $txt[69] . '', ' ', $member['website']['url'] != '' ? '' . $member['website']['title'] . '' : '', ' ', $member['icq']['link'], ' ', $member['aim']['link'], ' ', $member['yim']['link'], ' ', $member['msn']['link'], ' ', empty($member['group']) ? $member['post_group'] : $member['group'], ' ', $member['registered_date'], ' ', $member['posts'], ' ', $member['posts'] > 0 ? '' : '', '
', $txt[170], '
', $txt[139], ': ', $context['page_index'], '
'; // If it is displaying the result of a search show a "search again" link to edit their criteria. if (isset($context['old_search'])) echo '
', $txt['mlist_search2'], ''; } // A page allowing people to search the member list. function template_search() { global $context, $settings, $options, $scripturl, $txt; // Start the submission form for the search! echo '
'; // Display that link tree... echo '
', theme_linktree(), '
'; // Display links to view all/search. if (!empty($settings['use_tabs'])) { echo ' '; foreach ($context['sort_links'] as $link) { if ($link['selected']) echo ' '; else echo ' '; } echo '
   ', $link['label'], '   ', $link['label'], '  
'; } else { echo '
'; $links = array(); foreach ($context['sort_links'] as $link) $links[] = ($link['selected'] ? '> ' : '') . '' . $link['label'] . ''; echo ' ', implode(' | ', $links), '
'; } // Display the input boxes for the form. echo '

', $txt[582], ':




'; } ?>