clipbucket/upload/styles/cb_27/layout/blocks/user.html
2014-12-09 13:37:45 +00:00

108 lines
No EOL
5.1 KiB
HTML

{if $block_type == '' || $block_type=='normal'}
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12" id="user-{$user.userid}">
<hr>
<div class="cb-user-thumb pull-left">
<a href="{$userquery->profile_link($user)}">
<img src="{$userquery->getuserthumb($user)}" class="img-circle full-width">
</a>
</div>
<div class="col-md-10">
<div class="pull-left">
<h4><a class="show" href="{$userquery->profile_link($user)}">{$user.username}</a></h4>
<ul class="list-unstyled">
{if isSectionEnabled('videos')}
<li class="label label-primary" style="display: inline">{$user.total_videos|number_format} {lang code="videos"}</li>
{/if}
{if isSectionEnabled('photos')}
<li class="label label-info" style="display: inline">{$user.total_photos|number_format} {lang code="photos"}</li>
{/if}
<li class="label label-info" style="display: inline">{$user.profile_hits|number_format} {lang code="views"}</li>
<li class="label label-danger" style="display: inline">{$user.subscribers|number_format} {lang code="subscribers"}</li>
<!--<li>{lang code="last_active"} : {$user.last_active|nicetime}</li>-->
</ul>
</div>
</div>
</div>
{/if}
{if $block_type=='groups_show'}
<div class="clearfix" id="user-{$user.userid}">
<div class="cb-user-thumb pull-left">
<a href="{$userquery->profile_link($user)}">
<img src="{$userquery->getuserthumb($user)}" class="full-width">
</a>
</div>
<div class="user-detail-block">
<div class="clearfix">
<h4><a class="show" href="{$userquery->profile_link($user)}">{$user.username}</a></h4>
<div class="clearfix info-box">
<div class="pull-left small"><span class="bg-eye"></span>&nbsp;<span>{$user.profile_hits|number_format} {lang code='views'}</span></div>
<div class="pull-right small"><span class="bg-videocam"></span>&nbsp;<span>{$user.total_videos|number_format} {lang code='Videos'}</span></div>
</div>
<div class="clearfix">
<div class="pull-left small"><span class="bg-photos"></span>&nbsp;<span>{$user.total_photos|number_format} {lang code="photos"}</span></div>
<div class="pull-right btn btn-xs btn-primary"><span>{$user.subscribers|number_format} {lang code="subscribers"}</span></div>
</div>
<!--<ul class="list-unstyled ">
{if isSectionEnabled('videos')}
<li class="label " style="display: inline">{$user.total_videos|number_format} {lang code="videos"}</li>
{/if}
{if isSectionEnabled('photos')}
<li class="label " style="display: inline">{$user.total_photos|number_format} {lang code="photos"}</li>
{/if}
<li class="label" style="display: inline">{$user.profile_hits|number_format} {lang code="views"}</li>
<li class="label" style="display: inline">{$user.subscribers|number_format} {lang code="subscribers"}</li>
*<li>{lang code="last_active"} : {$user.last_active|nicetime}</li>-->
<!--</ul>-->
</div>
</div>
<!-- <div class="user_icon">
<a href="{$userquery->profile_link($user)}">
<img class="opacity_low" src="{$imageurl}/user_next_icon.png" width="25" height="25" />
</a>
</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 group_thumb_member" id="user-{$user.userid}">
<a href="{$userquery->profile_link($user)}" title="{$user.username}">
<img class="group_thumb " 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}