{strip}
	<div class="p-b5" style="position: relative; margin-top:0;overflow: hidden;">
		<div class="rate_container float_left" style="width: 55%; {if $guest eq 1}display: none;{/if}">
			<div class="hn_not hn_hot_not float_left">{$lang.hotornot.not}</div>
			<div id="marks" class="rate_bar float_left">
				{foreach from=$vote_arr item=item}
					<div onclick="VoteUser('{$item}');" class="rate_heart rate_heart_inactive" id="mark{$item}" name="mark{$item}" onmouseover="marks({$item},'show');" onmouseout="marks({$item},'hide');"></div>
				{/foreach}
			</div>
			<div class="hn_hot hn_hot_not float_left">{$lang.hotornot.hot}</div>
		</div>
		<div class="float_right" style="padding-top: 7px;">
	        <form name="sort_form" action="{$filename}" method="POST" style="margin:0px; text-align: center;">
		<input type="hidden" name="sel" value="sort_photo">
	        <span>{$lang.hotornot.show_me}&nbsp;</span>
                 <select style="width:150px;" id="show_me" name="show_me" onchange="SortUserType(this.options[this.selectedIndex].value);">
                     <option value="0" {if $show_me eq '0'}selected{/if} >All</option>
                    {foreach key=key item=item from=$user_types}
                        <option value="{$key}" {if $show_me eq $key}selected{/if}>{$item}</option>
                    {/foreach}
		</select>
                &nbsp;
	        <span>{$lang.hotornot.age}&nbsp;</span><select id="min_age" name="min_age" style="width:50px;" onchange="document.sort_form.submit();">
					{foreach item=item from=$age_min}
						<option value="{$item}" {if $min_age_sel eq $item}selected{/if}>{$item}</option>
					{/foreach}
				</select>&nbsp;
	                <select id="max_age" name="max_age" style="width:50px;" onchange="document.sort_form.submit();">
					{foreach item=item from=$age_max}
						<option value="{$item}" {if $max_age_sel eq $item}selected{/if}>{$item}</option>
					{/foreach}
				</select>&nbsp;
		</form>
		</div>
	</div>
	
	<div id="user_area">
	<div id="user_td">	
	<div class="float_left left_section">
		<div id="main_image_td" class="p_b_5">
			<a href="{$user_info.view_link}"><img id="main_image" alt="" style="{if $user_info.width > $user_info.width*8/5}max-height: 500px; width: 730px{else}height: 500px; max-width: 730px{/if}"/></a>
			<input id="id_upload" type="hidden" name="id_uplad" value="{$user_info.id_upload}" />
			<input id="img_url" type="hidden" value="{$user_info.upload_url}" />
			<input id="id_user" type="hidden" value="{$user_info.id_user}" />
		</div>	
	</div>
	<div class="right_section">
		<div class="p_b_5">
			<a class="fontbold" href="{$user_info.view_link}">{$user_info.name}</a></br>
			{if $user_info.location}{$user_info.location|truncate:38}</br>{/if}
			{$user_info.years}&nbsp;{$lang.home_page.ans}
		</div>
		<div class="profile_buttons p-b5 profile_info" style="position: relative; padding: 11px 0 8px;">
			<div id="send_icons">
				{if $use_mailbox == "1"}
				<p>
					<a href="{$user_info.email_link}" title="">{$lang.button.gr_email}</a>
				</p>
				{/if}
				<p>
					<a style="margin-{$default_right}:10px;" style="margin-{$default_right}:10px;" href="#" onclick="javascript:open_im_window({$user_info.id_user}); return false;" title="">{$lang.button.gr_im}</a>
				</p>
				<p>
				{if $form.use_kiss_types}
					<a href="#" onclick="launchWindow('{$user_info.kiss_link}','',600,530); return false;"  title="">{$lang.button.gr_kiss}</a>
				{else}
					<a href="{$user_info.kiss_link}" title="">{$lang.button.gr_kiss}</a>
				{/if}
				</p>
				{if $user_info.ecard_link}
					<p><a style="margin-{$default_right}:10px;" href="{$user_info.ecard_link}" title="{$lang.search.send_ecard}">{$lang.search.send_ecard}</a></p>
				{/if}
				{if ($use_pilot_module_giftshop) && ($user_info.gift_link)}
					<p><a style="margin-{$default_right}:10px;" href="{$user_info.gift_link}" title="{$lang.button.gr_gift}">{$lang.button.gr_gift}</a></p>
				{/if}
				{if $use_pilot_module_flashcomsmessenger eq 1 && $z5IsUserOnline}
					<p><a style="margin-{$default_right}:10px;" href="javascript:z5messenger.SendInvitation('{$user_info.id_user}');" title="">{$lang.z5_messenger.title}</a></p>
				{/if}
				<p><a style="margin-{$default_right}:10px;" href="#" class="" onclick="launchWindow('{$user_info.sendfriend_link}','',550,500); return false;" title="">{$lang.search.send_to_friend}</a></p>
				{if $use_pilot_module_flashcomsmessenger eq 1 && $z5IsUserOnline}
					<p><a style="margin-{$default_right}:10px;" href="javascript:z5messenger.SendInvitation('{$user_info.id}');" title="">{$lang.z5_messenger.title}</a></p>
				{/if}
			</div>
			{if $form.guest_user != 1}
				<a style="margin-{$default_right}:10px;" class="mail-icon" onClick="$('#send_icons').toggle();" title="{$lang.search.share}">&nbsp;</a>
				{if $voipcall_feature && $phone_exist eq '1'}
					{if $user_info.phone}{*$user_info.phone_link*}
						{$user_info.phone}
					{/if}
					{if $user_info.webrecorder_player}
						<a style="margin-{$default_right}:10px;" href="#" class="video-icon" onclick="javascript: window.open('{$user_info.webrecorder_player}','video_view','menubar=0, resizable=1, scrollbars=0,status=0,toolbar=0, width={$user_info.webrecorder_width},height={$user_info.webrecorder_height}');return false;">&nbsp;</a>
					{/if}
				{/if}
			{/if}
			{if ($use_pilot_module_blog) && ($menu.blog)}
				<a style="margin-{$default_right}:10px;" class="blog-icon" onclick="javascript:location.href='{$menu.blog}';" title="{$lang.blog.blog_menu_1}">&nbsp;</a>
			{/if}
			{if $form.guest_user != 1}
				{if $user_info.blacklisted}
					<a style="margin-{$default_right}:10px;" class="blacklist-icon" href="{$user_info.del_blacklist_link}" title="{$lang.search.del_from_blacklist}">&nbsp;</a>
				{/if}
				{if $user_info.hotlisted}
					<a class="fav-icon" href="{$user_info.del_hotlist_link}" title="{$lang.search.del_from_hotlist}">&nbsp;</a>
				{/if}
				{if $user_info.blacklist_link && !$user_info.hotlisted}
					<a style="margin-{$default_right}:10px;" class="blacklist-icon" href="{$user_info.blacklist_link}" title="{$lang.search.add_to_blacklist}">&nbsp;</a>
					<a class="addfav-icon" href="{$user_info.addfriend_link}" title="{$lang.search.add_to_hotlist}">&nbsp;</a>
				{/if}
			{/if}
		</div>
		<div id="rating_div" style="padding:5px 0;">
			<p style="font-size:18px;">{$lang.hotornot.your_rating}:&nbsp;{$user_stats.rating}</p>
			<p>{$user_stats.votes_count_phrase}</p>
		</div>
		{include file="$gentemplates/hot_or_not_userphoto.tpl"}		
	</div>
	</div>
	</div>
{/strip}