diff --git a/panel_admin/manage_films/add_film.php b/panel_admin/manage_films/add_film.php new file mode 100644 index 0000000..5a6631b --- /dev/null +++ b/panel_admin/manage_films/add_film.php @@ -0,0 +1,16 @@ +addFilm($film); + } + + } + header("Location: ../panel_admin/index.php?state=mf"); + +?> \ No newline at end of file diff --git a/panel_admin/manage_films/manage_films.php b/panel_admin/manage_films/manage_films.php new file mode 100644 index 0000000..dab944d --- /dev/null +++ b/panel_admin/manage_films/manage_films.php @@ -0,0 +1,73 @@ + + + + Id + Título + Duracion + Idioma + Descripcion + + + "; + foreach($films as $f){ + echo " + + " . $f->getId() . " + " . $f->getTittle() . " + " . $f->getDuration() . " + ". $f->getLanguage() . " + ". $f->getDescription()." + + "; + } + echo " + \n"; + } + function addFilm(){ + echo'
+

Añadir pelicula

+
+
+
+ Datos de pelicula +
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+
+
'."\n"; + } + + drawFilms($bd->allFilmData()); + addFilm(); + + + ?> \ No newline at end of file