Add files via upload

This commit is contained in:
Fernando Méndez
2021-05-13 00:10:19 +02:00
committed by GitHub
parent a6f37400e7
commit 4d59424d02
5 changed files with 62 additions and 117 deletions

View File

@ -1,53 +1,17 @@
<?php
//General Config File:
require_once(__DIR__.'/assets/php/config.php');
require_once(__DIR__.'/assets/php/config.php');
//Page-specific content:
$section = '<!-- Undercard -->
<section id="cartelera">
<div class="row">
<div class="code">
'.$template->print_fimls().'
</div>
</div>
</section>';
//General page content:
require RAIZ_APP.'/HTMLtemplate.php';
?>
<!--
Práctica - Sistemas Web | Grupo D
CompluCine - FDI-cines
-->
<!DOCTYPE HTML>
<html lang="es">
<!-- Head -->
<?php
$template->print_head();
?>
<body>
<!-- Header -->
<?php
$template->print_header();
?>
<!-- Main -->
<main>
<div class="image"><a href='./'><img src="./img/logo_trasparente.png" alt="logo_FDI-Cines" /></a></div>
<?php
if(isset($_SESSION["nombre"])){
echo "<h1>Bienvenido {$_SESSION["nombre"]}</h1>\n";
}
else{
echo "<h1>Bienvenido a CompluCine</h1>\n";
}
?>
<hr />
</main>
<!-- Undercard -->
<section id="cartelera">
<div class="row">
<div class="code">
<?php
$template->print_fimls();
?>
</div>
</div>
</section>
<!-- Footer -->
<?php
$template->print_footer();
?>
</body>
</html>