chiark / gitweb /
bbd63a6fac87c5409df59b7fd75be02428387d35
[ypp-sc-tools.db-live.git] / yarrg / web / routetrade
1 <%args>
2 @islandids
3 @archipelagoes
4 </%args>
5
6 %# So, add code to do right thing here:
7
8 <pre>
9 Route is as follows:
10
11 % foreach my $i (0..$#islandids) {
12 %   my $islandid= $islandids[$i];
13 %   my $archipelago= $archipelagoes[$i];
14 %   $islandid= '<undef>' unless defined $islandid;
15 %   $archipelago= '<undef>' unless defined $archipelago;
16 %
17   islandid=<% $islandid |h %>  archipelago=<% $archipelago |h %>
18 %
19 % }
20
21 </pre>
22
23 <%init>
24 use CommodsWeb;
25 db_setocean('Midnight');
26 db_connect();
27 </%init>