diff --git a/panel_manager/edit_sessions.php b/panel_manager/edit_sessions.php index e7811d9..da6e69f 100644 --- a/panel_manager/edit_sessions.php +++ b/panel_manager/edit_sessions.php @@ -10,10 +10,11 @@ require_once('../panel_admin/includes/film_dto.php'); include_once('../panel_admin/includes/film_dao.php'); - $cinema = "1"; $formHall = new FormHall(); - $formHall->processesForm(null, $cinema, null, null, "list"); + $formHall->processesForm(null, $_SESSION["cinema"], null, null, "list"); + + $filmList = new Film_DAO('complucine'); @@ -24,14 +25,16 @@ } if(isset($_REQUEST['option']) && $_REQUEST['option'] == 'edit') { + $_SESSION["hall"] = $_POST['hall']; + $_SESSION["date"] = $_POST['date']; + $_SESSION["start"] = $_POST['start']; + echo "