|
|
@ -194,11 +194,11 @@ if ($op eq 'add_form') { |
|
|
|
$template->param(loop => \@loop_data); |
|
|
|
if ($offset>0) { |
|
|
|
my $prevpage = $offset-$pagesize; |
|
|
|
$template->param(previous => "<a href=\"$script_name?offset=".$prevpage.'">'); |
|
|
|
$template->param(previous => "$script_name?offset=".$prevpage); |
|
|
|
} |
|
|
|
if ($offset+$pagesize<$count) { |
|
|
|
my $nextpage =$offset+$pagesize; |
|
|
|
$template->param(next => "<a href=\"$script_name?offset=".$nextpage.'">'); |
|
|
|
$template->param(next => "$script_name?offset=".$nextpage); |
|
|
|
} |
|
|
|
} #---- END $OP eq DEFAULT |
|
|
|
output_html_with_http_headers $input, $cookie, $template->output; |
|
|
|