1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00
ifhub.club/templates/skin/developer/user_list_avatar.tpl
2013-07-09 12:09:06 +07:00

25 lines
670 B
Smarty

{**
* Список пользователей (аватары)
*}
{if $aUsersList}
<ul class="user-list-avatar">
{foreach from=$aUsersList item=oUserList}
{assign var="oSession" value=$oUserList->getSession()}
<li>
<a href="{$oUserList->getUserWebPath()}"><img src="{$oUserList->getProfileAvatarPath(64)}" alt="avatar" class="avatar" /></a>
<a href="{$oUserList->getUserWebPath()}">{$oUserList->getLogin()}</a>
</li>
{/foreach}
</ul>
{else}
{if $sUserListEmpty}
<div class="notice-empty">{$sUserListEmpty}</div>
{else}
<div class="notice-empty">{$aLang.user_empty}</div>
{/if}
{/if}
{include file='pagination.tpl' aPaging=$aPaging}