Add files via upload

This commit is contained in:
Fernando Méndez 2021-05-19 11:23:56 +02:00 committed by GitHub
parent 4a3631cf09
commit fd587dcf22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 3 deletions

View File

@ -432,7 +432,7 @@ main img {
margin: 0 auto; margin: 0 auto;
display: flex; display: flex;
} }
.promotions img { .promotions a {
width: 100%; width: 100%;
height: 150px; height: 150px;
display: block; display: block;

View File

@ -1,5 +1,5 @@
window.onload = function (promotions) { window.onload = function (promotions) {
// Variables // Promociones (Cambiar por el contenido del array "promotions")
const IMAGENES = [ const IMAGENES = [
'../img/promos/promo_vuelve.jpg', '../img/promos/promo_vuelve.jpg',
'../img/promos/promo_palomitas.jpg', '../img/promos/promo_palomitas.jpg',

View File

@ -38,6 +38,7 @@
case strpos($this->page, 'logout'): $this->page = 'Cerrar Sesión'; break; case strpos($this->page, 'logout'): $this->page = 'Cerrar Sesión'; break;
case strpos($this->page, 'register'): $this->page = 'Registro de Usuario'; break; case strpos($this->page, 'register'): $this->page = 'Registro de Usuario'; break;
case strpos($this->page, 'showtimes'): $this->page = 'Cartelera'; break; case strpos($this->page, 'showtimes'): $this->page = 'Cartelera'; break;
case strpos($this->page, 'promotions'): $this->page = 'Promociones'; break;
case strpos($this->page, 'cinemas'): $this->page = 'Nuestros Cines'; break; case strpos($this->page, 'cinemas'): $this->page = 'Nuestros Cines'; break;
case strpos($this->page, 'about_us'): $this->page = 'Sobre FDI-Cines'; $this->prefix = '../../'; break; case strpos($this->page, 'about_us'): $this->page = 'Sobre FDI-Cines'; $this->prefix = '../../'; break;
case strpos($this->page, 'terms'): $this->page = 'Términos y Condiciones'; $this->prefix = '../../'; break; case strpos($this->page, 'terms'): $this->page = 'Términos y Condiciones'; $this->prefix = '../../'; break;
@ -107,6 +108,7 @@
<ul> <ul>
<a href='{$prefix}'><li>Inicio</li></a> <a href='{$prefix}'><li>Inicio</li></a>
<a href='{$prefix}showtimes/'><li>Cartelera</li></a> <a href='{$prefix}showtimes/'><li>Cartelera</li></a>
<a href='{$prefix}promotions/'><li>Promociones</li></a>
<a href='{$prefix}cinemas/'><li>Nuestros Cines</li></a> <a href='{$prefix}cinemas/'><li>Nuestros Cines</li></a>
<a href='{$prefix}fdicines/miembros/'><li>Quiénes somos</li></a> <a href='{$prefix}fdicines/miembros/'><li>Quiénes somos</li></a>
<a href='{$prefix}contacto/'><li>Contacto</li></a> <a href='{$prefix}contacto/'><li>Contacto</li></a>

View File

@ -15,7 +15,7 @@
<div class="code"> <div class="code">
<section class="promotions"> <section class="promotions">
<button id="retroceder">Anterior</button> <button id="retroceder">Anterior</button>
<img class="imagen" /> <a href="promotions/" class="imagen"></a>
<button id="avanzar">Siguiente</button> <button id="avanzar">Siguiente</button>
</section> </section>
<section class="controls"> <section class="controls">

14
promotions/index.php Normal file
View File

@ -0,0 +1,14 @@
<?php
//General Config File:
require_once('../assets/php/config.php');
//Specific page content:
$section = '<!-- Promotions -->
<section id="promociones">
</section>
';
//General page content:
require RAIZ_APP.'/HTMLtemplate.php';
?>