Australian lawmaker Helen Haines has had both legs amputated after being rammed by a car outside her electoral office, her husband said on Wednesday, as the man accused of the attack appeared in court.