[% IF search_terms %] [% node_name = "Search results for $search_terms" %] [% ELSE %] [% node_name = "Search" %] [% END %] [% INCLUDE header.tt %] [% INCLUDE banner.tt %]
[% INCLUDE navbar.tt %]
[% IF search_terms %]

Search Results for [% search_terms %]

[% IF results.size %]

[% total_num %] matches found, showing [% first_num %] - [% last_num %]

[% END %] [% ELSE %]

Search [% site_name %]

[% END %]

Version [% ss_version %]. See the information page for help and more details.

Location: [% IF coord_field_1 != 'latitude' %]

within metres of
[% coord_field_1_name %] ,
[% coord_field_2_name %]

[% END %]

within metres of
latitude (decimal) ,
longitude (decimal)

[% IF search_terms OR dist %]
[% IF results.size %]
    [% FOREACH result = results %]
  1. [% result.name %] (score: [% result.score %]) [% IF result.distance %] ([% result.distance %] metres away) [% END %][% IF result.summary %]
    [% result.summary %]
    [% END %]
  2. [% END %]

Matches [% first_num %] - [% last_num %] of [% total_num %]. [% IF (first_num > 20) %] Previous 20 results [% END %] [% IF ((first_num > 20) and next_page_startpos) %] / [% END %] [% IF next_page_startpos %] Next [% IF ((total_num - last_num >= 20)) %] 20 [% ELSE %] [% total_num - last_num %] [% END %] results [% END %]

[% ELSE %]

No Items Matched

[% END %]
[% END %]
[% INCLUDE footer.tt %]