From 58e8f0a17f8efc94afe7516c318feedab6a00584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mu=C3=B1oz=20Garcia?= <73303506+danimu03@users.noreply.github.com> Date: Thu, 13 May 2021 17:06:26 +0200 Subject: [PATCH] Delete manage_films.php --- panel_admin/manage_films.php | 107 ----------------------------------- 1 file changed, 107 deletions(-) delete mode 100644 panel_admin/manage_films.php diff --git a/panel_admin/manage_films.php b/panel_admin/manage_films.php deleted file mode 100644 index 2b6ddb1..0000000 --- a/panel_admin/manage_films.php +++ /dev/null @@ -1,107 +0,0 @@ - -
-

Añadir pelicula

-
-
-
- Datos de pelicula - - - - -
Imagen promocional:
-
-
- - -
-
-
- - -
- '; - } - function deleteFilm() { - echo'
-
-

Eliminar pelicula

-
-
-
- ¿Estás seguro de que quieres eliminar esta pelicula? - -

Id: '.$_POST['id'].'

-

Título: '.$_POST['tittle'].'

-

Duración: '.$_POST['duration'].'

-

Idioma: '.$_POST['language'].'

-

Descripción: '.$_POST['description'].'

-
-
- - -
-
-
-
-
- '; - } - function editFilm() { - echo'
-
-

Editar pelicula

-
-
-
- Datos de pelicula - - - - - -
Imagen promocional:
-
-
- - -
-
-
-
-
- '; - } - - // Logic Functions - function confirmDelete() { - $film = new FormFilm(); - $film->processesForm($_POST['id'],null,null,null,null,null,"del"); - $_SESSION['message'] = $film->getReply(); - header('Location: ../panel_admin/index.php?state=mf'); - } - function confirmEdit() { - $film = new FormFilm(); - $film->processesForm($_POST['id'], $_POST['tittle'], $_POST['duration'], $_POST['language'], $_POST['description'], $_POST['file'], "edit"); - $_SESSION['message']= $film->getReply(); - header('Location: ../panel_admin/index.php?state=mf'); - } - function confirmAdd() { - $film = new FormFilm(); - $film->processesForm(null, $_POST['tittle'], $_POST['duration'], $_POST['language'], $_POST['description'], $_POST['file'], "new"); - $_SESSION['message'] = $film->getReply(); - header('Location: ../panel_admin/index.php?state=mf'); - } - - -?> \ No newline at end of file