Line 5: if ($products_per_row > 1) { $float= "floatleft";}
it will be:
if ($products_per_row > 1) { $float= "float:left";}
right? :)
Perhaps?
Would it not be:
if ($products_per_row > 1) { $float="left";}
similar to the line below, which is:
else {$float="center";}
EDIT:
Actually I tried it all three ways and the initial is correct:
if ($products_per_row > 1) { $float= "floatleft";}
So it doesn't look like a typo.