{extends "../@layout.xml"} {block title} {tr("search_for_$section")} {if $_REQUEST['q']} - {$_REQUEST['q']} {/if} {/block} {block header} {tr("search_for_$section")} {/block} {block wrap}
{if $section == 'audios' && $count > 1} {include "../Audio/bigplayer.xml", tidy => true} {/if}
{tr("results", $count)} {tr("showing_x_y", $page, $count)}
{include "../components/paginator.xml", conf => $paginatorConf}
{if $count > 0} {if $section === 'users'}
{_photo}  {$dat->getCanonicalName()} {if $order == "rating"} ({$dat->getProfileCompletenessReport()->total}%) {/if} {if $dat->getId() == $thisUser->getId()} ({_s_it_is_you}) {/if} {if $_REQUEST["order"] == "id"} {/if} {if $dat->getPrivacySetting("page.info.read") > 1} {if !empty($dat->getDescription())} {/if} {if !empty($_REQUEST["fav_mus"])} {/if} {if !empty($_REQUEST["fav_films"])} {/if} {if !empty($_REQUEST["fav_shows"])} {/if} {if !empty($_REQUEST["fav_books"])} {/if} {/if}
ID: {$dat->getId()}
{_pronouns}: {$dat->isFemale() ? tr("female") : ($dat->isNeutral() ? tr("neutral") : tr("male"))}
{_relationship}: {$dat->getLocalizedMaritalStatus()}
{_registration_date}: {$dat->getRegistrationTime()}
{_description}: {$dat->getDescription() ?? '(' . tr("none") . ')'}
{_favorite_music}: {$dat->getFavoriteMusic()}
{_favorite_films}: {$dat->getFavoriteFilms()}
{_favorite_shows}: {$dat->getFavoriteShows()}
{_favorite_books}: {$dat->getFavoriteBooks()}

highlightText({$query}, '.page_wrap_content_main', ['text', "td[data-highlight='_clubDesc']"]) {elseif $section === 'apps'}
{_photo}  {$dat->getName()}
{$dat->getDescription() ?? '(' . tr("none") . ')'}
{elseif $section === 'posts'}
{if !$dat || $dat->getWallOwner()->isHideFromGlobalFeedEnabled()} {_closed_group_post}. {else} {include "../components/post.xml", post => $dat, commentSection => true, onWallOf => true} {/if}
{elseif $section === 'videos'}
{include "../components/video.xml", video => $dat}
{elseif $section === 'audios'}
{include "../Audio/player.xml", audio => $dat}
{elseif $section === 'audios_playlists'}
{include "../Audio/playlistListView.xml", playlist => $dat}
{/if} {else} {include "../components/content_error.xml", description => tr("no_results_by_this_query")} {/if}
{include "../components/paginator.xml", conf => $extendedPaginatorConf}
{/block} {block searchOptions}
{_s_order_by}
{_main}
{_pronouns}
{_s_additional}
{_s_main}
{_s_main}
{/block}