If you have a multimeter, measure the resistance from the left pin (the one with the square solder pad) to each of the other pads.
The first one certainly looks OK, the others may just be "interesting".
Do the same for the one market 10X-1-472. I suspect you'll find the resistance of those to be 4700 ohms (+/- tolerance%).
These resistors are not too hard to find, nor particularly expensive ($0.39).
Here is a
datasheet that may actually be for the component in question!
See if you can wipe the soot off the capacitors. They *may* be undamaged. However if you can give us a clear photo of the markings we may be able to suggest a replacement part.
When you remove the bussed resistor, clean up the board. I'd use isopropyl alcohol.
edit: Yeah, that's a 2. Measure the resistance between pairs of pins (start with the end 2 furthest from the burn) -- that will indicate the correct value.
edit2: The
isolated resistors are no more expensive