1) Under the terms of a student visa you can't marry.

2) She needs to go back ASAP. Will it influence any future appplications? Yes.