thats a shame
Will probably be the motherboard, but if thats fryed, theres a chance the parts connected to it are too. Especially the CPU/RAM.
I'm hoping not, but for it to cause that much damage, it must have been bad.
A surge protector would have helped though. As long as its a premium grade, and supports a high ampage, then yeah, but not a cheaper standard one.
I'm sorry to hear that though
You'll have to replace the motherboard, and check that it powers up the components, or somehow test the components in another compatable system.