if ($moderatenewmembers or $coppauser) { $newusergroupid=4; } else { $newusergroupid=[high]2[/high]; }
$DB_site->query("UPDATE user SET usergroupid=[high]2[/high] WHERE userid='$u'");