With smoke, it's likely coming from the PSU more than anything else - although a blown capacitor could account for the noise.
What is your question here?
To have any chance of the system working , you're going to need to replace components to identify the cause (or post pictures of the internals - if something is obvious, we should be able to spot it in a decent pic). I would expect the PSU, as a minimum to be dead. Potential for the motherboard too though - and that could well fry any/all of the other components, depending on what actually happened.
Although, while it's not likely something that contributed to the issue (at least not this time); never "fix" electronics issues by hitting them, no matter how tempting it...