Add files via upload
This commit is contained in:
parent
9e9661e4f9
commit
9fa33c648d
@ -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
3
assets/index.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
header('Location: ../');
|
||||
?>
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user