Add files via upload

This commit is contained in:
Fernando Méndez 2021-05-10 18:15:58 +02:00 committed by GitHub
parent 9da5b9310b
commit 63d18e5ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 22 additions and 19 deletions

View File

@ -71,7 +71,7 @@ class Aplicacion {
public function init($bdDatosConexion) { public function init($bdDatosConexion) {
if ( ! $this->inicializada ) { if ( ! $this->inicializada ) {
$this->bdDatosConexion = $bdDatosConexion; $this->bdDatosConexion = $bdDatosConexion;
session_start(); //session_start();
$this->inicializada = true; $this->inicializada = true;
} }
} }

View File

@ -44,4 +44,9 @@
* @see http://php.net/manual/en/language.types.callable.php * @see http://php.net/manual/en/language.types.callable.php
*/ */
register_shutdown_function(array($app, 'shutdown')); register_shutdown_function(array($app, 'shutdown'));
//Depuración (BORRAR):
//ini_set('display_errors', 1);
//ini_set('display_startup_errors', 1);
//error_reporting(E_ALL);
?> ?>

View File

@ -1,8 +1,9 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../assets/php/config.php'); require_once('../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../assets/php/config.php'); require_once('../assets/php/config.php');
@ -7,6 +6,7 @@
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines
--> -->
<!DOCTYPE HTML>
<html lang="es"> <html lang="es">
<!-- Head --> <!-- Head -->
<?php <?php

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../../assets/php/config.php'); require_once('../../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../../assets/php/config.php'); require_once('../../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../../assets/php/config.php'); require_once('../../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../../assets/php/config.php'); require_once('../../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../../assets/php/config.php'); require_once('../../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
session_start(); session_start();
@ -6,6 +5,7 @@
require_once('../../assets/php/template.php'); require_once('../../assets/php/template.php');
$template = new Template(); $template = new Template();
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once(__DIR__.'/assets/php/config.php'); require_once(__DIR__.'/assets/php/config.php');
@ -9,6 +8,7 @@
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines
--> -->
<!DOCTYPE HTML>
<html lang="es"> <html lang="es">
<!-- Head --> <!-- Head -->
<?php <?php

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
/** /**
@ -19,6 +18,7 @@
$login = $view->getLogin(); $login = $view->getLogin();
$register = $view->getRegister(); $register = $view->getRegister();
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
include_once('../assets/php/config.php'); include_once('../assets/php/config.php');
@ -15,6 +14,7 @@
} }
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -3,9 +3,6 @@ include_once($prefix.'assets/php/common/hall.php');
include_once($prefix.'assets/php/common/seat.php'); include_once($prefix.'assets/php/common/seat.php');
include_once($prefix.'assets/php/form.php'); include_once($prefix.'assets/php/form.php');
ini_set('display_errors', 0);
error_reporting(E_ERROR | E_WARNING | E_PARSE);
class FormHall extends Form { class FormHall extends Form {
private $option; private $option;

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
ini_set('display_errors', 0); ini_set('display_errors', 0);
@ -63,6 +62,7 @@
<div class="column side"></div>'."\n"; <div class="column side"></div>'."\n";
} }
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -1,4 +1,3 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../assets/php/config.php'); require_once('../assets/php/config.php');
@ -39,6 +38,7 @@
<div class="column side"></div>'."\n"; <div class="column side"></div>'."\n";
} }
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines

View File

@ -11,7 +11,7 @@
//Welcome view. //Welcome view.
static function panel(){ static function panel(){
$name = strtoupper($_SESSION['nombre']); $name = strtoupper(unserialize($_SESSION['user'])->getName());
$email = unserialize($_SESSION['user'])->getEmail(); $email = unserialize($_SESSION['user'])->getEmail();
return $reply = '<div class="code info"> return $reply = '<div class="code info">
<h1>Bienvenido '.$name.' a tu Panel de Usuario.</h1> <h1>Bienvenido '.$name.' a tu Panel de Usuario.</h1>

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<?php <?php
//General Config File: //General Config File:
require_once('../assets/php/config.php'); require_once('../assets/php/config.php');
?> ?>
<!DOCTYPE HTML>
<!-- <!--
Práctica - Sistemas Web | Grupo D Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines CompluCine - FDI-cines