From b989468601d09f404f1a61c782811331ca2f327c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:32:36 +0200 Subject: [PATCH] debug forms --- panel_admin/includes/formAddCinema.php | 2 +- panel_admin/includes/formAddFilm.php | 2 +- panel_admin/includes/formAddManager.php | 2 +- panel_admin/includes/formAddPromotion.php | 2 +- panel_admin/includes/formDeleteCinema.php | 2 +- panel_admin/includes/formDeleteFilm.php | 2 +- panel_admin/includes/formDeleteManager.php | 2 +- panel_admin/includes/formDeletePromotion.php | 2 +- panel_admin/includes/formEditCinema.php | 2 +- panel_admin/includes/formEditFilm.php | 4 ++-- panel_admin/includes/formEditManager.php | 2 +- panel_admin/includes/formEditPromotion.php | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/panel_admin/includes/formAddCinema.php b/panel_admin/includes/formAddCinema.php index e50e4e7..65620aa 100644 --- a/panel_admin/includes/formAddCinema.php +++ b/panel_admin/includes/formAddCinema.php @@ -77,7 +77,7 @@ class formAddCinema extends Form{
"; - $result = './?state=mc'; + //$result = './?state=mc'; } $exist->free(); } diff --git a/panel_admin/includes/formAddFilm.php b/panel_admin/includes/formAddFilm.php index 156d43c..cc2ac35 100644 --- a/panel_admin/includes/formAddFilm.php +++ b/panel_admin/includes/formAddFilm.php @@ -126,7 +126,7 @@ class formAddFilm extends Form{
"; - $result = './?state=mf'; + //$result = './?state=mf'; }else { $result['img'] = 'El archivo tiene un nombre o tipo no soportado'; diff --git a/panel_admin/includes/formAddManager.php b/panel_admin/includes/formAddManager.php index 3d15b4b..10a942f 100644 --- a/panel_admin/includes/formAddManager.php +++ b/panel_admin/includes/formAddManager.php @@ -78,7 +78,7 @@ class formAddManager extends Form{
"; - $result = './?state=mg'; + //$result = './?state=mg'; } $exist->free(); diff --git a/panel_admin/includes/formAddPromotion.php b/panel_admin/includes/formAddPromotion.php index f1374c7..97916b4 100644 --- a/panel_admin/includes/formAddPromotion.php +++ b/panel_admin/includes/formAddPromotion.php @@ -134,7 +134,7 @@ class formAddPromotion extends Form{
"; - $result = './?state=mp'; + //$result = './?state=mp'; }else { $result['img'] = 'El archivo tiene un nombre o tipo no soportado'; diff --git a/panel_admin/includes/formDeleteCinema.php b/panel_admin/includes/formDeleteCinema.php index bc42f98..a861176 100644 --- a/panel_admin/includes/formDeleteCinema.php +++ b/panel_admin/includes/formDeleteCinema.php @@ -59,7 +59,7 @@ class formDeleteCinema extends Form{
"; - $result = './?state=mc'; + //$result = './?state=mc'; } $exist->free(); } diff --git a/panel_admin/includes/formDeleteFilm.php b/panel_admin/includes/formDeleteFilm.php index 020c26d..8bc90aa 100644 --- a/panel_admin/includes/formDeleteFilm.php +++ b/panel_admin/includes/formDeleteFilm.php @@ -69,7 +69,7 @@ class formDeleteFilm extends Form{
"; - $result = './?state=mf'; + //$result = './?state=mf'; } else{ $result[] = "La pelicula seleccionada no existe."; diff --git a/panel_admin/includes/formDeleteManager.php b/panel_admin/includes/formDeleteManager.php index 30eed77..fd0e3a8 100644 --- a/panel_admin/includes/formDeleteManager.php +++ b/panel_admin/includes/formDeleteManager.php @@ -64,7 +64,7 @@ class formDeleteManager extends Form{
"; - $result = './?state=mg'; + //$result = './?state=mg'; } else{ $result[] = "ERROR. No existe un manager con ese ID"; diff --git a/panel_admin/includes/formDeletePromotion.php b/panel_admin/includes/formDeletePromotion.php index f82a657..3e07dda 100644 --- a/panel_admin/includes/formDeletePromotion.php +++ b/panel_admin/includes/formDeletePromotion.php @@ -73,7 +73,7 @@ class formDeletePromotion extends Form{
"; - $result = './?state=mp'; + //$result = './?state=mp'; } else{ diff --git a/panel_admin/includes/formEditCinema.php b/panel_admin/includes/formEditCinema.php index 29009f2..8e66d8a 100644 --- a/panel_admin/includes/formEditCinema.php +++ b/panel_admin/includes/formEditCinema.php @@ -83,7 +83,7 @@ class formEditCinema extends Form{
"; - $result = './?state=mc'; + //$result = './?state=mc'; } else{ $result[] = "El cine seleccionado no existe."; diff --git a/panel_admin/includes/formEditFilm.php b/panel_admin/includes/formEditFilm.php index ea97dcb..b9ba5e2 100644 --- a/panel_admin/includes/formEditFilm.php +++ b/panel_admin/includes/formEditFilm.php @@ -137,7 +137,7 @@ class formEditFilm extends Form{
"; - $result = './?state=mf'; + //$result = './?state=mf'; }else { $result['img'] = 'El archivo tiene un nombre o tipo no soportado'; @@ -156,7 +156,7 @@ class formEditFilm extends Form{
"; - $result = './?state=mf'; + //$result = './?state=mf'; } } diff --git a/panel_admin/includes/formEditManager.php b/panel_admin/includes/formEditManager.php index 68e32c6..8e76a38 100644 --- a/panel_admin/includes/formEditManager.php +++ b/panel_admin/includes/formEditManager.php @@ -69,7 +69,7 @@ class formEditManager extends Form{
"; - $result = './?state=mg'; + // $result = './?state=mg'; } else{ diff --git a/panel_admin/includes/formEditPromotion.php b/panel_admin/includes/formEditPromotion.php index 0dc9693..ad99dee 100644 --- a/panel_admin/includes/formEditPromotion.php +++ b/panel_admin/includes/formEditPromotion.php @@ -139,7 +139,7 @@ class formEditPromotion extends Form{
"; - $result = './?state=mp'; + //$result = './?state=mp'; }else { $result['img'] = 'El archivo tiene un nombre o tipo no soportado'; @@ -158,7 +158,7 @@ class formEditPromotion extends Form{
"; - $result = './?state=mp'; + //$result = './?state=mp'; } } else{