chiark / gitweb /
Invokes "routetrade" component to get answers
[ypp-sc-tools.web-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 %>  archipelago=<% $archipelago %>
18 %
19 % }
20
21 </pre>
22
23 <%init>
24 use CommodsWeb;
25 db_setocean('Midnight');
26 db_connect();
27 </%init>