Update panelAdmin.php

This commit is contained in:
marian1010 2021-05-13 12:44:12 +02:00
parent 31ba3ec858
commit ce47b5b766

View File

@ -19,11 +19,11 @@
} }
else if(isset($_POST['add_cinema'])) { else if(isset($_POST['add_cinema'])) {
$this->addCinema(); $this->addCinema();
$template->print_cinemas(); echo ($template->print_cinemas());
} }
else { else {
$this-> addCinema(); $this-> addCinema();
$template->print_cinemas(); echo ($template->print_cinemas());
}; };
break; break;
@ -35,11 +35,11 @@
} }
else if(isset($_POST['add_film'])) { else if(isset($_POST['add_film'])) {
$this->addFilm(); $this->addFilm();
$template->print_fimls(); echo ( $template->print_fimls());
} }
else { else {
$this->addFilm(); $this->addFilm();
$template->print_fimls(); echo( $template->print_fimls());
}; };
break; break;
case 'mp': require_once('manage_promotions.php'); case 'mp': require_once('manage_promotions.php');