if ($userinfo[posts]!=0 and $userinfo[lastpost]!=0) {
if ($userinfo['usergroupid']==5 or $userinfo['usergroupid']==7 or $userinfo['usergroupid']==6) { $lastpostdate="Can't see this info"; } elseif ($userinfo[posts]!=0 and $userinfo[lastpost]!=0) {