<h1>{{@page_data['title']}}</h1>
<form name="products_all_search_form" action="/products/search_barcodes?not_add=1" method="GET" style="background: none;">
	<p align="center">
		<input type="text" name="product_search" id="product_search_input" class="product_search_form" autofocus autocomplete="off" placeholder="Штрих-код или название">
		<button type="submit">
			<i class="fas fa-search"></i>
			<br>
			<div class="small">Искать</div>
		</button>
	</p>

<check if="{{@base_settings.virtual_keyboard==1}}">
<div class="virtual_keyboard virtual_keyboard_product_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="product_search_form">
				</false>
			</check>
		</loop>
		<button type="button" class="virtual_key_bks" for="product_search_form">
			<i class="fas fa-long-arrow-alt-left"></i>
		</button>
		<input type="button" class="virtual_key_delete" for="product_search_form" value="CE">
		<br>
		<input type="button" class="virtual_key_ru" value="RU">
		<input type="button" class="virtual_key virtual_key_space" for="product_search_form" value=" ">
		<input type="button" class="virtual_key" for="product_search_form" value=",">
		<input type="button" class="virtual_key" for="product_search_form" 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="product_search_form">
					</false>
				</check>
		</loop>
		<button type="button" class="virtual_key_bks" for="product_search_form">
			<i class="fas fa-long-arrow-alt-left"></i>
		</button>
		<input type="button" class="virtual_key_delete" for="product_search_form" value="CE">
		<br>
		<input type="button" class="virtual_key_eng" value="ENG">
		<input type="button" class="virtual_key virtual_key_space" for="product_search_form" value=" ">
		<input type="button" class="virtual_key" for="product_search_form" value=",">
		<input type="button" class="virtual_key" for="product_search_form" value=".">
	</div>
</div>
	</check>

</form>
<script type="text/javascript">
$('form[name="products_all_search_form"] input[name="product_search"]').focus();
</script>
