if ($userdata['user_avatar'] != "") { echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='60' height='60'>\n"; } else { echo "<img src='".THEME."images/noavatar.jpg' width='60' height='60'>\n"; }