SW/index.php

56 lines
1.3 KiB
PHP
Raw Normal View History

2021-04-26 22:40:34 +02:00
<?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
?>
<!--
2021-05-03 21:58:47 +02:00
Práctica - Sistemas Web | Grupo D
2021-04-26 22:40:34 +02:00
CompluCine - FDI-cines
-->
2021-05-10 18:15:58 +02:00
<!DOCTYPE HTML>
2021-04-26 22:40:34 +02:00
<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>