<h1>{{@page_data['title']}}</h1>
<form name="partners_search_form" action="/partners/search_result" method="GET">
	<table width="100%">
		<tr>
			<td align="center">
				<input type="text" name="q" class="q" value="{{isset(@POST.q)?@POST.q:''}}" placeholder="Телефон/Карта/Название/ИНН" autocomplete="off">
				<check if="{{@base_settings.virtual_keyboard==1}}">
				<div class="virtual_keyboard virtual_keyboard virtual_keyboard_partner_search full_keyboard">
					{~@keys='1234567890-+|QWERTYUIOP_|ASDFGHJKL@|ZXCVBNM'~}
					<div class="eng">
						<loop from="{{@i=0}}" to="{{@i<mb_strlen(@keys)}}" step="{{@i++}}">
							<check if="{{@keys[@i]=='|'}}">
								<true>
						<br>
								</true>
								<false>
						<input type="button" class="virtual_key" value="{{@keys[@i]}}" for="q">
								</false>
							</check>
						</loop>
						<button type="button" class="virtual_key_bks" for="q">
							<i class="fas fa-long-arrow-alt-left"></i>
						</button>
						<input type="button" class="virtual_key_delete" for="q" value="CE">
						<br>
						<input type="button" class="virtual_key_ru" value="RU">
						<input type="button" class="virtual_key virtual_key_space" for="q" value=" ">
						<input type="button" class="virtual_key" for="q" value=",">
						<input type="button" class="virtual_key" for="q" value=".">
					</div>
					{~@keys='1234567890-+|ЙЦУКЕНГШЩЗХЪ|ФЫВАПРОЛДЖЭ_|ЯЧСМИТЬБЮ@'~}
					<div class="ru">
						<loop from="{{@i=0}}" to="{{@i<mb_strlen(@keys)}}" step="{{@i++}}">
							{~@a=mb_substr(@keys, @i, 1)~}
								<check if="{{@a=='|'}}">
									<true>
						<br>
									</true>
									<false>
						<input type="button" class="virtual_key" value="{{@a}}" for="q">
									</false>
								</check>
						</loop>
						<button type="button" class="virtual_key_bks" for="q">
							<i class="fas fa-long-arrow-alt-left"></i>
						</button>
						<input type="button" class="virtual_key_delete" for="q" value="CE">
						<br>
						<input type="button" class="virtual_key_eng" value="ENG">
						<input type="button" class="virtual_key virtual_key_space" for="q" value=" ">
						<input type="button" class="virtual_key" for="q" value=",">
						<input type="button" class="virtual_key" for="q" value=".">
					</div>
				</div>
				</check>
				<input type="submit" value="Искать">
			</td>
		</tr>
	</table>
</form>
<p align="center">
	Поиск происходит по клиентам,<br>у которых указан номер телефона<br>или номер карты или ИНН.
</p>
<script type="text/javascript">
$('input[name="q"]').focus();
</script>
<script>
window_open_alarm();
</script>