{include file="$gentemplates/$header_tpl"}
{strip}
	<div class="header">
	{$lang.mobile.search_results}{if $pages_count > 1}&nbsp;:&nbsp;{$pages_count}&nbsp;{$lang.mobile.pages}{/if}
	</div>
	<div id="search_resulits">
	{foreach item=item from=$results}
		<div class="user_sr_block">
			<a href="{$item.profile_link}">
			<div class="profile_left">&nbsp;</div>
			<div class="profile_center">
				<table cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td valign="top" width="70"><div class="user_icon"><a href="{$item.profile_link}"><img src="{$item.icon_path}" alt="" /></a></div></td>
					<td valign="top">
						<div class="user_info">
							<div class="user_login"><a href="{$item.profile_link}">{$item.name}</a></div>
							<div class="user_city">{if $base_lang.city[$item.id_city]}{$base_lang.city[$item.id_city]}{else}&nbsp;{/if}</div>
							<div class="user_age">{$item.age}&nbsp;{$lang.mobile.years_old}</div>
							<div class="user_photos">{$item.photo_count}&nbsp;{$lang.mobile.photo}</div>
						</div>
					</td>
					<td align="right" style="padding-top: 1px;"><a href="{$item.profile_link}"><img src="../templates/pilot_3_theme/images/mobile/iphone/user_profile_btn.gif"></a></td>
				</tr>
				</table>
			</div>
			<div class="profile_right">&nbsp;</div>
			</a>
			<div style="clear: both;"></div>
		</div>
	{foreachelse}
	{if isset($percent_err) && $percent_err eq 1}
	{$lang.mobile.error_percent_perfect_match}<br>
	<a href="homepage.php">{$lang.mobile.back_to_home}</a>
	{else}
	{$lang.mobile.users_are_not_found}
	{/if}
	{/foreach}
	{if $links}
	<div id="pagination">
	{foreach item=item from=$links}
		<div class="link">{if $item.selected}<span>{else}<a href="{$item.link}">{/if}{$item.name}{if $item.selected}</span>{else}</a>{/if}</div>
	{/foreach}
		<div style="clear: both;"></div>
	</div>
	{/if}
	</div>
{/strip}
{include file="$gentemplates/$footer_tpl"}