My neighbor dug up his yard before we finally figured out that all the water was coming from my pool plumbing!
Problem 1:
It seems that the couplers for these check valves have failed (do I really need 2?) and water is still flowing out of the bottom most joint - this is the pool side, so will it continue to flow backward until it drains down to the eyeball jets? Because of the way the plumbing is done, it seems like I need to replace the check valve(s).

Problem 2:
This crazy looking pipe that is on the output side of the heater. It obviously needs to be replaced, but what do I need to connect to the heater?

Thank you all so much!
Problem 1:
It seems that the couplers for these check valves have failed (do I really need 2?) and water is still flowing out of the bottom most joint - this is the pool side, so will it continue to flow backward until it drains down to the eyeball jets? Because of the way the plumbing is done, it seems like I need to replace the check valve(s).

Problem 2:
This crazy looking pipe that is on the output side of the heater. It obviously needs to be replaced, but what do I need to connect to the heater?

Thank you all so much!