75 lines
No EOL
2.9 KiB
HTML
75 lines
No EOL
2.9 KiB
HTML
{$myAccountLinks = $userquery->my_account_links()}
|
|
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
|
<div id="main" class="clearfix">
|
|
<div class="custom-container clearfix">
|
|
{*include file="$style_dir/blocks/manage/account_menu.html"*}
|
|
{*include file="$style_dir/blocks/category_list.html" type='collections'*}
|
|
<section class="clearfix inner-block">
|
|
<header class="heading clearfix">
|
|
{assign var=sorting_links value=sorting_links()}
|
|
<h1>Browsing All Collections<i class="icon-arrow-right"></i></h1>
|
|
<div class="dropdowns clearfix">
|
|
<!--Sorting By View-->
|
|
<div class="dropdown">
|
|
{if $smarty.get.sort}
|
|
{foreach from=$sorting_links item=name key=sort name=sorts}
|
|
{if $smarty.get.sort==$sort && isset($smarty.get.sort)}
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="caret"></span></a>
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">Recent <span class="caret"></span></a>
|
|
{/if}
|
|
|
|
<ul class="dropdown-menu">
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
<li>
|
|
<a href="{link name=sort sort=$sort type=collections}&sorting=sort" {if $smarty.get.sort==$sort} class="selected" {/if}>{$name}</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
|
|
<!--Sorting By time-->
|
|
{assign var=time_links value=time_links()}
|
|
<div class="dropdown">
|
|
{if $smarty.get.time}
|
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="caret"></span></a>
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">all time <span class="caret"></span></a>
|
|
{/if}
|
|
<ul class="dropdown-menu">
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
<li>
|
|
<a href="{link name=time sort=$sort type=collections}&timing=time" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a>
|
|
</li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header><!-- end of page heading -->
|
|
<div class="heading clearfix">
|
|
<a class="btn btn-primary pull-right" href="{$baseurl}/manage_collections.php?mode=add_new">{lang code='add_new_collection'}</a>
|
|
</div>
|
|
|
|
<div class="collections row clearfix">
|
|
{section name=c_list loop=$collections}
|
|
<div class="col-lg-3 col-md-3 col-sm-4 col-xs-6">
|
|
{include file="$style_dir/blocks/collection.html" collection=$collections[c_list]}
|
|
</div>
|
|
{sectionelse}
|
|
{lang code='no_results_found'}
|
|
{/section}
|
|
</div>
|
|
|
|
<div align="center" class="clearfix"><!--Pagination-->
|
|
{include file="$style_dir/blocks/pagination.html"}
|
|
</div><!-- Pagination-->
|
|
</section>
|
|
</div>
|
|
</div> |