<div id="error_page">
	<h1>Ошибка</h1>
	<p class="false">
		Товар "{{@GET.product_search}}" не найден
		<check if="{{isset(@category)}}">
		в категории {{@category['title']?'"'.@category['title'].'"':''}}
		</check>
	</p>
	<check if="{{isset(@category)}}">
	<p align="center">
		<button type="button" class="product_search_in_all">Искать во всех категориях</button>
	</p>
	</check>
	<check if="{{in_array('products/form', @authorization_user.module)}}">
		<true>
	<p>Добавить новый товар?</p>
	<form name="products_new_form" method="GET" action="/products/form">
		<input type="hidden" name="title" value="{{@GET.product_search}}">
		<input type="hidden" name="marking" value="{{@GET.marking}}">
		<p align="center">
			<input type="button" class="close" value="Нет">
			<input type="submit" value="Добавить">
		</p>
	</form>
		</true>
		<false>
<script type="text/javascript">
var w=$('#error_page').closest('.popup');
clearTimeout(auto_close);
auto_close=setTimeout('w.remove();', 3000);
</script>
		</false>
	</check>
</div>
<script>
false_alarm();
</script>