diff --git a/panel_manager/index.php b/panel_manager/index.php index f40a535..7d5f2dd 100644 --- a/panel_manager/index.php +++ b/panel_manager/index.php @@ -16,8 +16,34 @@ $state = isset($_GET['state']) ? $_GET['state'] : ''; switch($state){ case "view_user": + $_SESSION["rol"] = null; + $panel .= "
+ "; break; case "view_ruser": + $_SESSION["rol"] = "user"; + $panel .= " + "; break; case "manage_halls": $panel = Manager_panel::manage_halls($manager);