111 lines
No EOL
5.5 KiB
HTML
111 lines
No EOL
5.5 KiB
HTML
{$myAccountLinks = $userquery->my_account_links()}
|
|
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
|
|
|
<div class="container marginBottom">
|
|
{include file="$style_dir/blocks/manage/account_menu.html"}
|
|
<div class="row cb-box">
|
|
|
|
<!--<ul class="">-->
|
|
<!--{foreach $leftMenuLinks as $key => $value}-->
|
|
<!--<li class="">-->
|
|
<!--<a href="#" class="" data-toggle="dropdown">{$key}</a>-->
|
|
<!--<ul class="">-->
|
|
<!--{foreach $value as $subKey => $subValue}-->
|
|
<!--<li><a href="{$subValue}">{$subKey}</a></li>-->
|
|
<!--{/foreach}-->
|
|
<!--</ul>-->
|
|
<!--</li>-->
|
|
<!--{/foreach}-->
|
|
<!--</ul>-->
|
|
{include file="$style_dir/blocks/category_list.html" type='collections'}
|
|
<div class="col-md-9">
|
|
|
|
{assign var=sorting_links value=sorting_links()}
|
|
<h4 class="smaller lighter pull-left">Browsing All Collections: </h4>
|
|
<div class="photopadding col-md-8">
|
|
<div class="btn-group">
|
|
{if $smarty.get.sorting}
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
|
<button class="btn btn-default" type="button">
|
|
{$name}
|
|
</button>
|
|
<button data-toggle="dropdown" class="btn btn-default dropdown-toggle" type="button">
|
|
<span class="caret"></span>
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
</button><!--<span class="glyphicon glyphicon-sort"></span> Most {$name}-->
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<button class="btn btn-default" type="button">
|
|
Recent
|
|
</button>
|
|
<button data-toggle="dropdown" class="btn btn-default dropdown-toggle" type="button">
|
|
<span class="caret"></span>
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
</button>
|
|
{/if}
|
|
<ul role="menu" class="dropdown-menu">
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
<li><a href="{link name=sort sort=$sort type=collections}" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a></li>
|
|
{/foreach}
|
|
</ul>
|
|
</div>
|
|
|
|
<!--Sorting By time-->
|
|
{assign var=time_links value=time_links()}
|
|
<div class="btn-group">
|
|
{if $smarty.get.timing}
|
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
|
|
|
<button class="btn btn-default" type="button">
|
|
{$name}
|
|
</button>
|
|
<button data-toggle="dropdown" class="btn btn-default dropdown-toggle" type="button">
|
|
<span class="caret"></span>
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
</button><!--<span class="glyphicon glyphicon-sort"></span> Most {$name}-->
|
|
{/if}
|
|
{/foreach}
|
|
{else}
|
|
<button class="btn btn-default" type="button">
|
|
All Time
|
|
</button>
|
|
<button data-toggle="dropdown" class="btn btn-default dropdown-toggle" type="button">
|
|
<span class="caret"></span>
|
|
<span class="sr-only">Toggle Dropdown</span>
|
|
</button>
|
|
{/if}
|
|
<ul role="menu" 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>
|
|
<a class="btn btn-primary pull-right" style="margin-right: -107px" href="{$baseurl}/manage_collections.php?mode=add_new">{lang code='add_new_collection'}</a>
|
|
</div>
|
|
<br>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<hr>
|
|
{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>
|
|
<!--Pagination-->
|
|
<div class="clearfix"></div>
|
|
<div align="center">
|
|
{include file="$style_dir/blocks/pagination.html"}
|
|
</div>
|
|
<!-- /Pagination-->
|
|
</div>
|
|
{*include file="$style_dir/blocks/pagination.html"*}
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div style="height:20px"> </div> |