Add files via upload

This commit is contained in:
Fernando Méndez 2021-04-13 17:19:12 +02:00 committed by GitHub
parent 9e9661e4f9
commit 9fa33c648d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -315,7 +315,12 @@ table a{
text-align: center;
height: 250px;
}
.code.showtimes{
height: 550px;
}
/* BlockQuotes */
.blockquote {
border-left: solid 4px #dadada;
margin: 0 0 2em 0;
@ -326,7 +331,6 @@ table a{
height: 250px;
}
/* Sketches */
.sketches {
text-align: center;

3
assets/index.php Normal file
View File

@ -0,0 +1,3 @@
<?php
header('Location: ../');
?>

View File

@ -5,13 +5,14 @@
private const _SERVERNAME = "localhost";
private const _USERNAME = "sw";
private const _PASSWORD = "_admin_";
//private const _BD = "complucine";
private const _BD = "complucine";
//Atributes:
public $mysqli;
//Constructor:
public function __construct($bd_name){
if($bd_name == null) $bd_name = self::_BD;
try{
if (!$this->mysqli) {
$this->mysqli = new mysqli(self::_SERVERNAME, self::_USERNAME,

View File

@ -33,6 +33,7 @@
case strpos($this->page, 'panel_admin'): $this->page = 'Panel de Administrador'; break;
case strpos($this->page, 'login'): $this->page = 'Acceso'; 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, 'showtimes'): $this->page = 'Cartelera'; 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;