// Lastvisit
if($memprofile['lastactive'] && !in_array($mybb->user['usergroup'], array('6', '4')) && !in_array($mybb->user['additionalgroups'], array('6', '4')))
{
$memlastvisitsep = $lang->comma;
$memlastvisitdate = my_date('relative', $memprofile['lastactive']);
}else{
$memlastvisitdate = "Das wird wohl nix mit uns.";
}
// Time Online
$timeonline = $lang->none_registered;
if($memprofile['timeonline'] > 0 && !in_array($mybb->user['usergroup'], array('6', '4')) && !in_array($mybb->user['additionalgroups'], array('6', '4')))
{
$timeonline = nice_time($memprofile['timeonline']);
}else{
$timeonline = "Das wird wohl nix mit uns.";
}