Brands

[%- aTOg = 0; hTOp = 0; qTOz = 0; -%] [%- sortList = [] -%] [% FOREACH brandlist IN sitedata.brand_list %] [%- sortList.push(brandlist.id) -%] [%- END -%] [%- FOREACH brand IN sortList.sort -%] [%- brandlist = factory.get_item("$brand", 0) -%] [%- firl = brandlist.name.substr(0, 1) -%] [%- IF aTOg == 0 -%]

A-E

[%- aTOg = 1; END -%] [%- IF hTOp == 0 && (firl == "F" || firl == "f") -%]

F-P

[%- hTOp = 1; END -%] [%- IF qTOz == 0 && (firl == "Q" || firl == "q" || firl == "R" || firl == "r") -%]

Q-Z

[%- qTOz = 1; END -%] [%- IF brandlist.contents.0.id != "" && brandlist.name != "Tamarrac" -%][%- brandlist.name -%][%- UNLESS loop.last -%]
[%- END -%][%- END -%] [% END %]