2021-04-26 22:40:34 +02:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<?php
|
2021-04-28 21:46:10 +02:00
|
|
|
//General Config File:
|
|
|
|
require_once(__DIR__.'/assets/php/config.php');
|
2021-04-26 22:40:34 +02:00
|
|
|
|
2021-05-02 16:01:05 +02:00
|
|
|
|
2021-04-26 22:40:34 +02:00
|
|
|
?>
|
|
|
|
<!--
|
|
|
|
Práctica 2 - Sistemas Web | Grupo D
|
|
|
|
CompluCine - FDI-cines
|
|
|
|
-->
|
|
|
|
<html lang="es">
|
|
|
|
<!-- Head -->
|
|
|
|
<?php
|
|
|
|
$template->print_head();
|
|
|
|
?>
|
|
|
|
<body>
|
|
|
|
<!-- Header -->
|
|
|
|
<?php
|
|
|
|
$template->print_header();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!-- Main -->
|
2021-04-30 22:23:26 +02:00
|
|
|
<main>
|
2021-04-26 22:40:34 +02:00
|
|
|
<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 />
|
2021-04-30 22:23:26 +02:00
|
|
|
</main>
|
2021-04-26 22:40:34 +02:00
|
|
|
|
|
|
|
<!-- Undercard -->
|
|
|
|
<section id="cartelera">
|
|
|
|
<div class="row">
|
|
|
|
<div class="code">
|
2021-05-02 16:01:05 +02:00
|
|
|
<?php
|
|
|
|
$template->print_fimls();
|
|
|
|
?>
|
2021-04-26 22:40:34 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Footer -->
|
|
|
|
<?php
|
|
|
|
$template->print_footer();
|
|
|
|
?>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|