Resimlerin Görüntülenmesine İzin Verilmiyor.
Üye Ol ya da
Giriş YapAdminlerim eğer verildiyse özür dilerim
boardindex.templateyi açın
Bu kodu bulun
// Show YaBB SP1 style information...
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="middletext">
', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
<br /> ' . $txt[659] . ': <b>"' . $context['latest_post']['link'] . '"</b> ( ' . $context['latest_post']['time'] . ' )<br />
<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</span>
</td>
</tr>';
}
bununla değiştirin
// Show style information...
if ($settings['show_sp1_info'])
{
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[645], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a>
</td>
<td class="windowbg2" width="100%">
<span class="middletext">';
// Forum istatistikleri
global $db_prefix,$modSettings;
$istatistik1 = '<img align="absmiddle" src="'. $settings['images_url']. '/istatistik1.gif" alt="" border="0" style="margin:0 2px 0 0;" />';
$today = strtotime("24 hours ago");
date('j') == 1 ? $thismonth = $today : $thismonth = strtotime(date('F') . ' 1');
date('l') == 'Sunday' ? $thisweek = $today : $thisweek = strtotime('last Sunday');
date('M') == 'January' ? $thisyear = $thismonth : $thisyear = strtotime('January 1');
$query = db_query("SELECT
COUNT(dateRegistered > $thisyear OR NULL) as year,
COUNT(dateRegistered > $thismonth OR NULL) as month,
COUNT(dateRegistered > $thisweek OR NULL) as week,
COUNT(dateRegistered > $today OR NULL) as today
FROM {$db_prefix}members
WHERE is_activated = 1", __FILE__, __LINE__);
$row = mysql_fetch_assoc($query);
settype($row['today'], "integer");
settype($row['week'], "integer");
settype($row['month'], "integer");
echo '
<table width="100%" border="1" cellspacing="0" cellpadding="1">
<tr>
<td width="25%">
' , $istatistik1 , '<font style="font-size: 8pt">', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b></td><td width="16%">
' , $istatistik1 , '<font style="font-size: 8pt">Toplam Üye:', $context['common_stats']['total_members'], '</font>
</td><td width="12%">
' , $istatistik1 , '<font style="font-size: 8pt">Bu Ay: ' , $row['month'] , '</font></td><td width="12%">
' , $istatistik1 , '<font style="font-size: 8pt">Bu Hafta: ' , $row['week'], '</font></td><td width="12%">' , $istatistik1 , '<font style="font-size: 8pt">Bugün:' , $row['today'] , '</font>
';
echo'
</td><td>' , $istatistik1 , '<a href="' . $scripturl . '?action=stats"><font style="font-size: 8pt">' . $txt['smf223'] . '</font></a>
</td>
</tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="1">
<tr>
<td width="41%">
' , $istatistik1 , '<font style="font-size: 8pt">' . $txt[659] . ': <b>"' . $context['latest_post']['link'] . '</font></td><td width="18%">
' , $istatistik1 , '<font style="font-size: 8pt">Toplam Konu:', $context['common_stats']['total_topics'], '</font></td><td width="18%">
' , $istatistik1 , '<font style="font-size: 8pt">Toplam Mesaj:', $context['common_stats']['total_posts'], '</font></td><td>
' , $istatistik1 , '<a href="', $scripturl, '?action=recent"><font style="font-size: 8pt">[Son Gönderilen Mesajlar]</font></a>
</td>
</tr>
</table>
</span>
</td>
</tr>';
}
ALİntı