2010-11-01 11:02:20 +00:00
|
|
|
{if $display_type == "" || $display_type == "normal"}
|
|
|
|
<div class="moveL grid_view" id="collection_{$collection.collection_id}">
|
|
|
|
<div class="vid_thumb">
|
2010-12-14 13:53:51 +00:00
|
|
|
<a href="{$cbcollection->collection_links($collection,'view')}"><img src="{$cbcollection->get_thumb($collection,'small')}" /></a>
|
2010-11-01 11:02:20 +00:00
|
|
|
<span class="vid_time" style="font:normal 10px Tahoma; padding:2px 4px;">{$collection.total_objects|number_format} {$collection.type|capitalize}</span>
|
|
|
|
</div>
|
|
|
|
<div class="vid_info_wrap">
|
|
|
|
<h2 class="title" style="font-family:Tahoma;"><a href="{$cbcollection->collection_links($collection,'view')}">{$collection.collection_name|truncate:30}</a></h2>
|
2010-11-05 06:33:49 +00:00
|
|
|
<p class="vid_info">{$collection.views} {lang code="views"}</p>
|
|
|
|
<p class="vid_info"><a href="{$userquery->profile_link($collection)}" title="{$collection.username}">{$collection.username|truncate:16}</a></p>
|
2010-12-14 13:53:51 +00:00
|
|
|
{assign var=rating value=$cbcollection->collection_rating($collection.collection_id,$collection.type)}
|
|
|
|
<div class="CollectionRating">{show_rating class='rating' rating=$rating total='10'}</div>
|
2010-11-01 11:02:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2010-11-04 07:53:16 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_type == "view_collection"}
|
2010-12-14 13:53:51 +00:00
|
|
|
<td class="collectItemBox">
|
2010-11-04 07:53:16 +00:00
|
|
|
{if $type == "videos"}
|
2010-12-14 13:53:51 +00:00
|
|
|
<div class="collect_grid">
|
|
|
|
<a class="CollectThumb" href="{$cbphoto->photo_links($object,'view_item')}">
|
|
|
|
<img src="{getThumb vdetails=$object}" alt="{$object.title}" width="120" height="70" />
|
|
|
|
</a>
|
|
|
|
</div> <!-- collection_{$collection.videokey} end -->
|
2010-11-04 07:53:16 +00:00
|
|
|
{/if}
|
2010-12-14 13:53:51 +00:00
|
|
|
|
|
|
|
{if $type == "photos"}
|
|
|
|
<div class="collect_grid" style="height:auto">
|
|
|
|
<a class="CollectThumb" href="{$cbphoto->photo_links($object,'view_item')}">
|
|
|
|
{get_photo details=$object size='t' output='html' alt=$object.photo_title}
|
|
|
|
</a>
|
|
|
|
</div> <!-- collection_{$object.photo_key} end -->
|
|
|
|
{/if}
|
|
|
|
</td>
|
2010-11-01 11:02:20 +00:00
|
|
|
{/if}
|