
boardIndex.template.php
Bul
// 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>
<>
<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>
<>
<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.Degistir
// Show statistical style information...
if ($settings['show_stats_index'])
{
echo '
<div class="stats_custom">
<div class="col_left">
<h3><img src="'.$settings['images_url'].'/theme/chart.png" alt=""/>FORUM İSTATİSTİKLERİ</h3>
<span class="stats_nkn">', $context['common_stats']['total_posts'], ' </span>', $txt['posts_made_nkn'], '<br />
<div class="line"><>
<span class="stats_nkn">', $context['common_stats']['total_topics'], '</span> ', $txt['topics_nkn'], '<br />
<div class="line"><>
<span class="stats_nkn">', $context['common_stats']['total_members'], '</span> ', $txt['members_nkn'], '<br />
<div class="line"><>
<>
<div class="col_center">
<h3><img src="'.$settings['images_url'].'/theme/chart_pie.png" alt=""/>KONULAR/KAYITLAR</h3>
<a class="lastest_member_nkn"><img src="'.$settings['images_url'].'/theme/user.png" alt=""/>', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br /></a>
<div class="line"><>
<a class="lastest_topic_nkn"><img src="'.$settings['images_url'].'/theme/comments.png" alt=""/>', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>"' . $context['latest_post']['link'] . '"</strong> ( ' . $context['latest_post']['time'] . ' )<br />' : ''), '</a>
<div class="line"><>
<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['more_stats'] . '</a>' : '', '
<>
<>';
}
// "Users online" - in order of activity.
echo '
<div class="stats_custom">
<div class="users_online_nkn">
<h3><img src="'.$settings['images_url'].'/theme/help.png" alt=""/>ONLINE KULLANICILAR?</h3>
<div class="users_online3_nkn">
<img src="'.$settings['images_url'].'/theme/users.png" alt=""/>', $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>' : '', '
<>
<div class="line"><>
<div class="users_online2_nkn">
<h3><img src="'.$settings['images_url'].'/theme/favorite.png" alt=""/>AKTIF ÜYELER?</h3>';
// 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']);
echo'<div class="line"><>';
// Showing membergroups?
if (!empty($settings['show_group_key']) && !empty($context['membergroups']))
echo '
<br />[' . implode('] [', $context['membergroups']) . ']
<div class="line"><>';
}
echo '
<>
<div class="maxonline_nkn">
', $txt['most_online_today'], ': <span class="stats_nkn">', comma_format($modSettings['mostOnlineToday']), '</span>
', $txt['most_online_ever'], ': <span class="stats_nkn">', comma_format($modSettings['mostOnline']), '</span>
<>
<div class="line"><>
<>';
// If they are logged in, but statistical information is off... show a personal message bar.index.css de en alta ekle
/*CUSTOM STATS NEEKIINH0*/
div.col_left{
background: none;
font-size: 12px;
font-weight: lighter;
margin: 0 15px 5px;
text-shadow: 1px 1px 1px #FFFFFF;
color: #343434;
width: 420px;
}
div.col_left h3 {
font-size: 14px;
margin-bottom: 14px;
}
div.line {
border-bottom: 1px solid #fff;
width: 360px;
margin: 2px 0 2px 0;
}
div.col_center {
float: right;
margin-top: -172px;
background: none;
width: 520px;
font-size: 12px;
font-weight: lighter;
text-shadow: 1px 1px 1px #FFFFFF;
color: #343434;
}
div.col_center h3 {
padding-top: 13px;
font-size: 14px;
margin-bottom: 14px;
}
.stats_nkn{
background: none repeat scroll 0 0 #000000;
border: 1px solid #FFFFFF;
border-radius: 5px 5px 5px 5px;
color: #FFFFFF;
height: 30px;
line-height: 30px;
margin: 0 10px 0 0;
padding: 5px 10px;
text-shadow: 0 1px 0 #000000;
}
.stats_custom{
background: url(../images/theme/bg_nkn.png) repeat-x scroll 0 0 #CBC9C9;
height: 170px;
}
a.lastest_member_nkn{
text-decoration: none;
}
a.lastest_topic_nkn{
text-decoration: none;
}
.users_online_nkn{
margin: 0 15px 5px;
}
div.users_online2_nkn{
float: right;
margin-top: -93px;
text-shadow: 1px 1px 1px #FFFFFF;
color: #343434;
width: 505px;
}
div.users_online2_nkn h3{
padding-top: 13px;
font-size: 14px;
margin-bottom: 14px;
}
div.users_online3_nkn{
margin-top: 12px;
font-size: 15px;
text-shadow: 1px 1px 1px #FFFFFF;
color: #343434;
}
div.maxonline_nkn {
margin-top: 4px;
text-shadow: 1px 1px 1px #FFFFFF;
color: #343434;
}
div.users_online_nkn h3{
font-size: 14px;
}
/*CUSTOM STATS NEEKIINH0*/Modifications.turkish.php
yada
Modifications.turkish-utf8.php
alta ekle
$txt['posts_made_nkn'] = 'Toplam Konular';
$txt['topics_nkn'] = 'Acilan Konulara Verilen Cevaplar';
$txt['members_nkn'] = 'Kayıtlı Kullanıcılar';Ozelikle belirtiyim kodlar gelistirmeye acik istediginiz gibi gelistire bilirsiniz div lere dikat fazla div kulanmayin
ekteki rar dosyasindaki ikonlari
kulandiginiz tema images/theme kilasorune atin