if ($data['user_avatar'] != "") echo "<img src='".IMAGES."avatars/".$data['user_avatar']."'>"; else echo "<img src='".IMAGES."avatars/noavatar.gif'>";