From 2a09ad18b9340a38059fc59728786c2d8eda74fd Mon Sep 17 00:00:00 2001 From: Markines16 <80280295+Markines16@users.noreply.github.com> Date: Thu, 15 Apr 2021 22:34:33 +0200 Subject: [PATCH] Deberia estar todo hecho --- panel_manager/edit_sessions.php | 11 +++++++---- panel_manager/includes/formHall.php | 2 -- panel_manager/includes/formSession.php | 10 +++++----- panel_manager/includes/session_dao.php | 15 +++++++++------ panel_manager/manage_sessions.php | 9 ++++----- panel_manager/validateSession.php | 18 +++++++++++++++--- 6 files changed, 40 insertions(+), 25 deletions(-) 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 "