if ($userdata['user_avatar'] != "") {
echo "<img border='0' width='100' height='100' alt='".$locale['on106']."' title='".$locale['on106']."' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'>\n";
} else {
echo "<img border='0' width='100' height='100' alt='".$locale['on107']."' title='".$locale['on107']."' src='".BASEDIR."images/noimage.gif'>\n";
}