
Fixed : edit_photo.php. Moved photo_manager_link_callbacks() at top of page Updated : set_cover_photo method in collection.class.php Added : Manage Avatars link in account manager Added : Documentation for functions @functions_photos.php Fixed : Few functions Added : Front end dynamic photo manager links Added : New functions @functions_photos.php at the end Added : New functions for adding/displaying/getting manager orders Added : Dynamic order and Avatar manager in Photos Manager for front end Changed : view_channel playlist according to widgets. Now they will display perfect on both sides Added : images and css file
90 lines
No EOL
3.8 KiB
HTML
90 lines
No EOL
3.8 KiB
HTML
<div class="global-navigation-column pull-left">
|
|
{if $p.profile_desc}
|
|
<div class="cb-widget">
|
|
<h2 class="cb-widget-title">{if $p.profile_title}{$p.profile_title}{else}{lang code='About Me'}{/if}</h2>
|
|
{$p.profile_desc}
|
|
</div>
|
|
{/if}
|
|
<div class="cb-widget">
|
|
<h2 class="cb-widget-title">Playlists</h2>
|
|
<ul>
|
|
{section loop=3 name=play_loop}
|
|
<li>
|
|
<a href="#" class="playlist">
|
|
{$num=rand(1,4)}
|
|
{$loop_number=$num}
|
|
<div class="playlist-items-thumb inlineblock-fix playlist-{$loop_number}-items">
|
|
{section loop=$loop_number name=playlist_item}
|
|
{cycle values='HWSUABY1XKDU,7SGOR89H7SUA,9HW4G2B89X7D,DGABM1XW4UOB' assign='videokey'}
|
|
<div class="item-thumb"><img src="{get_thumb vdetails=$videokey}" /></div>
|
|
{/section}
|
|
</div>
|
|
<div class="playlist-name">Playlist Name long name</div>
|
|
<span class="playlist-count">{$loop_number} videos</span>
|
|
</a>
|
|
</li>
|
|
{/section}
|
|
</ul>
|
|
</div>
|
|
<div class="cb-widget">
|
|
<h2 class="cb-widget-title">{$u.username}</h2>
|
|
<dl class="dl-horizontal">
|
|
<dt>{lang code='Member Since'}</dt>
|
|
<dd>{$u.doj|date_format:"%B %e, %Y"}</dd>
|
|
|
|
<dt>{lang code='Last Login'}</dt>
|
|
<dd>{$u.last_logged|niceTime}</dd>
|
|
|
|
<dt>{lang code='Country'}</dt>
|
|
<dd>{$u.country|country}</dd>
|
|
</dl>
|
|
</div>
|
|
{$user_friends=$userquery->get_contacts($u.userid,'0','yes')}
|
|
{if $user_friends}
|
|
<div class="cb-widget">
|
|
<h2 class="cb-widget-title">{lang code='Friends'}</h2>
|
|
<ul>
|
|
{foreach $user_friends as $friend}
|
|
<li><a href="{$userquery->profile_link( $friend )}" class="clearfix"><img src="{avatar details=$friend size='small'}" class="pull-left marginR5" /> <div>{$friend.username}</div> <span class="muted">15 videos</span></a></li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
{/if}
|
|
|
|
{$avatar_collection=cb_user_avatar_collection($u)}
|
|
{$collection_limit=config(collection_channel_page)}
|
|
{$user_collections=get_collections(['user'=>$u.userid,'limit'=>$collection_limit,'date_added DESC'])}
|
|
{if $user_collections}
|
|
{$total=array_unshift( $user_collections, $avatar_collection)}
|
|
{else}
|
|
{if $avatar_collection}
|
|
{$user_collections.0=$avatar_collection}
|
|
{/if}
|
|
{/if}
|
|
{if $user_collections}
|
|
|
|
<div class="cb-widget">
|
|
<h2 class="cb-widget-title">{lang code='Collections'}</h2>
|
|
<ul>
|
|
{foreach from=$user_collections item=u_collection}
|
|
<li>
|
|
<a href="{$cbcollection->collection_links( $u_collection, 'vc' )}" class="user-thumb-container user-collections">
|
|
<div class="user-collection-thumb">
|
|
<img src="{$cbcollection->get_thumb($u_collection,'small')}" />
|
|
</div>
|
|
<div class="user-collection-details">
|
|
<div class="user-collection-title">{$u_collection.collection_name}</div>
|
|
<span class="muted">{$u_collection.total_objects|number_format} {lang code='photos'}</span>
|
|
</div>
|
|
<div class="user-collection-views">
|
|
{$u_collection.views|number_format} {lang code='views'}
|
|
</div>
|
|
</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
<div id="global-navgiation-full-height"></div> |