clipbucket/upload/styles/cbv2new/layout/collections.html
Arslan Hassan ee101b63b9 Fixed : Current page and Next Page
Fixed : Photo Download Issue
Fixed : Video by filename issue
Added : ClipBucket Security Key
Fixed : SEO URls little more
Cleaned : Functions
Added : Logout Hooks
Added : Module
Added : Signup Hooks
2012-03-17 12:50:07 +00:00

162 lines
No EOL
4.9 KiB
HTML

<div id="wrap">
<div class="inner_wrap">
{assign var=sort value=$smarty.get.sort|replace:'most_commented':'commented'}
<div class="itemListTitle br3 b89" id="sortingDD">
{lang code=$sort} <span class="itemListTitleArrow"></span>
<div style="border-bottom:1px solid #ddd; width:150px; position:absolute;bottom:-2px; left:0px"></div>
<div class="itemListDD br3_bottom b89" style="display:none" id="sortingDDList">
<ul>
{assign var=sorting_links value=func->sorting_links()}
{foreach from=$sorting_links item=name key=sort name=sorts}
<li><a href="{link name=sort sort=$sort type=videos}">{$name}</a></li>
{/foreach}
</ul>
</div>
</div>
{assign var=time_frame value=$smarty.get.time|replace:'_':''"}
<div class="itemListTitle br3 b89" id="timingDD">
{lang code=$time_frame} <span class="itemListTitleArrow"></span>
<div style="border-bottom:1px solid #ddd; width:150px; position:absolute;bottom:-2px; left:0px"></div>
<div class="itemListDD br3_bottom b89" style="display:none" id="timingDDList">
<ul>
{assign var=time_links value=func->time_links()}
{foreach from=$time_links item=name key=sort name=times}
<li><a href="{link name=time sort=$sort type=videos}">{$name}</a></li>
{/foreach}
</ul>
</div>
</div>
{cbCategories assign="category_list" type='v' with_all=TRUE echo=TRUE}
<div class="itemListTitle br3 b89" id="catDD" style="float:right">
{if $smarty.get.cat == 'all' || $smarty.get.cat == ''}
All Categories
{else}
{$cbvid->get_category_field($smarty.get.cat,'category_name')}
{/if}
<span class="itemListTitleArrow"></span>
<div style="border-bottom:1px solid #ddd; width:150px; position:absolute;bottom:-2px; left:0px"></div>
<div class="itemListDD br3_bottom b89" style="display:none" id="catDDList">
{if $category_list}
<ul>
{$category_list}
</ul>
{/if}
</div>
</div>
<div style="clear:both"></div>
</div>
<script>
{literal}
$('#sortingDD')
.bind('mouseenter',function(){ $('#sortingDDList').show()});
$('#sortingDDList,#sortingDD').bind('mouseleave',function(){ $('#sortingDDList').hide() });
$('#timingDD')
.bind('mouseenter',function(){ $('#timingDDList').show()});
$('#timingDDList,#timingDD').bind('mouseleave',function(){ $('#timingDDList').hide() });
$('#catDD')
.bind('mouseenter',function(){ $('#catDDList').show()});
$('#catDDList,#catDD').bind('mouseleave',function(){ $('#catDDList').hide() });
{/literal}
</script>
<div class="break2"></div>
<div class="inner_wrap clearfix">
{section name=v_list loop=$videos}
{include file="$style_dir/blocks/video.html"
view_video="normal" video=$videos[v_list] number=$smarty.section.v_list.iteration}
{sectionelse}
{lang code='no_results_found'}
{/section}
<div class="clear"></div>
{include file="$style_dir/blocks/pagination.html"}
</div> <!--inner_wrap end-->
</div>
<!-- Listing Categories -->
{include file="$style_dir/blocks/category_list.html" type='collections'}
<!-- Listing Categories End -->
<div style="width:620px; float:left" class="vid_page_conainer" >
<div class="sort_cont">
<ul>
<li>{lang code='sort_by'} :</li>
{assign var=sorting_links value=$cbcollection->sorting_links()}
{foreach from=$sorting_links item=name key=sort}
<li {if $smarty.get.sort==$sort} class="selected"{/if}><a href="{link name=sort sort=$sort type='collections'}">{$name}</a></li>
{/foreach}
</ul>
</div>
<div class="time_cont">
{assign var=time_links value=func->time_links()}
{foreach from=$time_links item=name key=sort name=times}
<a href="{link name=time sort=$sort type='collections'}" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a> {if !$smarty.foreach.times.last}|{/if}
{/foreach}
</div>
<div class="time_cont" align="right">
<span class="cb_fb_style_button"><a href="{$baseurl}/manage_collections.php?mode=add_new">{lang code='add_new_collection'}</a></span>
</div>
{section name=c_list loop=$collections}
{include file="$style_dir/blocks/collection.html" collection=$collections[c_list]}
{sectionelse}
{lang code='no_results_found'}
{/section}
</div>
<div class="vert_add_box">
<div style="width:160px; margin:auto; margin-top:5px">
{AD place='ad_160x600'}
</div>
</div>
<div class="clearfix" style="margin-bottom:10px"></div>
{include file="$style_dir/blocks/pagination.html"}