echo "</g>"; echo "</g>"; if ($map_info->has_map_anims()) { echo "<animateTransform attributeType=\"XML\" attributeName=\"transform\" type=\"rotate\" values=\"0;360\" dur=\"" . ($j + 2) * 100 . "\" repeatCount=\"indefinite\"/>"; } echo "</g>\n"; } } /* **************** * * main * *****************/ $map_info = new map_info($uid); $fog_of_war = $map_info->get_fog_of_war(); if (!in_array($sid, $map_info->get_scanned_systems()) && !$fog_of_war[$sid]) { return false; } if (!in_array($sid, $map_info->get_scanned_systems())) { $fog_mode = true; } else { $fog_mode = false; } if ($fog_mode) { $planets = array_values($fog_of_war[$sid]); } else { $planets = $map_info->get_systemplanets($sid); } $globalTransform = get_global_SVGTransform($uid, 1, $sid, $availHeight, $availWidth); $abstand = 30; $inner_moves = array();