{include file="$gentemplates/$header_tpl"}
{strip}
	<div class="header">
		{$lang.mobile.quick_search}
	</div>
	<div id="quick_search_form">
		<form action="search.php" method="post" enctype="multipart/form-data">
		<input type="hidden" name="sel" value="search" />
		<div class="search_field_title">{$lang.profile.im}</div>
		<div class="search_field_input">
			<select name="id_user_type">
			{foreach item=item from=$user_types_val}
				<option value="{$item.id}">{$item.name}</option>
			{/foreach}
			</select>
		</div>
		<div class="search_field_title">{$lang.profile.looking_for}</div>
		<div class="search_field_input">
			<select name="id_user_looking_type">
			{foreach item=item from=$user_types_val}
				<option value="{$item.id}">{$item.name}</option>
			{/foreach}
			</select>
		</div>
		<div class="search_field_title">{$lang.mobile.between_the_ages_of}</div>
		<div class="search_field_input">
			<input type="text" name="age_min" class="age_field"/>&nbsp;{$lang.mobile.and}&nbsp;<input type="text"name="age_max" class="age_field" />
		</div>
		{if $cities != false}
		<div class="search_field_title">{$lang.mobile.city}</div>
		<div class="search_field_input">
			<select name="city">
			{foreach item=item from=$cities}
				<option value="{$item.id}">{$item.name}</option>
			{/foreach}
				<option value="other">{$lang.mobile.other_city}</option>
			</select>
		</div>
		{/if}
		<div id="addition_pars">
			<div><input type="checkbox" name="with_photo" id="with_photo" value="1" />&nbsp;<label for="with_photo">{$lang.mobile.with_photo}</label></div>
			<div><input type="checkbox" name="online_now" id="online_now" value="1" />&nbsp;<label for="online_now">{$lang.mobile.online_now}</label></div>
		</div>
		<div id="btn">
			<input type="submit" value="{$lang.mobile.search_btn}" class="button"/>
			<input type="hidden" name="sel" value="search" />
		</div>
		</form>
		<div style="padding-top: 15px;"><a href="photogallery.php">{$lang.mobile.photogallery}</a></div>
	</div>
{/strip}
{include file="$gentemplates/$footer_tpl"}