diff --git a/panel_manager/panel_manager.php b/panel_manager/panel_manager.php index e845e33..c6f97ce 100644 --- a/panel_manager/panel_manager.php +++ b/panel_manager/panel_manager.php @@ -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 @@ } -?> \ No newline at end of file +?>