{$myAccountLinks = $userquery->my_account_links()} {$leftMenuLinks = array_slice($myAccountLinks, 6)}
{if !function_exists('server_thumb') && has_access("admin_access")}
Kindly install Server Thumb plugin by going to Plugin Manager to make photos show properly
{/if}
{AD place='ad_728x90'}
{assign var=sorting_links value=sorting_links()}
{if $smarty.get.sort} {foreach from=$sorting_links item=name key=sort name=sorts} {if $smarty.get.sort==$sort && isset($smarty.get.sort)} {$name} {/if} {/foreach} {else} Recent {/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)} {$name} {/if} {/foreach} {else} all time {/if}
{if $photos} {foreach from=$photos item=p_list}
{include file="$style_dir/blocks/photo.html" photo=$p_list display_type = "default_photo"}
{/foreach} {else}
{lang code='no_results_found'}
{/if}
{include file="$style_dir/blocks/pagination.html"}