66 lines
No EOL
2.8 KiB
HTML
66 lines
No EOL
2.8 KiB
HTML
|
|
{if $block_type == '' || $block_type=='normal'}
|
|
<div class="row margin-bottom-10" id="user-{$user.userid}">
|
|
<div class="col-md-2 paddingright0">
|
|
<a href="{$userquery->profile_link($user)}">
|
|
<img class="cb_img_thum" src="{$userquery->getUserThumb($user)}" style="border: 1px solid rgb(0, 0, 0); height: 60px; width: 60px;">
|
|
</a>
|
|
</div>
|
|
<div class="col-md-8 nopadding">
|
|
<div class="col-md-7 nopadding">
|
|
<a href="{$userquery->profile_link($user)}">
|
|
<h5 class="nomargin"><b>{$user.username} </b></h5></a>
|
|
</div>
|
|
|
|
<div class="col-md-9 prof_title nopadding">
|
|
<div class="row" >
|
|
<div class="col-md-5 small channels paddingright0">
|
|
{if isSectionEnabled('videos')}
|
|
{lang code="videos"}: {$user.total_videos|number_format}
|
|
{/if}
|
|
</div>
|
|
<div class="col-md-6 small channels paddingleft0" >
|
|
{lang code="subscribers"}: {$user.subscribers|number_format}
|
|
</div>
|
|
</div>
|
|
<button class="btn btn-primary btn-xs" >Subscribe</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="margin-top-bottom-5 margin-bottom-10">
|
|
{/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} |