Photo Index {if $searchfor } {if $count == 1} {$count} image is the result for your search about "{$searchfor}" {else} {$count} images are the result for your search about "{$searchfor}" {/if} {elseif $from_date } {if $count == 1} {$count} image is the result for your search between {$from_date} to {$to_date} {else} {$count} images are the result for your search between {$from_date} to {$to_date} {/if} {elseif $tag_result} {if $count == 1} {$count} image has been found for the selected tags {else} {$count} images have been found for the selected tags {/if} {else} {if $count == 1} {$count} image has been found {else} {$count} images have been found {/if} {/if} {if $extern_link } {/if}
{section name="row" loop=$rows step=1} {section name="col" loop=$columns step=1} {/section} {/section}
{if $images[row][col] } {else}   {/if}
{ if $previous_url == "" } { if $count != 0 } first page reached { /if } { else } previous photo { /if } { if $page_selector == "" }   { else } {$page_selector} { /if} { if $next_url == "" } { if $count != 0 } last page reached { /if } { else } next photo { /if}