{* * Amsterdam Web Communities System * Copyright (c) 2025-2026 Erbosoft Metaverse Design Solutions, All Rights Reserved * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * SPDX-License-Identifier: MPL-2.0 *}

Find:


{{ if isset(errorMessage) }}
⚠️

{{ CapitalizeString(errorMessage) }}.

{{ end }}
{{ if mode == "COM" }}

Find Communities:

{{ else if mode == "USR" }}

Find Users:

{{ else if mode == "CAT" }}

Find Categories:

{{ else if mode == "PST" }}

Find Posts:

{{ end }}
{{ if mode == "COM" || mode == "USR" }}
{{ if mode == "COM" }} Display all communities whose {{ else if mode == "USR" }} Display all users whose {{ end }}
{{ else if mode == "CAT" }}
Display all categories whose name
{{ else if mode == "PST" }}
Keywords:
{{ end }}
{{ if isset(displayCats) }}

Category: {{ if catid == -1 }} Top {{ else }} Top {{ end }} {{ last := len(catHierarchy) - 1 }} {{ range i, cat := catHierarchy }} : {{ if i == last }} {{ cat.Name }} {{ else }} {{ cat.Name }} {{ end }} {{ end }}

{{ if len(catSubs) > 0 }}

Subcategories:

{{ range _, cat := catSubs }} {{ if !cat.HideDirectory || showHiddenCat }}
🟣 {{ cat.Name }} {{ if cat.SymLink != -1 }}🔗{{ end }}
{{ end }} {{ end }}
{{ end }}
{{ end }} {{ if isset(resultHeader) }}
{{ resultHeader }}
{{ if isset(resultList) }} {{ if mode == "PST" && len(resultList) > 0 }}
{{ range _, rx := resultList }} {{ end }}
Post Link Author Post Date Lines Preview
{{ rx.PostLink }} {{ rx.Author }} {{ DisplayDateTime( rx.PostDate, .) }} {{ rx.Lines }} {{ rx.Excerpt }}
{{ if isset(resultShowPrev) || isset(resultShowNext) }}
{{ if isset(resultShowPrev) }} {{ end }} {{ if isset(resultShowNext) }} {{ end }}
{{ end }} {{ else }}
{{ range _, rx := resultList }} {{ if mode == "COM" }}
🟣
Host: {{ h := CommunityHost(rx, .) }} {{ h.Username }} - {{ n := DisplayMemberCount(rx, .) }} {{ if n == 1 }} 1 member {{ else }} {{ n }} members {{ end }}
Latest activity: {{ DisplayActivity(rx.LastAccess, .)}}
{{ rx.Synopsis }}
{{ else if mode == "USR" }}
🟣
{{ ci := UserContactInfo(rx, .) }} {{ DisplayFullName(ci) }}, from {{ ci.Locality }}, {{ ci.Region }} {{ ci.Country }}
{{ else if mode == "CAT" }} {{ end }} {{ end }}
{{ if isset(resultShowPrev) || isset(resultShowNext) }}
{{ if isset(resultFromDirectory) }} {{ if isset(resultShowPrev) }} ⏪ Prev {{ end }} {{ if isset(resultShowNext) }} Next ⏩ {{ end }} {{ else }}
{{ if isset(resultShowPrev) }} {{ end }} {{ if isset(resultShowNext) }} {{ end }}
{{ end }}
{{ end }}
{{ end }} {{ end }} {{ end }}