id == $account['domain']) { $domain = $dom->domainname; break; } $account_string = $account['local'] . "@" . $domain; $sure = user_is_sure(); if ($sure === NULL) { are_you_sure("action=delete&id={$account['id']}", "Möchten Sie die E-Mail-Adresse »{$account_string}« wirklich löschen?"); } elseif ($sure === true) { delete_account($account['id']); if (! $debugmode) header("Location: accounts.php"); } elseif ($sure === false) { if (! $debugmode) header("Location: accounts.php"); } } else system_failure("Unimplemented action"); output(''); ?>