You could try soldering them back? Just get a smaller head for you soldering iron before trying...

Can you measure the resistances of the resistors (black SMDs)? That white SMD is a capacitor.
Polarity doesn't matter with either types of parts.