array( "Back to Amavis" => "amavis-main.php", ), )); # Display delete confirm screen if ($_POST['frmaction'] == "delete") { # Check a amavis rule was selected if (isset($_POST['amavis_id'])) { ?>
Are you very sure?
No Amavis rule selected
exec("DELETE FROM ${DB_TABLE_PREFIX}amavis_rules WHERE ID = ".$db->quote($_POST['amavis_id'])); if ($res) { ?>
Amavis rule deleted
Error deleting Amavis rule!
errorInfo()) ?>
Amavis rule not deleted, aborted by user
Invocation error, no Amavis rule ID
Invalid invocation