if ($action=="doupdate" && checklogperms($editadmin,1,"<p>You are not allowed to edit this user.</p>")) {