6 if ( $opt{'total'} != $opt{'num_rows'} && $opt{'maxrecords'} ) {
7 unless ( $opt{'offset'} == 0 ) {
8 $cgi->param('offset', $opt{'offset'} - $opt{'maxrecords'});
11 <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Previous</FONT></B></A>
16 for ( my $poff = 0; $poff < $opt{'total'}; $poff += $opt{'maxrecords'} ) {
18 if ( $opt{'offset'} == $poff ) {
21 <FONT SIZE="+2"><%= $page %></FONT>
25 $cgi->param('offset', $poff);
28 <A HREF="<%= $cgi->self_url %>"><%= $page %></A>
33 unless ( $opt{'offset'} + $opt{'maxrecords'} > $opt{'total'} ) {
34 $cgi->param('offset', $opt{'offset'} + $opt{'maxrecords'});
37 <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Next</FONT></B></A>