<div class="wrapper_center">
<div class="wrapper_cell">
	<div class="orn_pan_fl">
		<div class="orn_s">
			<h1 class="reg_font_24"><?=$data->user_name;?></h1>
		</div>
	</div>
	<div id="user_images" class="orn_box h_320" data-cust="<?=$data->user_img_paths;?>" data-sel="<?=$data->user_img_selected;?>">
		<div class="orn_s">
			<div class="orn_tit_int"><?=$lang['user_pics'];?></div>
			<div id="user_images_sel">
				<img id="user_images_avatar" class="usr_avt_<?=$data->user_gender.'_'.mt_rand(0, 3);?>" alt="" />
			</div>
			<div id="user_images_show" class="orn_tit_but h_43">
			</div>
		</div>
	</div>
	<div id="users_list" class="orn_box h_320">
		<div class="orn_s">
			<div class="orn_tit_int"><?=$lang['srch_i_am'];?></div>
			<p><span class="orn_sub"><?=$lang['user_name'];?></span><span class="orn_sub_cnt"><?=$data->user_name;?></span></p>
			<p><span class="orn_sub"><?=$lang['user_status'];?></span><span id="set_status" class="orn_sub_cnt" data-cust="user_inter" data-value="<?=$data->user_interpersonal_stat;?>"  data-gender="<?=$data->user_gender;?>"></span></p>
			<p><span class="orn_sub"><?=$lang['user_age'];?></span><span class="orn_sub_cnt"><?php
				$datetime1 = new DateTime();
				$datetime2 = new DateTime($data->user_birth);
				echo $datetime2->diff($datetime1)->format('%y');?></span></p>
			<p><span class="orn_sub"><?=$lang['user_city'];?></span><span class="orn_sub_cnt" data-cust="user_city" data-value="<?=$data->user_city;?>"></span></p>
			<p><span class="orn_sub"><?=$lang['user_height'];?></span><span class="orn_sub_cnt"><?=$data->user_height;?></span></p>
			<p><span class="orn_sub"><?=$lang['user_face'];?></span><span class="orn_sub_cnt" data-cust="user_face" data-value="<?=$data->user_face;?>"></span></p>
			<p><span class="orn_sub"><?=$lang['user_body'];?></span><span class="orn_sub_cnt" data-cust="user_body" data-value="<?=$data->user_body;?>"></span></p>
			<p><span class="orn_sub"><?=$lang['user_smokes'];?></span><span class="orn_sub_cnt" data-cust="user_smokes" data-value="<?=$data->user_smokes;?>"></span></p>
		</div>
	</div>
	<div class="orn_box h_320">
		<div class="orn_s">
			<div class="orn_tit_int"><?=$lang['user_seek'];?></div>
		</div>
	</div>
	<?php if($data->logged_in):?>
	<div id="conv_block" class="orn_box h_320" data-cust="<?=$data->user_id;?>">
		<div class="orn_s">
		<div class="orn_tit_int"><?=$lang['conv'];?></div>
		<div id="conv_block_text" class="h_222 ove_a">
			<?php if(!empty($data->conversation)) echo $data->conversation; else echo $lang['conv_empty'];?>
		</div>
		<div class="orn_tit_but bg_col_none">
			<form id="con_form">
				<textarea id="conv_msg" class="reg_input h_43 w230" type="text" maxlength="250" cols="50" rows="5" placeholder="<?=$lang['conv_type_text'];?>"></textarea>
				<input id="conv_send" class="orn_s orn_but_fur" type="submit" value="<?=$lang['conv_snd'];?>"/>
			</form>
		</div>
		</div>
	</div>
	<?php endif;?>
	<div class="orn_box">
		<div class="orn_s">
			<div class="orn_tit_int"><?=$lang['user_about'];?></div>
			<pre class="orn_sub_cnt w290"><?=$data->user_about;?></pre>
		</div>
	</div>
	<div class="orn_box">
		<div class="orn_s">
			<div class="orn_tit_int"><?=$lang['user_seek'];?></div>
			<pre class="orn_sub_cnt w290"><?=$data->user_looking;?></pre>
		</div>
	</div>
</div>
</div>