1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-20 09:48:19 +03:00
ifhub.club/templates/skin/developer/actions/ActionPeople/index.tpl
2010-02-08 02:10:30 +00:00

39 lines
1.2 KiB
Smarty

{include file='header.tpl' menu='people'}
<div class="topic">
<h2>{$aLang.user_list} <span>({$aStat.count_all})</span></h2>
<ul class="block-nav">
<li {if $sEvent=='good'}class="active"{/if}><a href="{router page='people'}good/">{$aLang.user_good}</a></li>
<li {if $sEvent=='bad'}class="active"{/if}><a href="{router page='people'}bad/">{$aLang.user_bad}</a></li>
</ul>
{if $aUsersRating}
<table class="people">
<thead>
<tr>
<td class="user">{$aLang.user}</td>
<td class="strength">{$aLang.user_skill}</td>
<td class="rating">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersRating item=oUser}
<tr>
<td class="user"><a href="{router page='profile'}{$oUser->getLogin()}/"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" /></a><a href="{router page='profile'}{$oUser->getLogin()}/" class="link">{$oUser->getLogin()}</a></td>
<td class="strength">{$oUser->getSkill()}</td>
<td class="rating"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
{$aLang.user_empty}
{/if}
</div>
{include file='paging.tpl' aPaging=`$aPaging`}
{include file='footer.tpl'}