check the motherboard size if its BTX or micro atx since its from HP..
from what I can see it,s a micro atx.
btx boards have the slots arrange opposite to atx don't they?
anyway it was a shot in the dark --------the board might be dead anyway.
nothing gained nothing lost