</%perl>
% foreach my $ap (qw(A P)) {
-<h2>ap=<% $ap %></h2>
+% if ($ap eq 'A') {
+<h2>Best routes for total profit</h2>
+% } else {
+<h2>Best routes for profit per league</h2>
+% }
<table rules=groups>
<colgroup span=2>
<colgroup span=1>
% } # $isles
</table>
% } # $ap
+
+<p>
+
+<h2>Notes</h2>
+
+Per league values count each island visited as one
+(additional) league; the `Dist.' column is however the actual distance
+to be sailed. All profit figures are somewhat approximate; get a
+complete trading plan for a route for accurate information.
+
<%perl>