if ($userdata['user_avatar'] != "") {
echo "<center><img src='".IMAGES."avatars/".$userdata['user_avatar']."' alt='".$locale['567']."'><br>\n</center>";
} else {
echo "<center><img src='".IMAGES."avatars/noimage.gif' alt='".$locale['567']."'><br>\n</center>";
}