database add page

This commit is contained in:
Serghey Rodin 2012-06-20 16:58:16 +03:00
commit 9dd6022057
11 changed files with 262 additions and 29 deletions

View file

@ -14,12 +14,6 @@ top_panel($user,$TAB);
// Are you admin?
if ($_SESSION['user'] == 'admin') {
// Cancel
if (!empty($_POST['cancel'])) {
header("Location: /list/mail/");
}
// Mail Domain
if (!empty($_POST['ok'])) {
if (empty($_POST['v_domain'])) $errors[] = 'domain';