[% pages.categories %]
[% class = 's' %]
[% USE table(results, rows=3) %] [% FOREACH column = table.cols %] [% FOREACH item = column %] [% IF item == column.first %] [% class = (class == 'r') ? 's' : 'r' %] [% END -%] [% END -%] [% END -%] [% END -%]
[% item.chap_desc %] [% IF item == column.last %]