$login, 'api_key' => randomPassword(20), 'rights' => 3 ]; $id = insert_record($db_link, "customers", $new); if (!empty($id)) { header("Location: editcustom.php?id=$id"); exit; } } } header("Location: " . $_SERVER["REQUEST_URI"]); exit; } // Удаление пользователей if (getPOST("remove") !== null) { $fid = getPOST("fid", null, []); if (!empty($fid) && is_array($fid)) { foreach ($fid as $val) { $val = trim($val); if ($val === '' or $val == '1') continue; delete_record($db_link, "customers", "id = ?", [$val]); } } header("Location: " . $_SERVER["REQUEST_URI"]); exit; } unset($_POST); require_once ($_SERVER['DOCUMENT_ROOT']."/inc/header.php"); print_control_submenu($page_url); ?>

\n"; print "\n"; print "\n"; print "\n"; print "\n"; } ?>
Login
" . $row['login'] . "". $row['description']. "". $acl['name']. "