Add files via upload

This commit is contained in:
OscarRui 2021-05-27 10:17:57 +02:00 committed by GitHub
parent b80f870ca8
commit e8f4b88426
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());