0 Membros e 2 Visitantes estão a ver este tópico.
// Show statistical style information... if ($settings['show_stats_index']) { echo ' <div class="title_barIC"> <h4 class="titlebg"> <span class="ie6_header floatleft"> <a href="', $scripturl, '?action=stats"><img class="icon" src="', $settings['images_url'], '/icons/info.gif" alt="', $txt['forum_stats'], '" /></a> ', $txt['forum_stats'], ' </span> </h4> </div> <p> ', $context['common_stats']['total_posts'], ' ', $txt['posts_made'], ' ', $txt['in'], ' ', $context['common_stats']['total_topics'], ' ', $txt['topics'], ' ', $txt['by'], ' ', $context['common_stats']['total_members'], ' ', $txt['members'], '. ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br /> ', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>"' . $context['latest_post']['link'] . '"</strong> ( ' . $context['latest_post']['time'] . ' )<br />' : ''), ' <a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>', $context['show_stats'] ? '<br /> <a href="' . $scripturl . '?action=stats">' . $txt['more_stats'] . '</a>' : '', ' </p>'; } // "Users online" - in order of activity. echo ' <div class="title_barIC"> <h4 class="titlebg"> <span class="ie6_header floatleft"> ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who' . '">' : '', '<img class="icon" src="', $settings['images_url'], '/icons/online.gif', '" alt="', $txt['online_users'], '" />', $context['show_who'] ? '</a>' : '', ' ', $txt['online_users'], ' </span> </h4> </div> <p class="inline stats"> ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', comma_format($context['num_guests']), ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . comma_format($context['num_users_online']), ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users']; // Handle hidden users and buddies. $bracketList = array(); if ($context['show_buddies']) $bracketList[] = comma_format($context['num_buddies']) . ' ' . ($context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies']); if (!empty($context['num_spiders'])) $bracketList[] = comma_format($context['num_spiders']) . ' ' . ($context['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']); if (!empty($context['num_users_hidden'])) $bracketList[] = comma_format($context['num_users_hidden']) . ' ' . $txt['hidden']; if (!empty($bracketList)) echo ' (' . implode(', ', $bracketList) . ')'; echo $context['show_who'] ? '</a>' : '', ' </p> <p class="inline smalltext">'; // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link. if (!empty($context['users_online'])) { echo ' ', sprintf($txt['users_active'], $modSettings['lastActive']), ':<br />', implode(', ', $context['list_users_online']); // Showing membergroups? if (!empty($settings['show_group_key']) && !empty($context['membergroups'])) echo ' <br />[' . implode('] [', $context['membergroups']) . ']'; } echo ' </p> <p class="last smalltext"> ', $txt['most_online_today'], ': <strong>', comma_format($modSettings['mostOnlineToday']), '</strong>. ', $txt['most_online_ever'], ': ', comma_format($modSettings['mostOnline']), ' (', timeformat($modSettings['mostDate']), ') </p>'; // If they are logged in, but statistical information is off... show a personal message bar. if ($context['user']['is_logged'] && !$settings['show_stats_index']) { echo ' <div class="title_barIC"> <h4 class="titlebg"> <span class="ie6_header floatleft"> ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img class="icon" src="', $settings['images_url'], '/message_sm.gif" alt="', $txt['personal_message'], '" />', $context['allow_pm'] ? '</a>' : '', ' <span>', $txt['personal_message'], '</span> </span> </h4> </div> <p class="pminfo"> <strong><a href="', $scripturl, '?action=pm">', $txt['personal_message'], '</a></strong> <span class="smalltext"> ', $txt['you_have'], ' ', comma_format($context['user']['messages']), ' ', $context['user']['messages'] == 1 ? $txt['message_lowercase'] : $txt['msg_alert_messages'], '.... ', $txt['click'], ' <a href="', $scripturl, '?action=pm">', $txt['here'], '</a> ', $txt['to_view'], ' </span> </p>'; }
// Show statistical style information... if ($settings['show_stats_index']) { echo ' <div class="title_barIC"> <h4 class="titlebg"> <span class="ie6_header floatleft"> <a href="', $scripturl, '?action=stats"><img class="icon" src="', $settings['images_url'], '/icons/info.gif" alt="', $txt['forum_stats'], '" /></a> ', $txt['forum_stats'], ' </span> </h4> </div> <ul class="forum-static"> <li><div class="fullimg icon-1"></div><div class="forum-konusal"><span>',$context['num_users_online'],'</span><strong><a href="' . $scripturl . '?action=who' . '"> Membro Online</a></strong></div></li> <li><div class="fullimg icon-2"></div><div class="forum-konusal"><span>', $context['common_stats']['total_members'], '</span><strong> Total de membros</strong></div></li> <li><div class="fullimg icon-3"></div><div class="forum-konusal"><span>', $context['common_stats']['total_topics'], '</span><strong> Total de tópicos</strong></div></li> <li><div class="fullimg icon-4"></div><div class="forum-konusal"><span>', $context['common_stats']['total_posts'], ' </span><strong> Total de postes</strong></div></li> <li><div class="fullimg icon-5"></div><div class="forum-konusal"><br/>Bem-vindo ao nosso último membro de registro<br/> <b>' . $context['common_stats']['latest_member']['link'] . '</b> </div></li> </ul>'; }
ul.forum-static { width: 100%; list-style: outside none none; margin: 0px; padding: 0px; display: inline-block;}ul.forum-static li { padding: 0px;}ul.forum-static li { float: left; width: 19%; height: 90px; display: inline-block; margin-left: 6px; background: #FFF none repeat scroll 0% 0%; position: relative;}ul.forum-static li .forum-konusal { position: relative; top: 0px; right: 0px; width: 120px; height: 90px; text-align: center;}ul.forum-static li .forum-konusal span { position: absolute; top: 25px; right: 0px; width: 120px; font-size: 24px; text-align: center; padding-bottom: 5px;}ul.forum-static li .forum-konusal strong { position: absolute; top: 55px; right: 5px; width: 105px; font-size: 14px; text-align: center; font-weight: normal; border-top: 1px dotted #CCC; padding: 3px 5px 0px;}.fullimg { background-image: url(../images/sprite.png); background-repeat: no-repeat; background-position: left top; background-attachment: scroll; position: absolute; top: 24px; left: 120px; width: 42px; height: 41px;}ul.forum-static li .icon-1 { background-position: 0px -92px;}ul.forum-static li .icon-2 { background-position: 0px -1px;}ul.forum-static li .icon-3 { background-position: -51px -46px;}ul.forum-static li .icon-4 { background-position: 0px -46px;}ul.forum-static li .icon-5 { background-position: -51px -1px;}