<!-- $Id: arcsearch.tt2 3996 2006-11-03 13:43:20Z sympa-authors $ -->

<h2>[%|loc%]Result of your search in the archive[%END%] 
<a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><span class="color_dark">[% list %]</span></a> : </h2>

<p>[%|loc%]Search field :[%END%] 
[% FOREACH u = directories %]
 <a href="[% path_cgi %]/arc/[% list %]/[% u %]"><span class="color_dark">[% u %]</font></a> - 
[% END %]
</p>
<p>
[%|loc(key_word)%]Parameters of these search make on <strong> &quot;%1&quot;</strong>[%END%]:<br> 
<em>

[% IF how == 'phrase' %]
	[%|loc%](This sentence,[%END%] 
[% ELSIF how == 'any' %]
	[%|loc%](All of these words,[%END%] 
[% ELSE %]
	[%|loc%](Each of these words,[%END%] 
[% END %]

[% IF case == 'off' %]
	[%|loc%]case insensitive[%END%] 
[% ELSE %]
	[%|loc%]case sensitive[%END%] 
[% END %]

[% IF match == 'partial' %]
	[%|loc%]and checking on part of word)[%END%]
[% ELSE %]
	[%|loc%]and checking on entire word)[%END%]
[% END %]
</em>
</p>

<hr />

[% IF age == 'new' %]
	<p><strong>[%|loc%]Newest messages first[%END%]</strong></p>
[% ELSE %]
	<p><strong>[%|loc%]Oldest messages first[%END%]</strong></p>
[% END %]

<ul>
<dl>
[% FOREACH u = res %]
	<dt><li><b><a href=[% u.file %]>[% u.subj %]</b></a> -- <em>[% u.date %]</em><dd>[% u.from %]<pre>[% u.body_string %]</pre></dd>
[% END %]
</dl>
</ul>
<p>
<dl>

[% IF body %]
	<dd>[%|loc(body_count)%]%1 hits on message Body[%END%]<br /></dd>
[% END %]

[% IF subj %]
	<dd>[%|loc(subj_count)%]%1 hits on message Subject field[%END%]<br /></dd>
[% END %]

[% IF from %]
	<dd>[%|loc(from_count)%] %1 hits on message From field[%END%]<br /></dd>
[% END %]

[% IF date %]
	<dd>[%|loc(date_count)%]%1 hits on message Date field[%END%]<br /></dd>
[% END %]

</dl>

<form method="post" action="[% path_cgi %]">
<fieldset>
<input type="hidden" name="list" value="[% list %]" />
<input type="hidden" name="archive_name" value="[% archive_name %]" />
<input type="hidden" name="key_word" value="[% key_word %]" />
<input type="hidden" name="how" value="[% how %]" />
<input type="hidden" name="age" value="[% age %]" />
<input type="hidden" name="case" value="[% case %]" />
<input type="hidden" name="match" value="[% match %]" />
<input type="hidden" name="limit" value="[% limit %]" />
<input type="hidden" name="body_count" value="[% body_count %]" />
<input type="hidden" name="date_count" value="[% date_count %]" />
<input type="hidden" name="from_count" value="[% from_count %]" />
<input type="hidden" name="subj_count" value="[% subj_count %]" />
<input type="hidden" name="previous" value="[% searched %]" />

[% IF body %]
	<input type="hidden" name="body" value="[% body %]" />
[% END %]

[% IF subj %]
	<input type="hidden" name="subj" value="[% subj %]" />
[% END %]

[% IF from %]
	<input type="hidden" name="from" value="[% from %]" />
[% END %]

[% IF date %]
	<input type="hidden" name="date" value="[% date %]" />
[% END %]

[% FOREACH u = directories %]
	<input type="hidden" name="directories" value="[% u %]" />
[% END %]

[% IF continue %]
	<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Continue search[%END%]" />
[% END %]
<p>
<input class="MainMenuLinks" name="action_arcsearch_form" type="submit" value="[%|loc%]New search[%END%]" />
</fieldset>
</form>
<hr />
<p>[%|loc%]Based on <em><a href="http://www.mhonarc.org/contrib/marc-search/">Marc-Search</a></em>, search engine of MHonArc archives[%END%]</p>


<a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[%|loc(archive_name)%]Return to archive %1[%END%] 
</strong></a><br />
