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" >
< a href = "{$cbcollection->collection_links($collection,'view')}" > < img src = "{$cbcollection->get_thumb($collection)}" / > < / a >
< 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 >
{$cbcollection->collection_rating($collection.collection_id,"videos")}
2010-11-01 11:02:20 +00:00
< / div >
< / div >
2010-11-04 07:53:16 +00:00
{/if}
{if $display_type == "view_collection"}
{if $type == "videos"}
< div class = "moveL collect_grid{if $smarty.section.o_list.first} selected{/if}" onclick = "get_item('{$object.ci_id}','{$object.collection_id}','{$type}')" id = "item_{$object.ci_id}" >
< div class = "vid_thumb" >
< a href = "{videoLink vdetails=$object}" > < img src = "{getThumb vdetails=$object}" alt = "{$object.title}" / > < / a >
< / div >
< div style = "height:4px;" > < / div >
< span class = "obj_title" > < a href = "{videoLink vdetails=$object}" target = "_blank" title = "Go to video page" style = "font:bold 11px Tahoma;" > {$object.title|truncate:26}< / a > < / span >
< div style = "height:5px;" > < / div >
{show_rating class='rating' rating=$object.rating ratings=$object.rated_by total='10'}
< / div > <!-- collection_{$collection.collection_id} end -->
{/if}
2010-11-01 11:02:20 +00:00
{/if}