2012-03-19 12:02:07 +02:00
|
|
|
<table class="table table-users">
|
2012-03-30 17:09:32 +03:00
|
|
|
{if $bUsersUseOrder}
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="table-users-cell-name"><a href="{$sUsersRootPage}?order=user_login&order_way={if $sUsersOrder=='user_login'}{$sUsersOrderWayNext}{else}{$sUsersOrderWay}{/if}">{$aLang.user}</a></th>
|
|
|
|
<th>{$aLang.user_date_last}</th>
|
|
|
|
<th><a href="{$sUsersRootPage}?order=user_date_register&order_way={if $sUsersOrder=='user_date_register'}{$sUsersOrderWayNext}{else}{$sUsersOrderWay}{/if}">{$aLang.user_date_registration}</a></th>
|
|
|
|
<th class="table-users-cell-skill"><a href="{$sUsersRootPage}?order=user_skill&order_way={if $sUsersOrder=='user_skill'}{$sUsersOrderWayNext}{else}{$sUsersOrderWay}{/if}">{$aLang.user_skill}</a></th>
|
|
|
|
<th class="table-users-cell-rating"><a href="{$sUsersRootPage}?order=user_rating&order_way={if $sUsersOrder=='user_rating'}{$sUsersOrderWayNext}{else}{$sUsersOrderWay}{/if}">{$aLang.user_rating}</a></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{else}
|
|
|
|
<thead>
|
2012-03-19 12:02:07 +02:00
|
|
|
<tr>
|
2012-03-30 17:09:32 +03:00
|
|
|
<th class="table-users-cell-name">{$aLang.user}</th>
|
|
|
|
<th>{$aLang.user_date_last}</th>
|
|
|
|
<th>{$aLang.user_date_registration}</th>
|
|
|
|
<th class="table-users-cell-skill">{$aLang.user_skill}</th>
|
|
|
|
<th class="table-users-cell-rating">{$aLang.user_rating}</th>
|
2012-03-19 12:02:07 +02:00
|
|
|
</tr>
|
2012-03-30 17:09:32 +03:00
|
|
|
</thead>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
{if $aUsersList}
|
|
|
|
{foreach from=$aUsersList item=oUserList}
|
|
|
|
{assign var="oSession" value=$oUserList->getSession()}
|
|
|
|
<tr>
|
|
|
|
<td class="table-users-cell-name"><a href="{$oUserList->getUserWebPath()}">{$oUserList->getLogin()}</a></td>
|
|
|
|
<td>{if $oSession}{date_format date=$oSession->getDateLast()}{/if}</td>
|
|
|
|
<td>{date_format date=$oUserList->getDateRegister()}</td>
|
|
|
|
<td class="table-users-cell-skill">{$oUserList->getSkill()}</td>
|
|
|
|
<td class="table-users-cell-rating"><strong>{$oUserList->getRating()}</strong></td>
|
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
<tr>
|
|
|
|
<td colspan="5">
|
|
|
|
{if $sUserListEmpty}
|
|
|
|
{$sUserListEmpty}
|
|
|
|
{else}
|
|
|
|
{$aLang.user_empty}
|
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
2012-03-19 12:02:07 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2012-03-30 17:09:32 +03:00
|
|
|
|
2012-03-19 12:02:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{include file='paging.tpl' aPaging="$aPaging"}
|