2016-05-05 11:55:56 +05:00
|
|
|
{if $collection.type == 'photos'}
|
|
|
|
{$type = 'p'}
|
|
|
|
{else}
|
|
|
|
{$type = 'v'}
|
|
|
|
{/if}
|
2016-05-05 12:46:06 +05:00
|
|
|
|
|
|
|
{if $type == 'p'}
|
2016-05-04 20:32:31 +05:00
|
|
|
<div class="collection-holder">
|
|
|
|
<div class="photo-block">
|
|
|
|
<a href="{$baseurl}/view_collection.php?cid={$collection.collection_id}&type={$collection.type}" title="{$collection.collection_name}">
|
|
|
|
<img alt="{$collection.title}" title="{$collection.title}" class="img-responsive" id="photo_{$collection.ci_id}" src="{$first_col_thumb}">
|
|
|
|
<div class="collection-info">
|
|
|
|
<span>{$collection.total_objects}</span>{lang code="photos"}
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<img src="{$theme}/images/photo-bg.png" alt="" class="photo-bg">
|
|
|
|
</div>
|
2016-05-05 12:46:06 +05:00
|
|
|
<span class="title">{$collection.collection_name}</span>
|
|
|
|
{else}
|
|
|
|
<div class="collection-holder">
|
|
|
|
<div class="photo-block">
|
|
|
|
<a href="{$baseurl}/view_collection.php?cid={$collection.collection_id}&type={$collection.type}" title="{$collection.collection_name}">
|
|
|
|
<img alt="{$collection.title}" title="{$collection.title}" class="img-responsive" id="photo_{$collection.ci_id}" src="{$first_col_thumb}">
|
|
|
|
<div class="collection-info">
|
|
|
|
<span>{$collection.total_objects}</span>{lang code="videos"}
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<img src="{$theme}/images/photo-bg.png" alt="" class="photo-bg">
|
|
|
|
</div>
|
|
|
|
<span class="title">{$collection.collection_name}</span>
|
|
|
|
{/if}
|