]> ruin.nu Git - ndwebbie.git/blobdiff - NDWeb/Pages/TargetList.pm
oops, now it shows calls properly
[ndwebbie.git] / NDWeb / Pages / TargetList.pm
index 67c4653d2fd9cfbdfd284bd863c55359a937e115..f321a927268b4b48db1b0bdf2654695405de6a7d 100644 (file)
 #   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
 #**************************************************************************/
 
-package ND::Web::Pages::TargetList;
+package NDWeb::Pages::TargetList;
 use strict;
 use warnings FATAL => 'all';
 use ND::Include;
 use CGI qw/:standard/;
-use ND::Web::Include;
+use NDWeb::Include;
 
-use base qw/ND::Web::XMLPage/;
+use base qw/NDWeb::XMLPage/;
 
-$ND::Web::Page::PAGES{targetList} = __PACKAGE__;
+$NDWeb::Page::PAGES{targetList} = __PACKAGE__;
 
 sub render_body {
        my $self = shift;
@@ -66,10 +66,7 @@ ORDER BY $order
                });
        $query->execute;
        my @alliances;
-       my $i = 0;
        while (my $alliance = $query->fetchrow_hashref){
-               $i++;
-               $alliance->{ODD} = $i % 2;
                push @alliances,$alliance;
        }
        $BODY->param(Alliances => \@alliances);