{{if Search.Category == ""}}{{ T("all_categories")}}{{else}}{{ T("all_categories")}}{{end}} |
{{if Search.Category == cat.ID ||(len(Search.Category) > 2 && Search.Category[:2] == cat.ID)}}{{ T(cat.Name) }}{{else}}{{ T(cat.Name) }}{{end}} | {{ if _ % 3 == 2}}
{{ if Search.Sort != 2 && Search.Sort != 0}}{{ T("date") }}{{else}}{{ T("date") }}{{end}} / {{ if Search.Sort != 5}}{{ T("seeders") }}{{else}}{{ T("seeders") }}{{end}} / {{ if Search.Sort != 6}}{{ T("leechers") }}{{else}}{{ T("leechers") }}{{end}} / {{ if Search.Sort != 7}}{{ T("completed") }}{{else}}{{ T("completed") }}{{end}} / {{ if Search.Sort != 4}}{{ T("size") }}{{else}}{{ T("size") }}{{end}} / {{ if Search.Sort != 1}}{{ T("name") }}{{else}}{{ T("name") }}{{end}} | | | {{ if Search.Order}}{{ T("ascending") }}{{else}}{{ T("ascending") }}{{end}} / {{ if !Search.Order}}{{ T("descending") }}{{else}}{{ T("descending") }}{{end}} |