Hi, Can I assume it's a manual g/box? There is a breather pipe I believe, so make sure that hasn't come off. It definately looks like water has got in. If a manual box make sure you use MTF94 oil.
If it was mine I'd run it for a short while then change it agine to be sure.
Griff