enabled) { __("This page is restricted to authorized staff"); exit(); } if (!$admin->checkcreator($uid)) { __("This page is restricted to authorized staff"); exit(); } if ($pass != $passconf) { $error = _("Passwords do not match"); include("adm_edit.php"); exit(); } if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass, $type, $duration)){ $error=$err->errstr(); include("adm_edit.php"); } else { $error=_("The member has been successfully edited"); include("adm_list.php"); } ?>