Esta comentado las opciones de sesion

Hay un fallo con film.php que esperamos arreglarlo mañana con el join en sesion y el template
This commit is contained in:
Markines16
2021-05-06 23:25:38 +02:00
committed by GitHub
parent 8bb34474d6
commit d00c212e07
6 changed files with 125 additions and 26 deletions

View File

@ -1,8 +1,8 @@
<?php
include_once('../assets/php/common/hall.php');
include_once('../assets/php/common/session.php');
//include_once('./assets/php/common/session.php');
include_once('./includes/formHall.php');
include_once('./includes/formSession.php');
//include_once('./includes/formSession.php');
class Manager_panel {
@ -67,13 +67,9 @@
}
static function new_hall(){
$data = array("option" => "new_hall");
$panel = '<div class="column side"></div>
<div class="column middle">
<h1>Crear una sala.</h1><hr /></br>
'. FormHall::generaCampoFormulario($data, null).'
</div>
<div class="column side"></div>'."\n";
$data = array("option" => "new_hall", "cols" => $_POST["cols"], "rows" => $_POST["rows"]);
$panel = '<h1>Crear una sala.</h1><hr/></br>
'. FormHall::generaCampoFormulario($data, null);
return $panel;
}
@ -88,7 +84,7 @@
return $panel;
}
/*
static function manage_sessions(){
//Base filtering values
$date = isset($_POST['date']) ? $_POST['date'] : date("Y-m-d");
@ -178,11 +174,11 @@
}
static function edit_session(){
$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']);
/*$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 = '<h1>Editar una sesión.</h1><hr /></br>
'.FormSession::generaCampoFormulario($data, null);
return $panel;
}
}*/
}
?>