include(DIR . '/includes/functions_user.php'); $fetchavatar = fetch_avatar_url($vbulletin->userinfo['userid']); $avatar = (is_array($fetchavatar) ? "<img src=$fetchavatar[0] $fetchavatar[1] alt='' />" : '<img src="images/defaultavatar.gif" alt="No Avatar" />' );