echo "<td align='center' width='150' rowspan='5' class='tbl2'>\n";
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100'>";
} else {
echo "<img src='".IMAGES."noavatar.gif' width='100' height='100' >";
}
echo "</tr>";