From e6af14e150dace8ca6a60840a74c2af00714f6bb 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 10:01:09 +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 @@
-
-
-
-
-
- ';
- }
- function deleteFilm() {
- echo'
-
-
- ';
- }
- function editFilm() {
- echo'
-
-
- ';
- }
-
- // 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