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
1 changed files with 4 additions and 4 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());