2014-02-05 12:26:01 +00:00
|
|
|
{if $display_type == "" || $display_type == "normal"}
|
2014-04-09 11:34:01 +00:00
|
|
|
<!--<div class="show-image col-md-4 col-sm-4 col-xs-6" style="padding: 0px">-->
|
|
|
|
<!--<div class="loading" id="photos">-->
|
|
|
|
<!--<span class="photoname col-md-4" id="avatar1_file" >{$collection.collection_name}</span>-->
|
|
|
|
<!--({$collection.total_objects} {$collection.type})-->
|
|
|
|
<!--<a href="{$cbphoto->photo_links($photo,'view_item')}" >-->
|
|
|
|
<!--<img src="{$cbcollection->get_thumb($collection,'small',TRUE)}"/>-->
|
|
|
|
<!--</a>-->
|
|
|
|
<!--</div>-->
|
|
|
|
<!--</div>-->
|
2014-04-03 14:15:38 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-10">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
2014-04-09 11:34:01 +00:00
|
|
|
<a href="">
|
|
|
|
<a href="{$cbcollection->collection_links($collection,'view')}"><img src="{$cbcollection->get_thumb($collection,'small')}" /></a>
|
|
|
|
</a>
|
2014-04-03 14:15:38 +00:00
|
|
|
</div>
|
2014-04-09 11:34:01 +00:00
|
|
|
<div class="col-md-9 show-image">
|
|
|
|
<a href="{$cbcollection->collection_links($collection,'view')}">{$collection.collection_name}</a> ({$collection.total_objects} {$collection.type})
|
|
|
|
|
|
|
|
<div class="labels" id="collection" style="display: none">
|
2014-04-03 14:15:38 +00:00
|
|
|
{if $collection.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
|
|
|
<span class="label {if $collection.active=='yes'}label-success{else}label-warning{/if}">{if $collection.active=='yes'}Active{else}NotActive{/if}</span>
|
|
|
|
<span class="label label-info"><strong>Type</strong> {$collection.type}</span>
|
|
|
|
<span class="label label-info"><strong>{$collection.date_added|niceTime}</strong> </span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-09 11:34:01 +00:00
|
|
|
<hr>
|
2014-04-03 14:15:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-05 12:26:01 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_type == "view_collection"}
|
|
|
|
|
2014-02-13 11:29:11 +00:00
|
|
|
<div class="collectItemBox">
|
|
|
|
{if $type == "videos"}
|
2014-02-05 12:26:01 +00:00
|
|
|
|
2014-02-13 11:29:11 +00:00
|
|
|
<div class="the_item col-md-2 col-lg-2 col-sm-4 col-xs-6">
|
|
|
|
<div class="onePhotoContainer">
|
|
|
|
<div class="onePhotoTitle">
|
|
|
|
<a href="{$cbphoto->photo_links($object,'view_item')}">{$object.video_title|truncate:15}</a>
|
|
|
|
</div>
|
2014-02-05 12:26:01 +00:00
|
|
|
|
2014-02-13 11:29:11 +00:00
|
|
|
<a href="{$cbphoto->photo_links($object,'view_item')}">
|
|
|
|
<img src="{getThumb vdetails=$object}" alt="{$object.title}" />
|
|
|
|
</a>
|
2014-02-05 12:26:01 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2014-02-13 11:29:11 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $type == "photos"}
|
|
|
|
<div class="the_item col-md-2 col-lg-2 col-sm-4 col-xs-6">
|
|
|
|
<div class="onePhotoContainer">
|
|
|
|
<div class="onePhotoTitle">
|
|
|
|
<a href="{$cbphoto->photo_links($object,'view_item')}">{$object.video_title|truncate:15}</a>
|
|
|
|
</div>
|
2014-02-05 12:26:01 +00:00
|
|
|
|
2014-02-13 11:29:11 +00:00
|
|
|
<a href="{$cbphoto->photo_links($object,'view_item')}">
|
|
|
|
{get_photo details=$object size='t' output='html' alt=$object.photo_title}
|
|
|
|
</a>
|
2014-02-05 12:26:01 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2014-02-13 11:29:11 +00:00
|
|
|
{/if}
|
|
|
|
</div>
|
2014-02-05 12:26:01 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_type == "user_collections"}
|
2014-02-13 11:29:11 +00:00
|
|
|
<div class="moveL">
|
|
|
|
<a href="{$cbcollection->collection_links($collection,'view')}" style="width:47px; height:47px;" title="{$collection.collection_name}">
|
|
|
|
<img src="{$imageurl}/dot.gif" style="background:url({$cbcollection->get_thumb($collection,'small')}) center top no-repeat;" />
|
|
|
|
</a>
|
2014-02-05 12:26:01 +00:00
|
|
|
</div>
|
2014-04-09 11:34:01 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
jQuery(function() { // <== Doc ready
|
|
|
|
|
|
|
|
jQuery(".collection").hide(); // Initially hide all buttons
|
|
|
|
|
|
|
|
jQuery('.show-image').hover(function() {
|
|
|
|
jQuery(this).find('#collection').fadeIn(1500);
|
|
|
|
}, function() {
|
|
|
|
jQuery(this).find('#collection').fadeOut(1500);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|