]> ruin.nu Git - ndwebbie.git/blobdiff - index.pl
ie fix
[ndwebbie.git] / index.pl
index e557be179b6bc51e6c3e03f71008c86e4dacf9ac..537f46fed29ab15cd2f93772da02c22d66f60c7a 100755 (executable)
--- a/index.pl
+++ b/index.pl
@@ -64,7 +64,7 @@ while (my ($name,$attack,$gid) = $query->fetchrow()){
 our $LOG = $DBH->prepare('INSERT INTO log (uid,text) VALUES(?,?)');
 
 my $page = 'main';
-if (param('page') =~ /^(main|check|motd|points|covop|top100|launchConfirmation|addintel|defrequest|raids|editRaid|calls|intel|users|alliances)$/){
+if (param('page') =~ /^(main|check|motd|points|covop|top100|launchConfirmation|addintel|defrequest|raids|editRaid|calls|intel|users|alliances|memberIntel|resources)$/){
        $page = $1;
 }
 
@@ -96,6 +96,7 @@ unless ($XML){
        $TEMPLATE->param(isHC => isHC());
        $TEMPLATE->param(isDC => isDC());
        $TEMPLATE->param(isBC => isBC());
+       $TEMPLATE->param(isIntel => isBC());
        $TEMPLATE->param(isAttacker => $ATTACKER && (!isMember() || ((($TICK - $fleetupdate < 24) || isScanner()) && $PLANET)));
        if ($ATTACKER && (!isMember() || ((($TICK - $fleetupdate < 24) || isScanner()) && $PLANET))){
                $ND::TEMPLATE->param(Targets => listTargets());