I agree with Tom. Stopping the leak in the shower is going to be your best bet since that is where the majority of the water is coming from. Not sure what you could do about the toilet overflowing...