Wow. That is really shitty. Keep your head up man. Something will work out.
I agree with Jeffie though. That girl leaving you was probably a good thing. The guy that she rushed into marriage with is going to end up with financial problems and likely a divorce, and that bankruptcy is going to haunt her for the rest of her life. My GF's parents had to declare bankruptcy back when they were first married, and she still gets rejected for credit card applications once in a while, despite the fact that she's a VP making $150k + per year.
Just do what you can and try to avoid your own bankruptcy if at all possible. Definitely check with the bank and see what they can do...