$fDomain!"; } else { $result = db_query ("UPDATE mailbox SET active=1-active WHERE username='$fUsername' AND domain='$fDomain'"); if ($result['rows'] != 1) { $error = 1; $tMessage = $PALANG['pEdit_mailbox_result_error']; } else { db_log ($SESSID_USERNAME, $fDomain, "edit active", $fUsername); } } if ($error != 1) { header ("Location: overview.php?domain=$fDomain"); exit; } include ("./templates/header.tpl"); include ("./templates/menu.tpl"); include ("./templates/message.tpl"); include ("./templates/footer.tpl"); } if ($_SERVER['REQUEST_METHOD'] == "POST") { include ("./templates/header.tpl"); include ("./templates/menu.tpl"); include ("./templates/message.tpl"); include ("./templates/footer.tpl"); } ?>