Update panel_manager.php

This commit is contained in:
OscarRui 2021-05-27 14:28:17 +02:00 committed by GitHub
parent d108b66468
commit 4e2aa0ee6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,10 @@
static function welcome($manager){ static function welcome($manager){
$bd = new Cinema_DAO('complucine'); $bd = new Cinema_DAO('complucine');
if($bd){ if($bd){
$cinema = ($bd->cinemaData( $manager->getIdcinema() ) ); $cinema = $bd->cinemaData($manager->getIdcinema());
$c_name = $cinema->getId(); $c_name = $cinema->getName();
$c_dir = $cinema->getId(); $c_dir = $cinema->getDirection();
$c_tel = $cinema->getId(); $c_tel = $cinema->getPhone();
} }
$name = strtoupper($_SESSION["nombre"]); $name = strtoupper($_SESSION["nombre"]);
$cinema = strtoupper( $manager->getIdcinema()); $cinema = strtoupper( $manager->getIdcinema());
@ -272,4 +272,4 @@
} }
?> ?>