@ -23,7 +23,9 @@ my ($template, $loggedinuser, $cookie)
debug => 1,
});
my $order_loop= &histsearch($title,$author,$name);
$template->param(suggestions_loop => $order_loop,
$template->param(numresults => scalar(@$order_loop),
suggestions_loop => $order_loop,
title => $title,
author => $author,
name => $name,
@ -1,6 +1,8 @@
<!-- TMPL_INCLUDE NAME="acquisitions-top.inc" -->
<div id="mainbloc">
<h1 class="acquisition">Order search</h1>
<p class="resultcount"><!-- TMPL_VAR Name ="numresults" --> orders were found.
</p>
<table>
<tr>
<th class="acquisition"> </th>
@ -4,6 +4,8 @@
<h1>Member Search</h1>
<div class="bloc100">
<p><!-- TMPL_VAR Name ="numresults" --> records match you search.
<th> </th>
@ -17,6 +17,8 @@
<div class="bloctitle">You Searched for <!-- TMPL_VAR NAME="member" --></div>
<p class="resultcount"><!-- TMPL_VAR Name ="numresults" --> members were found.
<th>Card</th>
@ -105,6 +105,7 @@ for (my $i=0; $i < $count; $i++){
$template->param(
member => $member,
numresults => $count,
resultsloop => \@resultsdata );
output_html_with_http_headers $input, $cookie, $template->output;