From 1dba527f1e77bc55e34224d224aff7d90a027cea Mon Sep 17 00:00:00 2001 From: marian1010 <79144276+marian1010@users.noreply.github.com> Date: Wed, 5 May 2021 19:33:03 +0200 Subject: [PATCH] mg panelAdmin --- panel_admin/panelAdmin.php | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/panel_admin/panelAdmin.php b/panel_admin/panelAdmin.php index fd9e4b3..3a82ef9 100644 --- a/panel_admin/panelAdmin.php +++ b/panel_admin/panelAdmin.php @@ -79,7 +79,28 @@ }; break; - case 'mm': /*require_once('manage_managers.php')*/;echo"

En construcción

"; break; + case 'mg': require_once('manage_managers.php'); + if(isset($_POST['edit_manager'])) { + editManager(); + } + else if(isset($_POST['delete_manager'])) { + deleteManager(); + } + else if(isset($_POST['add_manager'])) { + confirmAdd(); + } + else if(isset($_POST['confirm_delete_manager'])) { + confirmDelete(); + } + else if(isset($_POST['confirm_edit_manager'])) { + confirmEdit(); + } + else { + addManager(); + print_managers(); + + }; + break; case 'un': echo"

En construcción

"; break; case 'ur': echo"

En construcción

";; break; case 'ag': echo"

En construcción

";; break;