Remove and replace rotting timber next to shower, and seal the shower as necessary to stop further leaking.
Partner with Builderscrack