From 75875482960ad9811fd508ca80eee91d962272ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Mon, 24 May 2021 14:07:18 +0200 Subject: [PATCH] Add files via upload --- assets/css/highContrast.css | 5 ++++- assets/css/main.css | 3 +++ assets/php/template.php | 34 +++++++++++++++++++++++++++++++++- cinemas/index.php | 10 ++++++++-- purchase/index.php | 7 +++++++ 5 files changed, 55 insertions(+), 4 deletions(-) diff --git a/assets/css/highContrast.css b/assets/css/highContrast.css index 42055f3..af1fd80 100644 --- a/assets/css/highContrast.css +++ b/assets/css/highContrast.css @@ -357,7 +357,10 @@ } .code.showtimes:hover { filter: drop-shadow(5px 5px 10px #1f2c3d); -} +} +.code.cinemas { + height: 200px; +} .code.purchase { text-align: center; } diff --git a/assets/css/main.css b/assets/css/main.css index 2a0cb6a..3d5c065 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -356,6 +356,9 @@ main img { .code.showtimes:hover { filter: drop-shadow(5px 5px 10px #1f2c3d); } +.code.cinemas { + height: 200px; +} .code.purchase { text-align: center; } diff --git a/assets/php/template.php b/assets/php/template.php index f0c2044..5e2368a 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -465,6 +465,8 @@ //List of the cinemas: require_once(__DIR__.'/includes/cinema_dao.php'); + $prefix= $this->get_prefix(); + $cine = new Cinema_DAO("complucine"); $cinemas = $cine->allCinemaData(); $ids = array(); @@ -482,6 +484,36 @@ } switch($this->page){ + case "Nuestros Cines": + for($i = 0; $i < count($cinemas); $i++){ + if($i%2 === 0){ + if($i != 0) $reply .= " + "; + $reply .= "