2020-06-07 19:04:43 +03:00
|
|
|
{extends "../@listView.xml"}
|
|
|
|
|
|
|
|
{block title}
|
|
|
|
{if $type === "users"}
|
|
|
|
{tr("search_for_people")}
|
|
|
|
{else}
|
|
|
|
{tr("search_for_groups")}
|
|
|
|
{/if}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block header}
|
2021-12-13 23:33:44 +03:00
|
|
|
{=OPENVK_ROOT_CONF["openvk"]["appearance"]["name"]} »
|
2020-06-07 19:04:43 +03:00
|
|
|
{if $type === "users"}
|
|
|
|
{tr("search_for_people")}
|
|
|
|
{else}
|
|
|
|
{tr("search_for_groups")}
|
|
|
|
{/if}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block tabs}
|
|
|
|
<form style="margin-left: 12px;">
|
|
|
|
<input name="type" type="hidden" value="{$_GET['type'] ?? 'users'}" />
|
2021-09-18 11:49:51 +03:00
|
|
|
<input name="query" type="text" placeholder="{_"header_search"}" value="{$_GET['query'] ?? ''}" style="width: 90%" />
|
2021-12-13 23:32:19 +03:00
|
|
|
<input type="submit" class="button" value="{_"search_button"}" style="width: 7%" />
|
2020-06-07 19:04:43 +03:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<p style="margin-left: 15px;">
|
2021-09-18 11:49:51 +03:00
|
|
|
<b>{tr("results", $count)}</b>
|
2020-06-07 19:04:43 +03:00
|
|
|
</p>
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
|
|
|
|
{block link|strip|stripHtml}
|
|
|
|
{$x->getURL()}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block preview}
|
2021-09-18 11:49:51 +03:00
|
|
|
<img src="{$x->getAvatarUrl()}" width="75" alt="{_"photo"}" />
|
2020-06-07 19:04:43 +03:00
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block name}
|
|
|
|
<text style="overflow: hidden;"> {$x->getCanonicalName()}</text>
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block description}
|
2020-07-16 23:11:31 +03:00
|
|
|
<table class="ugc-table">
|
2020-06-07 19:04:43 +03:00
|
|
|
<tbody>
|
|
|
|
{if $type === "users"}
|
|
|
|
<tr>
|
|
|
|
<td><span class="nobold">{_"gender"}: </span></td>
|
2021-09-18 11:49:51 +03:00
|
|
|
<td>{$x->isFemale() ? tr("female") : tr("male")}</td>
|
2020-06-07 19:04:43 +03:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><span class="nobold">{_"relationship"}:</span></td>
|
|
|
|
<td>{var $marialStatus = $x->getMaritalStatus()}{_"relationship_$marialStatus"}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><span class="nobold">{_"registration_date"}: </span></td>
|
|
|
|
<td>{$x->getRegistrationTime()}</td>
|
|
|
|
</tr>
|
|
|
|
{/if}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2021-09-18 11:49:51 +03:00
|
|
|
<span class="nobold">{_"description"}:</span>
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
<td>
|
2021-09-18 11:49:51 +03:00
|
|
|
{$x->getDescription() ?? '(' . tr("none") . ')'}
|
2020-06-07 19:04:43 +03:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{/block}
|