Вход Регистрация
Файл: base-sys/base/views/components/floatbox_user_list.html
Строк: 21
<?php
{style}{literal}
    
div.peep_floatbox_user_list .peep_floatbox_user_list_row .peep_item_set3 {
        
width31%;
    }

    .
peep_floatbox_user_list_scroll {
        
height400px;
        
overflow-yauto;
    }
{/
literal}{/style}

{if !empty(
$list)}
<
div class="peep_user_list peep_floatbox_user_list peep_full{if $scroll} peep_floatbox_user_list_scroll {/if}">
    {foreach 
from=$list item=id name='user_list'}

        {if 
$smarty.foreach.user_list.first}
            <
div class="clearfix peep_floatbox_user_list_row {cycle name="rows" values="peep_alt2peep_alt1"}">
        {/if}

        {
capture assign="_fields"}
            {if !empty(
$fields)}
                {foreach 
from=$fields[$iditem="field"}
                    {
$field.label}{$field.value}<br />
                {/foreach}
            {/if}
        {/
capture}

        {
assign var="username" value=$usernameList[$id]}

        {
assign var="name" value=$displayNameList[$id]}

        {
capture assign='userUrl'}
            {
url_for_route for="base_user_profile:[username=>$username]"}
        {/
capture}

        {
decorator name="user_list_item"
               
avatar=$avatarList[$id]
               
userUrl$userUrl
               username
=$username
               displayName
=$name
               fields
=$_fields
               activity
=''
               
set_class='peep_item_set3'}

        {if 
$smarty.foreach.user_list.iteration == && !$smarty.foreach.user_list.last}
            </
div>
            <
div class="clearfix peep_floatbox_user_list_row {cycle name="rows" values="peep_alt1,peep_alt2"}">
        {/if}

        {if 
$smarty.foreach.user_list.last}
          </
div>
        {/if}

    {/foreach}

</
div>
{else}
    <
center>{text key="base+user_no_users"}</center>
{/if}
?>
Онлайн: 2
Реклама