clipbucket/upload/styles/cb_2014/layout/blocks/user.html

57 lines
2.2 KiB
HTML
Raw Normal View History

{if $block_type == '' || $block_type=='normal'}
2014-02-07 13:26:05 +00:00
<div class="row user_block marginBottom" id="user-{$user.userid}">
<div class="col-md-3 thumb_container" >
<a href="{$userquery->profile_link($user)}">
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail">
</a>
</div>
<div class="col-md-9 prof_title">
<h4><a class="show" href="{$userquery->profile_link($user)}">{$user.username}</a></h4>
{if isSectionEnabled('videos')}
{$user.total_videos|number_format} {lang code="videos"}
{/if}<br>
{$user.profile_hits|number_format} {lang code="views"}<br>
{$user.subscribers|number_format} {lang code="subscribers"}<br>
{if isSectionEnabled('photos')}
{$user.total_photos|number_format} {lang code="photos"}<br>
{/if}
{lang code="last_active"} : {$user.last_active|nicetime}
</div>
</div>
{/if}
{if $block_type =='small'}
<div class="col-md-2" id="user-{$user.userid}" align="center">
<a href="{$userquery->profile_link($user)}">{$user.username}</a>
<a href="{$userquery->profile_link($user)}">
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_mid_thumb">
</a>
</div>
{/if}
{if $block_type =='medium'}
<div class="user_block_med" id="user-{$user.userid}">
<div class="thumb_container_medium" >
<a href="{$userquery->profile_link($user)}">
<img src="{$userquery->getuserthumb($user)}" class="img-thumbnail" class="user_thumb_medium">
</a>
</div>
<div class="prof_title"><a href="{$userquery->profile_link($user)}">{$user.username}</a></div>
{$user.total_videos|number_format} {lang code="videos"} {$user.profile_hits|number_format} {lang code="views"}
</div>
{/if}
{if $block_type == "friends"}
<div class="pull-left marginLeft" id="user-{$user.userid}">
<a href="{$userquery->profile_link($user)}" title="{$user.username}">
<img class="img-thumbnail" src="{avatar details=$user size='small'}" alt="{$user.username}" />
</a>
</div>
{/if}
{if $block_type == "topic_view"}
<div class="topicStarterAvatar moveL">
<i class="topicStarterAvatarBG" style="background:url({avatar details=$user }) center no-repeat; width:56px; height:56px;"><a href="{$userquery->profile_link($user)}">{$user.username}</a></i>
</div>
{/if}