Can't tell from your pics, but there have been cases where the temp sensor failed and took out the engine computer. If the harness from the sensor to the ECU is fried, this may very well have been what happened.
Check the fuses in the ECU box.
Ed in San Jose '97 540i 6 speed aspensilber over aubergine leather. Build date 3/97. Golden Gate Chapter BMW CCA Nr 62319.