echo "<table><tr><td>";
if ($userdata['user_avatar'] != "") {
echo "<img border='0' src='".BASEDIR."images/avatars/".$userdata['user_avatar']."'>";
} else {
echo "<img border='0' src='".BASEDIR."images/avatars/noav.gif'>";
}
echo "</td></tr></table>";