<div class="wrapper_center">
<div class="wrapper_cell">
	<div id="users_list">
		<?php foreach($data as $value):?>
		<div class="orn_box">
			<div class="orn_s ovr_flw_hid">
				<a href="<?=DIR.$lang['lang'].'/users/'.$value->user_id;?>" target="_blank">
					<div class="orn_tit_int hov" data-cust="<?=$value->user_id; ?>"><?=$value->user_name;?></div>
				</a>
				<a class="offset_right_block" href="<?=DIR.$lang['lang'].'/users/'.$value->user_id;?>" target="_blank">
					<img <?php
						if(!empty($value->user_img_selected)){
							echo 'class="small_avatar" src="'.DIR.$value->user_img_selected.'"';
						}else{
							echo 'class="small_avatar usr_avt_'.$value->user_gender.'_'.mt_rand(0, 3).'"';
						}
					?> alt="" />
				</a>
				<span class="orn_sub"><?=$lang['user_status'];?></span><span class="orn_sub_cnt" data-cust="user_inter" data-value="<?=$value->user_interpersonal_stat;?>" data-gender="<?=$value->user_gender;?>"></span>
				<span class="orn_sub"><?=$lang['user_height'];?></span><span class="orn_sub_cnt"><?=$value->user_height;?></span>
				<span class="orn_sub"><?=$lang['user_age'];?></span><span class="orn_sub_cnt"><?php
					$datetime1 = new DateTime();
					$datetime2 = new DateTime($value->user_birth);
					echo $datetime2->diff($datetime1)->format('%y');?></span>
				<span class="orn_sub"><?=$lang['user_city'];?></span><span class="orn_sub_cnt" data-cust="user_city" data-value="<?=$value->user_city;?>"></span>
				<span class="orn_sub"><?=$lang['user_about'];?></span><span class="orn_sub_cnt"><?=$value->user_about;?></span>
			</div>
		</div>
		<?php endforeach;?>
	</div>
</div>
</div>