{s:db.records(table: 'sys_category', args: {uid:categories}) -> v:iterator.sort(sortBy:'title', sortFlags:'SORT_LOCALE_STRING') -> v:variable.set(name: 'categoriesList')}
{s:db.records(table: 'sys_category', args: {pid:startingpoint, parent: 0}) -> v:iterator.sort(sortBy:'title', sortFlags:'SORT_LOCALE_STRING') -> v:variable.set(name: 'categoriesList')}
{title}
{v:resource.record.fal(table: 'sys_category', field: 'images', uid: category.uid) -> v:iterator.first() -> v:variable.set(name:'image')}
{category.title}
{btnTitle}