if ($bbuserinfo['usergroupid'] == 1) { $regcpbutton = "<img src=\"images/register.gif\" alt=\"Registeration is free! Join now!\" border=\"0\">"; } else { $regcpbutton = "<img src=\"images/top_profile.gif\" alt=\"Manage your forum preferences!\" border=\"0\">"; }