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