2015-08-03 11:35:01 +02:00
|
|
|
{loop="$users"}
|
2015-08-19 11:28:28 +02:00
|
|
|
<li class="{if="$value->description != ''"}condensed{/if} block" style="background-image: url();" onclick="Contact_ajaxGetContact('{$value->jid}', {$page});">
|
2015-08-03 11:35:01 +02:00
|
|
|
{$url = $value->getPhoto('s')}
|
|
|
|
{if="$url"}
|
|
|
|
<span class="icon bubble">
|
|
|
|
<img src="{$url}">
|
|
|
|
</span>
|
|
|
|
{else}
|
|
|
|
<span class="icon bubble color {$value->jid|stringToColor}">
|
|
|
|
<i class="zmdi zmdi-account"></i>
|
|
|
|
</span>
|
|
|
|
{/if}
|
2015-08-19 11:28:28 +02:00
|
|
|
|
2015-08-03 11:35:01 +02:00
|
|
|
<span>{$value->getTrueName()}</span>
|
2015-08-19 11:28:28 +02:00
|
|
|
|
|
|
|
{if="$value->getAge()"}
|
|
|
|
<span class="info">{$c->__('age.years', $value->getAge())}</span>
|
|
|
|
{/if}
|
|
|
|
{if="$value->getGender()"}
|
|
|
|
<span class="info">{$value->getGender()}</span>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if="$value->description != ''"}
|
|
|
|
<p>
|
|
|
|
{$value->description|strip_tags}
|
|
|
|
</p>
|
|
|
|
{/if}
|
2015-08-03 11:35:01 +02:00
|
|
|
</li>
|
|
|
|
{/loop}
|
|
|
|
{if="$pages"}
|
|
|
|
<li class="block condensed">
|
|
|
|
<span class="icon gray">
|
|
|
|
<i class="zmdi zmdi-my-library-books"></i>
|
|
|
|
</span>
|
|
|
|
{loop="$pages"}
|
|
|
|
<a onclick="Contact_ajaxPublic('{$key}');" class="button flat {if="$key == $page"}on{/if}">{$key+1}</a>
|
|
|
|
{/loop}
|
|
|
|
</li>
|
|
|
|
{/if}
|