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
1 changed files with 5 additions and 5 deletions

View File

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