Update panel_manager.php

This commit is contained in:
Markines16 2021-05-07 09:19:30 +02:00 committed by GitHub
parent d00c212e07
commit 2b3a0e60fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
<?php <?php
include_once('../assets/php/common/hall.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/formHall.php');
//include_once('./includes/formSession.php'); include_once('./includes/formSession.php');
class Manager_panel { class Manager_panel {
@ -84,7 +84,7 @@
return $panel; return $panel;
} }
/*
static function manage_sessions(){ static function manage_sessions(){
//Base filtering values //Base filtering values
$date = isset($_POST['date']) ? $_POST['date'] : date("Y-m-d"); $date = isset($_POST['date']) ? $_POST['date'] : date("Y-m-d");
@ -174,11 +174,11 @@
} }
static function edit_session(){ 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> $panel = '<h1>Editar una sesión.</h1><hr /></br>
'.FormSession::generaCampoFormulario($data, null); '.FormSession::generaCampoFormulario($data, null);
return $panel; return $panel;
}*/ }
} }
?> ?>