كيف بحذف من قالب الاحصائيت
أكثر الأقسام شعبية
الأقوى سمعة
وبارك الله فيكم
قالب الاحصائيات مرفق
CODE
{if {$_CONF['info_row']['activate_last_static_list']} == 1}
<table border="0" cellspacing="0" width="98%" align="center">
<tr align="center">
<td class="tcat">
<span class="l-left">
<a onclick="switchMenuNone('statistics_list');"><img border="0" alt="" src="{$image_path}/collapse_b.gif" /></a>
</span>
<a title="{$lang['mor_static']}" href="index.php?page=static&index=1">
{$lang['last_static_num']}
</a>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="98%" class="border" id="statistics_list" align="center">
<tr align="right">
<td class="thead1" width="145" valign="top">{$lang['New_members']}</td>
<td class="thead1" width="180">{$lang['TopSubjectVisitor']}</td>
<td class="thead1" width="140">{$lang['TopMemberInvite']}</td>
<td class="thead1" width="250" valign="top"> {$lang['LastSubject']}</td>
</tr>
<tr align="right">
<td class="row3" width="145">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{Des::while}{latest_registered}
<tr style="vertical-align: top;">
<td class="row3" width="100%" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$latest_registered['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$latest_registered['id']}">
{/if}
<?php
$num ='20';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
<td class="row3" title="{$lang['date_register']}" width="1%" align="left" nowrap="nowrap">
<span class="smallfont">{$latest_registered['register_date']}</span></td>
</tr>
{/Des::while}
</table>
</td>
<td class="row3" width="180">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopSubjectVisitorNum} > 0}
{Des::while}{TopSubjectVisitor}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<img src="{$image_path}/post.gif" alt="" border="0" />
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$TopSubjectVisitor['id']}.html">
{else}
<a href="index.php?page=topic&show=1&id={$TopSubjectVisitor['id']}">
{/if}
<span class="smallfont">
<?php $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']); ?>
<?php
$num ='25';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title']) > $num) {
echo " ..";
}
?>
</span>
</a>
</td>
<td class="row3" title="{$lang['SubjectVisitor']}" width="1%" align="left" nowrap="nowrap">
{$TopSubjectVisitor['visitor']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Visits']}
{/if}
</table>
</td>
<td class="row3" width="140">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopMemberInviteNum} > 0}
{Des::while}{TopMemberInvite}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberInvite['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberInvite['id']}">
{/if}
<span class="smallfont">
<?php
$num ='25';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</span>
</a>
</td>
<td class="row3" title="{$lang['Invites']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberInvite['invite_num']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Invits']}
{/if}
</table>
</td>
<td class="row3" width="250" rowspan="3" valign="top">
<table style="height: 100%; border-collapse:collapse" width="100%" border="0" cellpadding="0">
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
{$lang['Subject']}</td>
<td>
</td>
<td class="row3" align="right" nowrap="nowrap">
{$lang['send_by']}</td>
<td class="row3" align="right" nowrap="nowrap">
{$lang['date']}</td>
</tr>
{Des::while}{LastSubject}
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']); ?>
<tr valign="top">
<td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap">
<img src="{$image_path}/post.gif" alt="" border="0" />
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="t{$LastSubject['id']}.html">
{else}
<a href="index.php?page=topic&show=1&id={$LastSubject['id']}">
{/if}
<span class="smallfont">
<?php
$num ='30';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']) > $num) {
echo " ...";
} ?>
</span>
</a>
</td>
<td class="row3" title="{$LastSubject['title']}" align="right" nowrap="nowrap">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$LastSubject['id']}.html">
{else}
<a target="_blank" href="index.php?page=topic&show=1&id={$LastSubject['id']}">
{/if}
<img src="{$image_path}/open.gif" alt="" border="0" /></a>
</td>
<td class="row3" title="{$LastSubject['last_replier']}" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$LastSubject['last_replier']} !=''}
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?>
{else}
<?php echo $PowerBB->functions->GetUsernameStyle($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
{/if}
</span>
</td>
<td class="row3" title="{$LastSubject['reply_date']}" width="1%" align="right" nowrap="nowrap">
<span class="smallfont"> {$LastSubject['reply_date']}</span>
</td>
</tr>
{/Des::while}
</table>
</td>
</tr>
<tr align="right">
<td class="thead1" width="145">
{$lang['most_popular_forums']}</td>
<td class="thead1" width="180">{$lang['Top_participants']}</td>
<td class="thead1" width="140">{$lang['strongest_reputation']}</td>
</tr>
<tr align="right">
<td class="row3" width="145">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopSectionListNum} >0}
{Des::while}{TopSectionsList}
<tr style="vertical-align: top;">
<td class="row3" title="{$TopSectionsList['title']}" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="f{$TopSectionsList['id']}.html">
{else}
<a href="index.php?page=forum&show=1&id={$TopSectionsList['id']}">
{/if}
<?php
$num ='35';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['TopSectionsList'][$this->x_loop]['title'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['TopSectionsList'][$this->x_loop]['title']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
<td class="row3" title="{$lang['posts']}" width="1%" align="left" nowrap="nowrap">
{$TopSectionsList['reply_num']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Posts']}
{/if}
</table>
</td>
<td class="row3" width="180">
<table width="100%" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$TopMemberListNum} > 0}
{Des::while}{TopMemberList}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberList['id']}.html">{$TopMemberList['username']}</a>
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberList['id']}">{$TopMemberList['username']}</a>
{/if}
</span>
</td>
<td class="row3" title="{$lang['posts']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberList['posts']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Posts']}
{/if}
</table>
</td>
<td class="row3" width="140">
<table width="140" border="0" cellpadding="0" style="border-collapse: collapse">
{if {$MemberReputationNum} > 0}
{Des::while}{TopMemberReputation}
<tr style="vertical-align: top;">
<td class="row3" align="right" nowrap="nowrap">
<span class="smallfont">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$TopMemberReputation['id']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$TopMemberReputation['id']}">
{/if}
<?php
$num ='25';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['TopMemberReputation'][$this->x_loop]['username'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['TopMemberReputation'][$this->x_loop]['username']) > $num) {
echo " ..";
}
?>
</a>
</span>
</td>
<td class="row3" title="{$lang['Reputable']}" width="1%" align="left" nowrap="nowrap">
{$TopMemberReputation['reputation']}</td>
</tr>
{/Des::while}
{else}
{$lang['No_Reputaions']}
{/if}
</table>
</td>
</tr>
</table>
{/if}