Looks like the rocker panels have rotted away and the metal inner rocker piece that connects the platic rocker cover to the body has rotted away.
It's not cheap to weld in new rocker panels if you have to pay someone, it might be over half the value of the car.