2011-01-25 12:05:11 +00:00
<!-- Defining object type -->
{lang code='collection' assign='object_type'}
< div style = "width:990px; margin:0px auto" >
2011-01-01 19:44:58 +00:00
{uploadButton details=$c output='link' target="_blank" class='moveR small_button non_button'}
2010-12-14 13:53:51 +00:00
< div class = "video_title" style = "padding-bottom:5px; margin-bottom:5px; border-bottom:1px solid #ccc;" > {$c.collection_name} < / div >
2010-12-28 13:56:44 +00:00
2010-11-04 07:53:16 +00:00
< div style = "font:normal 10px Tahoma; color:#333; padding-bottom:5px; margin-bottom:5px; border-bottom:1px solid #ccc;" > {lang code="by"|capitalize} < a href = "{$userquery->profile_link($c)}" > {$c.username|capitalize}< / a > - < a href = "{link name='user_videos'}{$c.username}" > {lang code="view"|capitalize} {$c.username|capitalize} {lang code="videos"|capitalize}< / a > {if $c.userid == $userquery->userid} - < a href = "{link name='edit_collection'}{$c.collection_id}" > {lang code="edit_collection"}< / a > - {link name='manage_items' assign='miLink'} < a href = "{$miLink|sprintf:$c.collection_id:$c.type}" > {lang code="manage_items"}< / a > {/if}< / div >
2010-12-14 13:53:51 +00:00
2010-11-04 07:53:16 +00:00
< div style = "clear:both;" > < / div >
2010-12-14 13:53:51 +00:00
<!-- <div style="height:1px; border - bottom:1px solid #ccc; margin:5px 0;"></div> -->
2010-12-23 16:56:33 +00:00
< div class = "moveL video_title" style = "font-size:14px; clear:both; margin-bottom:5px;" > {$c.type|capitalize} ({$c.total_objects})< / div >
2010-12-14 13:53:51 +00:00
< div class = "clear" > < / div >
< div class = "clearfix" style = "padding:10px; background:#f7f7f7; border:1px solid #ccc;" >
2011-01-01 19:44:58 +00:00
< div class = "collectionTable" >
< div id = "collectionItemsList" class = "clearfix" >
{section name=list loop=$objects}
{include file="$style_dir/blocks/collection.html" object=$objects[list] display_type=view_collection type=$c.type}
{sectionelse}
< div align = "center" style = "font:bold 11px Tahoma;" > {$c.collection_name} has 0 items.< / div >
{/section}
< / div >
< / div >
2010-11-04 07:53:16 +00:00
< / div >
2010-12-14 13:53:51 +00:00
< div id = "NewPagination" class = "moveR" > {include file="$style_dir/blocks/new_pagination.html"}< / div >
<!-- {include file="$style_dir/blocks/pagination.html"} -->
< div style = "padding-bottom:5px; height:1px; margin-bottom:5px; clear:both; border-bottom:1px solid #ccc;" > < / div >
2010-11-01 11:02:20 +00:00
< div class = "moveL" style = "width:200px; font:normal 11px Tahoma;" >
< span style = "color:#333; font-weight:bold;" > {lang code="date_added"}< / span >
< div style = "height:2px; clear:both;" > < / div >
{$c.date_added|niceTime}
< div style = "height:8px; clear:both;" > < / div >
< span style = "color:#333; font-weight:bold;" > {lang code="views"}< / span >
< div style = "height:2px; clear:both;" > < / div >
{$c.views|number_format} {lang code="views"}
< div style = "height:8px; clear:both;" > < / div >
< span style = "color:#333; font-weight:bold;" > {lang code="categories"}< / span >
< div style = "height:2px; clear:both;" > < / div >
2010-11-05 06:33:49 +00:00
{$c.category|categories:collections}
2010-11-01 11:02:20 +00:00
< div style = "height:8px; clear:both;" > < / div >
< span style = "color:#333; font-weight:bold;" > {lang code="tags"}< / span >
< div style = "height:2px; clear:both;" > < / div >
{$c.collection_tags|tags:collections}
< / div > <!-- moveL end -->
2010-12-23 16:56:33 +00:00
< div class = "clearfix" style = "width:77%; float:left;" >
< span style = "font:normal 11px Tahoma" > {$c.collection_description|description}< / span >
< div class = "borderLine" > < / div >
< div class = "video_actions_cont clearfix" >
{assign var=rating value=$cbcollection->collection_rating($c.collection_id,$c.type)}
< div class = "rating_container" >
{show_rating class='viewCollectionRating' rating=$rating total='10'}
< div style = "text-align:center; font:normal 10px Tahoma;" title = "Collection rating is based on it's objects average rating." > How we calculate rating ?< / div >
< / div >
< div class = "actions clearfix" style = "float:left; margin:8px 0 0 15px; padding:0px;" >
< ul >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#video_action_result_cont');add_to_fav('collection','{$c.collection_id}');" > < img src = "{$imageurl}/dot.gif" class = "add_to_fav" / > {lang code='add_to_favs'}< / a > < / li >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#share_form');$('#share_form').slideToggle();" > < img src = "{$imageurl}/dot.gif" class = "add_to_play" / > {lang code='share_this'}< / a > < / li >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#flag_item');$('#flag_item').slideToggle();" > < img src = "{$imageurl}/dot.gif" class = "report_this" / > {lang code='report_this'}< / a > < / li >
< / ul >
< / div >
< / div > <!-- video_actions_cont -->
< div class = "video_action_result_boxes" >
{show_share_form id=$c.collection_id type=Collection}
{show_flag_form id=$c.collection_id type=Collection}
< div class = "action_box" style = "display:none" id = "video_action_result_cont" > < / div >
< / div >
< / div > <!-- IN - LINE DIV END -->
< div style = "height:15px; clear:both;" > < / div >
< div class = "moveL" style = "width:60%" >
2011-01-25 12:05:11 +00:00
< div class = "" style = "font-size:12px; padding-bottom:5px; margin-bottom:5px; border-bottom:1px solid #ccc;" > < h2 class = "commentHead" > {lang code="comments"} ({$c.total_comments})< / h2 > < / div >
2010-12-14 13:53:51 +00:00
< div id = "collectionComments" >
{include file="$style_dir/blocks/comments/comments.html" id=$c.collection_id type='cl'}
< / div >
2010-12-23 16:56:33 +00:00
< / div >
< div class = "moveR collectionComments" style = "width:39%" >
2010-11-01 11:02:20 +00:00
< div style = "height:5px;" > < / div >
{if $myquery->is_commentable($c,'collection')}
{include file="$style_dir/blocks/comments/add_comment.html" id=$c.collection_id type='cl'}
{else}
< div class = "disable_msg" align = "center" > {lang code='comm_disabled_for_vid'}< / div >
2010-12-23 16:56:33 +00:00
{/if}
< / div >
2010-11-01 11:02:20 +00:00
< / div >