- // Put some data into constants for the template
- $content['rows'] = ($cats*2+4);
-
- // Load header template
- loadTemplate('member_cats_header', false, $content);
-
- // Start switching colors and load all visible categories
- // @TODO Rewrite this to use $OUT .= ...
- $OUT = ''; $SW = 2;
- while ($content = SQL_FETCHARRAY($result)) {
- // Default he has not joined
+ // Load all categories of this member
+ $OUT = '';
+ while ($content = sqlFetchArray($result)) {
+ // Default he has not joined, add color switch