The bit in the top pic is the psu(power supply unit).
Cheap to get a new one and easy to install it.
Im not sure if it would have caused anything else to bugger up when the psu went bang though? get a new psu and put that in and try it.
Whats the spec of the machine?