diff --git a/purchase/includes/formPurchase-FER_SURFACE.php b/purchase/includes/formPurchase-FER_SURFACE.php deleted file mode 100644 index 8aa4eac..0000000 --- a/purchase/includes/formPurchase-FER_SURFACE.php +++ /dev/null @@ -1,121 +0,0 @@ -session = $sessionDAO->sessionData($_POST["sessions"]); - - $filmDAO = new Film_DAO("complucine"); - $this->film = $filmDAO->FilmData($this->session->getIdfilm()); - - $cinemaDAO = new Cinema_DAO("complucine"); - $this->cinema = $cinemaDAO->cinemaData($this->session->getIdcinema()); - - $TODAY = getdate(); - $year = "$TODAY[year]"; - - $this->years = array(); - for($i = $year; $i < $year+10; $i++) array_push($this->years, $i); - - $this->months = array(); - for($i = 1; $i <= 12; $i++) array_push($this->months, $i); - } - - protected function generaCamposFormulario($datos, $errores = array()){ - - // Se generan los mensajes de error si existen. - $htmlErroresGlobales = self::generaListaErroresGlobales($errores); - $errorNombre = self::createMensajeError($errores, 'name', 'span', array('class' => 'error')); - $errorPassword = self::createMensajeError($errores, 'pass', 'span', array('class' => 'error')); - - $monthsHTML = ""; - foreach($this->months as $value){ - $monthsHTML .= ""; - } - - $yearsHTML = ""; - foreach($this->years as $value){ - $yearsHTML .= ""; - } - - $html = "