[% pagetitle = 'SEARCH' | string %] [% pwd_list = BLOCK %] [% "SEARCH" | string %] [% END %] [% thispage = 'search' %] [% IF query %][% thispage = 'results' %][% END %] [% PROCESS pageheader.html class = thispage thispage = thispage %]
[% IF not query AND query != '0' %] [% PROCESS searchinput.html %] [% ELSE %]
[% IF searchError %] [% searchError %] [% END %] [% IF pageinfo.totalpages > 1 %][% PROCESS pagebar %][% END %]
[% IF numresults != '-1' && numresults != '0' %]

[% 'ALL_SONGS' | string %]

[% FOREACH item = browse_items %] [% PROCESS browsedbitems_list.html verbose = '1' %] [% END %]

[% ELSE %]

[% 'NO_SEARCH_RESULTS' | string %]

[% END %]
[% IF pageinfo.totalpages > 1 %][% PROCESS pagebar %][% END %] [% END %] [% PROCESS pagefooter.html %]