http://www.clikchicdesigns.com/forums/image.php?u=1
Well I guess I would need access to your database to see why it is not doing this
elseif ( $hasav == 1 )
$userprofile[6] = "<img src=\"{$Globals['vbulletin']}/image.php?u=$cuserid\" border=\"0\">"; // Avatar