', theme_linktree(), ' '; // This is used to alternate the color of the background. $alternate = true; // For every member display their name, time and action (and more for admin). foreach ($context['members'] as $member) { // $alternate will either be true or false. If it's true, use "windowbg2" and otherwise use "windowbg". echo ' '; // Switch alternate to whatever it wasn't this time. (true -> false -> true -> false, etc.) $alternate = !$alternate; } echo '
', $txt['who_user'], ' ', $context['sort_by'] == 'user' ? '' : '', ' ', $txt['who_time'], ' ', $context['sort_by'] == 'time' ? '' : '', ' ', $txt['who_action'], '
'; // Guests don't have information like icq, msn, y!, and aim... and they can't be messaged. if (!$member['is_guest']) { echo '
', $context['can_send_pm'] ? '' : '', $settings['use_image_buttons'] ? '' . $member['online']['text'] . '' : $member['online']['text'], $context['can_send_pm'] ? '' : '', ' ', $member['icq']['link'], ' ', $member['msn']['link'], ' ', $member['yim']['link'], ' ', $member['aim']['link'], '
'; } echo ' ', $member['is_guest'] ? $member['name'] : '' . $member['name'] . '', ''; if (!empty($member['ip'])) echo ' (' . $member['ip'] . ')'; echo '
', $member['time'], ' ', $member['action'], '
', $txt[139], ': ', $context['page_index'], '
'; } ?>