diff --git a/panel_admin/panelAdmin.php b/panel_admin/panelAdmin.php index aae7736..0954f74 100644 --- a/panel_admin/panelAdmin.php +++ b/panel_admin/panelAdmin.php @@ -19,11 +19,11 @@ } else if(isset($_POST['add_cinema'])) { $this->addCinema(); - $template->print_cinemas(); + echo ($template->print_cinemas()); } else { $this-> addCinema(); - $template->print_cinemas(); + echo ($template->print_cinemas()); }; break; @@ -35,11 +35,11 @@ } else if(isset($_POST['add_film'])) { $this->addFilm(); - $template->print_fimls(); + echo ( $template->print_fimls()); } else { $this->addFilm(); - $template->print_fimls(); + echo( $template->print_fimls()); }; break; case 'mp': require_once('manage_promotions.php');