The general layout should be:
Front fan - intake
Side fan - intake
Top fan - exhaust
Rear fan - exhaust
Bottom fan - intake
When it comes to AIO water coolers, you should mount the fans as intake. The reason being is that cool air is drawn in over the radiator which cools the liquid inside. If the fans are mounted as exhaust, then you'll be drawing in warm air from inside the case.