Just sent the fixed file back to you.
Above where I say:
Past it in the second line, just after:
code:
------------------------------------------------------------------------
<? //UBBTREMARK
Of course, I mistyped "paste" it in the second line. I should clarify that this becomes the new line 2. So it goes before the "for($c=0;$c<$catsize;$c++) { //UBBTREMERK" line as well... as this is what goes through the categories.
Hope that helps!