IsIGB(); $notTrusted = ($brow->IsIGB() && !$brow->IsTrusted()); $trusted = ($brow->IsIGB() && $brow->IsTrusted()); if ($notTrusted) $brow->RequireTrust(); $otherAlliances; if ($trusted) { $otherAlliances = Alliance::GetAlliancesOtherThanMineWithFleets($brow->AllianceID()); } else { $otherAlliances = Alliance::GetAlliancesOtherThanMineWithFleets(-1); } $otherFleets = array(); foreach ($otherAlliances as $a) { $otherFleets[$a->Id] = $a->ActiveFleets(); } $myFleets; if ($trusted) { $myFleets = Fleet::GetFleetsForAlliance($brow->AllianceId()); } DataManager::GetInstance()->CloseConnection(); function printAllianceFleets($name, $fleets, $myFleet = TRUE) { echo '

' . $name . '

'; foreach ($fleets as $f) { echo gmdate('H:i', $f->Added); echo ' '; if ($myFleet) { echo '' . htmlspecialchars($f->Name) . ''; echo ' [Delete]'; } else echo htmlspecialchars($f->Name); echo '
'; } } ?> Fleet Links

Fleet Links

This page is designed to be viewed in the EVE in-game browser.'; } elseif ($notTrusted) { echo '

You must add this site to your trusted site list. Instructions here.

'; } elseif ($trusted) { echo 'Add a fleet
'; printAllianceFleets(htmlspecialchars($brow->AllianceName()), $myFleets); } foreach ($otherAlliances as $a) { printAllianceFleets(htmlspecialchars($a->Name), $otherFleets[$a->Id], FALSE); } ?>
Feel free contact WoogyDude in game or via GoonFleet private message if you have any questions or comments.