{$myAccountLinks = $userquery->my_account_links()} {$leftMenuLinks = array_slice($myAccountLinks, 6)}
{*include file="$style_dir/blocks/manage/account_menu.html"*}
{AD place='ad_728x90'}
{assign var=sorting_links value=sorting_links()}

#### {lang code="Browsing All Categories"}:

{if $smarty.get.sort} {foreach from=$sorting_links item=name key=sort} {if $smarty.get.sort==$sort && isset($smarty.get.sort)}
{/if} {/foreach} {else}
{/if}
{assign var=time_links value=time_links()}
{if $smarty.get.time} {foreach from=$time_links item=name key=sort name=times} {if $smarty.get.time==$sort && isset($smarty.get.time)}
{/if} {/foreach} {else}
{/if}
{$counter=0}

{section name=p_list loop=$photos} {$photos[p_list].counter=$counter}
{include file="$style_dir/blocks/photo.html" photo=$photos[p_list]}
{$counter=$counter+1} {sectionelse}
{lang code='no_results_found'}
{/section}
{include file="$style_dir/blocks/pagination.html"}
{AD place='ad_468x60'}