continue; } } } elseif ($tower['secret_pos'] == 1) { //Secret towers if ($tower['corp'] == $userinfo['corp']) { if (!in_array('22', $access)) { continue; } } else { if (!in_array('52', $access)) { continue; } } } $tower['constellationName'] = $posmgmt->getConstellationNameFromMoonID($tower['locationName']); $tower['regionName'] = $posmgmt->getRegionNameFromMoonID($tower['locationName']); switch ($tower['pos_race']) { case 1: case 6: case 7: case 11: case 14: $fuel_A_total = $fuel_A_total + $tower['fuel_A_fuelblock']; break; case 4: case 5: case 8: $fuel_M_total = $fuel_M_total + $tower['fuel_M_fuelblock']; break; case 2: