2014-02-10 13:06:48 +00:00
|
|
|
{$myAccountLinks = $userquery->my_account_links()}
|
|
|
|
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
2014-02-13 11:29:11 +00:00
|
|
|
|
2014-02-10 13:06:48 +00:00
|
|
|
<div class="container marginBottom">
|
2014-09-19 09:58:54 +00:00
|
|
|
{*include file="$style_dir/blocks/manage/account_menu.html"*}
|
2014-02-10 13:06:48 +00:00
|
|
|
<div class="row cb-box">
|
2014-04-09 11:44:33 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
<!--<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'}
|
2014-05-08 14:12:46 +00:00
|
|
|
<div class="col-md-9 nopadding">
|
2014-04-14 09:59:48 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
{assign var=sorting_links value=sorting_links()}
|
|
|
|
<h4 class="smaller lighter pull-left mrs">Browsing All Collections: </h4>
|
|
|
|
<div class="">
|
|
|
|
<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">
|
2014-02-10 13:06:48 +00:00
|
|
|
{foreach from=$sorting_links item=name key=sort}
|
2014-09-25 14:00:34 +00:00
|
|
|
<li><a href="{link name=sort sort=$sort type=collections}" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a></li>
|
2014-02-10 13:06:48 +00:00
|
|
|
{/foreach}
|
2014-09-25 14:00:34 +00:00
|
|
|
</ul>-->
|
2014-06-02 07:07:29 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
<ul role="menu" class="dropdown-menu">
|
|
|
|
{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>
|
2014-06-02 07:07:29 +00:00
|
|
|
|
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
</div>
|
2014-06-02 07:07:29 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
<!--Sorting By time-->
|
|
|
|
{assign var=time_links value=time_links()}
|
|
|
|
<div class="btn-group">
|
|
|
|
{if $smarty.get.timing}
|
2014-02-05 12:26:01 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
|
|
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
2014-04-09 10:57:11 +00:00
|
|
|
|
2014-09-25 14:00:34 +00:00
|
|
|
<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">
|
2014-04-09 10:57:11 +00:00
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
2014-09-25 14:00:34 +00:00
|
|
|
<li><a href="{link name=time sort=$sort type=collections}&timing=time" {if $smarty.get.time==$sort} class="selected"{/if}>{$name}</a></li>
|
2014-04-09 10:57:11 +00:00
|
|
|
{/foreach}
|
2014-05-08 14:12:46 +00:00
|
|
|
</ul>
|
2014-02-05 12:26:01 +00:00
|
|
|
</div>
|
2014-09-25 14:00:34 +00:00
|
|
|
<a class="btn btn-primary pull-right" href="{$baseurl}/manage_collections.php?mode=add_new">{lang code='add_new_collection'}</a>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<hr>
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<ul class="list-unstyled row collections">
|
|
|
|
{section name=c_list loop=$collections}
|
|
|
|
|
|
|
|
{include file="$style_dir/blocks/collection.html" collection=$collections[c_list]}
|
|
|
|
|
|
|
|
{sectionelse}
|
|
|
|
{lang code='no_results_found'}
|
|
|
|
{/section}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<!--Pagination-->
|
2014-04-14 09:59:48 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div align="center">
|
|
|
|
{include file="$style_dir/blocks/pagination.html"}
|
|
|
|
</div>
|
|
|
|
<!-- /Pagination-->
|
2014-09-25 14:00:34 +00:00
|
|
|
|
|
|
|
{*include file="$style_dir/blocks/pagination.html"*}
|
2014-04-14 09:59:48 +00:00
|
|
|
|
2014-04-09 10:57:11 +00:00
|
|
|
</div>
|
2014-09-25 14:00:34 +00:00
|
|
|
</div>
|
2014-04-14 13:43:41 +00:00
|
|
|
</div>
|
|
|
|
<div style="height:20px"> </div>
|