diff --git a/panel_manager/manage_sessions.php b/panel_manager/manage_sessions.php deleted file mode 100644 index a460a02..0000000 --- a/panel_manager/manage_sessions.php +++ /dev/null @@ -1,110 +0,0 @@ -processesForm(null, $_SESSION["cinema"], null, null, "list"); - $formSession->processesForm(null, $placeholder_hall, $_SESSION["cinema"], $placeholder_date, null, null, null, null, "list"); - - echo" - -
-
- - - -
-
"; - - function drawSessions($sessions,$bd){ - echo " - -
- - - - - - - - - - "; - foreach($sessions as $s){ - $film = mysqli_fetch_array($bd->FilmData($s->getIdfilm())); - echo " - - - - - - - getIdfilm()."\"> - getIdhall()."\"> - getDate()."\"> - getStartTime()."\"> - getSeatPrice()."\"> - getFormat()."\"> - - - "; - } - echo " - -
HoraPeliculaFormatoPrecio
" . date('H:i', strtotime( $s->getStartTime())) . " " . str_replace('_', ' ', $film["tittle"]) . " " . $s->getFormat() . " " . $s->getSeatPrice() . "
- -
\n"; - - } - if($formSession->getReply()){ - $bd = new Film_DAO('complucine'); - if($bd){ - drawSessions($formSession->getReply(), $bd); - } else { - echo "
-

Hay un error en la conexion

-
"; - } - } else { - echo " - -
-

No hay ninguna session en la sala ". $placeholder_hall . " el dia ". $placeholder_date . "

- -
\n"; - } -?> \ No newline at end of file