Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/statistics_list.tpl
{if {$_CONF['info_row']['activate_last_static_list']} == 1}
				<br />
			   <table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
						<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&amp;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">&nbsp;{$lang['LastSubject']}</td>
					</tr>
<tr align="right">
						<td class="row3" width="145" valign="top">
							<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" title="{$latest_registered['register_date']}">
					                {else}
                               		<a href="index.php?page=profile&amp;show=1&amp;id={$latest_registered['id']}" title="{$latest_registered['register_date']}">
                                  {/if}
                                  	<?php
	                             	$num ='5';
	                                $text = $PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username'];
	                                 echo  $text = $PowerBB->functions->words_count($text,$num);
	                             	 if (strlen($PowerBB->_CONF['template']['while']['latest_registered'][$this->x_loop]['username']) > $num) {
		                            echo " ..";
		                            }
		                            ?>
		                            </a>
		                            </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" />&nbsp;
									{if {$_CONF['info_row']['rewriterule']} == '1'}
									<a href="t{$TopSubjectVisitor['id']}.html">
									{else}
									<a href="index.php?page=topic&amp;show=1&amp;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 ='5';
	                                $text = $PowerBB->_CONF['template']['while']['TopSubjectVisitor'][$this->x_loop]['title'];
	                                 echo  $text = $PowerBB->functions->words_count($text,$num);
	                             	 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&amp;show=1&amp;id={$TopMemberInvite['id']}">
									{/if}
									<span class="smallfont">
			                        <?php
	                             	$num ='5';
	                                $text = $PowerBB->_CONF['template']['while']['TopMemberInvite'][$this->x_loop]['username'];
	                                 echo  $text = $PowerBB->functions->words_count($text,$num);
	                             	 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>
									&nbsp;</td>
<td class="row3" align="right" nowrap="nowrap">
									&nbsp;{$lang['send_by']}</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" />&nbsp;
									{if {$_CONF['info_row']['rewriterule']} == '1'}
                             	<a href="t{$LastSubject['id']}.html" title="{$LastSubject['reply_date']}">
                             		{else}
									<a href="index.php?page=topic&amp;show=1&amp;id={$LastSubject['id']}" title="{$LastSubject['reply_date']}">
									{/if}
								<span class="smallfont">
                             	<?php
                             	$num ='8';
                                $text = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'];
                                 echo  $text = $PowerBB->functions->words_count($text,$num);
                             	 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&amp;show=1&amp;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">
									&nbsp;
									{if {$LastSubject['last_replier']} !=''}
                                                <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?>

										      {else}
                                     <?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>

										      {/if}
										      </span>
									</td>
								</tr>
								{/Des::while}
							</table>
						</td>
					</tr>
<tr align="right">
						<td class="thead1" width="145" valign="top">
							{$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" valign="top">
							<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&amp;show=1&amp;id={$TopSectionsList['id']}">
              		      	      {/if}
			                          <?php
		                             	$num ='5';
		                                $text = $PowerBB->_CONF['template']['while']['TopSectionsList'][$this->x_loop]['title'];
		                                 echo  $text = $PowerBB->functions->words_count($text,$num);
		                             	 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&amp;show=1&amp;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="100%" 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&amp;show=1&amp;id={$TopMemberReputation['id']}">
									{/if}
			                          <?php
		                             	$num ='5';
		                                $text = $PowerBB->_CONF['template']['while']['TopMemberReputation'][$this->x_loop]['username'];
		                                 echo  $text = $PowerBB->functions->words_count($text,$num);
		                             	 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}
				<br />
Return current item: PBBoard