From bb2f0934dd1bd38e2413455435347ae47bf65833 Mon Sep 17 00:00:00 2001
From: OscarRui <79144467+OscarRui@users.noreply.github.com>
Date: Thu, 6 May 2021 18:12:26 +0200
Subject: [PATCH] Add files via upload
---
panel_manager/panel_manager.php | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/panel_manager/panel_manager.php b/panel_manager/panel_manager.php
index 05f0ffa..a3f1de1 100644
--- a/panel_manager/panel_manager.php
+++ b/panel_manager/panel_manager.php
@@ -141,7 +141,16 @@
'. str_replace('_', ' ', Session::getFilmTitle($session->getIdfilm())) .' |
'.$session->getFormat().' |
'.$session->getSeatPrice().' |
+
+
';
}
$panel.='
@@ -169,12 +178,9 @@
}
static function edit_session(){
- $panel = '
-
- Editar una session.
- En desarrollo...
-
- '."\n";
+ $data = array("option" => "edit_session","hall" => $_POST["hall"],"cinema" => $_SESSION["cinema"],"date" => $_POST['date'],"film" => $_POST['film'],"start" => $_POST['start'],"price" => $_POST['price'],"format" => $_POST['format']);
+ $panel = 'Editar una sesiĆ³n.
+ '.FormSession::generaCampoFormulario($data, null);
return $panel;
}
|