52 lines
1.0 KiB
PHP
52 lines
1.0 KiB
PHP
<!DOCTYPE HTML>
|
|
<?php
|
|
session_start();
|
|
require('login_register.php');
|
|
|
|
require_once('../assets/php/template.php');
|
|
$template = new Template();
|
|
?>
|
|
<!--
|
|
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 -->
|
|
<div class="main">
|
|
<div class="image"><img src="../img/logo_trasparente.png" /></div>
|
|
<h1>Acceso</h1>
|
|
<hr />
|
|
</div>
|
|
|
|
<!-- Login / Register -->
|
|
<section id="login_register">
|
|
<div class ="row">
|
|
<?php
|
|
if($isLogin){
|
|
echo $login;
|
|
} else {
|
|
echo $register;
|
|
}
|
|
?>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<?php
|
|
$template->print_footer();
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|