# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
#**************************************************************************/
-package ND::Web::Pages::Points;
+package NDWeb::Pages::Points;
use strict;
use warnings FATAL => 'all';
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{points} = __PACKAGE__;
+$NDWeb::Page::PAGES{points} = __PACKAGE__;
sub render_body {
$order = 'ASC' if ($type eq 'rank');
my $limit = 'LIMIT 10';
- $limit = '' if $self->isHC;
+ $limit = '' if $self->isOfficer;
my $query = $DBH->prepare(qq{SELECT username,defense_points,attack_points,scan_points,humor_points
,(attack_points+defense_points+scan_points/20) as total_points, rank, count(NULLIF(rc.launched,FALSE)) AS raid_points