GetManager($user->getId()); if($manager){ if($manager->num_rows == 1){ $fila = $manager->fetch_assoc(); $manager = new Manager($fila["id"], $fila["idcinema"], $fila["username"], $fila["email"], $fila["rol"]); } } } switch($_GET["state"]){ case "view_ruser": case "view_user": $panel = '

Esta vista aun no esta implementada.


'."\n"; break; case "manage_halls": $panel = Manager_panel::manage_halls($manager); break; case "new_hall": $panel = Manager_panel::new_hall($manager); break; case "edit_hall": $panel = Manager_panel::edit_hall($manager); break; case "manage_sessions": $panel = Manager_panel::manage_sessions($manager); break; case "new_session": $panel = Manager_panel::new_session($manager); break; case "edit_session": $panel = Manager_panel::edit_session($manager); break; case "select_film": $panel = Manager_panel::select_film($template,$manager); break; case "success": $panel = Manager_panel::success(); break; default: $panel = Manager_panel::welcome($manager); break; } } else{ $panel = '

Debes iniciar sesión para ver el Panel de Manager.


Inicia Sesión en una cuenta con permisos.

'."\n"; } //Specific page content: $section = '
'.$panel.'
'; //General page content: require RAIZ_APP.'/HTMLtemplate.php'; ?>