2014-03-25 14:03:46 +00:00
|
|
|
|
|
|
|
{if $block_type == '' || $block_type=='normal'}
|
|
|
|
<div class="row" id="user-{$user.userid}">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<a href="{$userquery->profile_link($user)}">
|
2014-03-27 13:38:24 +00:00
|
|
|
<img class="border" src="{$userquery->getUserThumb($user)}" width="60" height="60">
|
2014-03-25 14:03:46 +00:00
|
|
|
<!--<img src="{$userquery->getuserthumb($user)}" class="img-circle">-->
|
|
|
|
</a>
|
|
|
|
</div>
|
2014-03-27 07:21:58 +00:00
|
|
|
<div class="col-md-7 channels1">
|
|
|
|
<b>Most Popular {$user.username}</b> <a href="{$userquery->profile_link($user)}"> </a>
|
2014-03-25 14:03:46 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-9 prof_title">
|
2014-03-27 07:21:58 +00:00
|
|
|
<div class="row pchannels">
|
|
|
|
<div class="col-md-3 channels ">
|
2014-03-25 14:03:46 +00:00
|
|
|
{if isSectionEnabled('videos')}
|
2014-03-27 07:21:58 +00:00
|
|
|
{lang code="videos"}: {$user.total_videos|number_format}
|
2014-03-25 14:03:46 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|
2014-03-27 07:21:58 +00:00
|
|
|
<div class="col-md-6 channels">
|
|
|
|
{lang code="subscribers"}: {$user.subscribers|number_format}
|
2014-03-25 14:03:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-03-27 07:21:58 +00:00
|
|
|
<button class="btn btn-primary btn-xs channels1">Subscribe</button>
|
2014-03-25 14:03:46 +00:00
|
|
|
</div>
|
2014-03-27 07:21:58 +00:00
|
|
|
|
2014-03-25 14:03:46 +00:00
|
|
|
</div>
|
|
|
|
|
2014-03-27 07:21:58 +00:00
|
|
|
|
2014-03-25 14:03:46 +00:00
|
|
|
<hr>
|
|
|
|
{/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}
|