From the picture you provided the fan seems to be just disconnected. But, if you say even it is plugged back to the mainboard and still doesn't work, it seems to be a problem with the connector on mainboard. Have you plugged it correctly? I mean this should fit only one way, if you connect it...