Мб
if(isset($ank['avatar'])) {
$id = abs(intval($_GET['id']));
$ank = mysql_fetch_assoc(mysql_query("SELECT * FROM `users` WHERE `id` = '".$id."'"
);
echo '<img src="'.$HOME.'/files/ava/'.$ank['avatar'].'" alt="*" style="max-width: 210px; max-height: 210px;">';
} else {
echo '<img style = "margin-right: 5px;" src="'.$HOME.'/design/img/no_avatar.png" alt="*" style="max-width: 210px; max-height: 210px;" class = "obv_img"/>';
}