2021-04-26 22:40:34 +02:00
|
|
|
<?php
|
|
|
|
header("refresh:4;url=../");
|
|
|
|
|
|
|
|
//General Config File:
|
|
|
|
require_once('../assets/php/config.php');
|
|
|
|
|
|
|
|
//Session:
|
|
|
|
//session_start(); /* Inicializada en config.php */
|
|
|
|
unset($_SESSION);
|
|
|
|
session_destroy();
|
|
|
|
if(!isset($_SESSION["nombre"])){
|
|
|
|
$reply = "<h1>Se ha cerrado la sesión</h1><hr />".
|
|
|
|
"<p>Serás redirigido al inicio en unos segundos.<br />
|
|
|
|
Haz clic <a href='{$prefix}'>aquí</a> si tu navegador no te redirige automáticamente.</p>\n";
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
$reply = "<h1>Ha ocurrido un problema y no hemos podido finalizar la sesión</h1>".
|
|
|
|
"<p>Serás redirigido al inicio en unos segundos.<br />
|
|
|
|
Haz clic <a href='{$prefix}'>aquí</a> si tu navegador no te redirige automáticamente.</p>\n";
|
|
|
|
}
|
|
|
|
|
2021-05-12 22:24:10 +02:00
|
|
|
//Specific page content:
|
|
|
|
$section = '<!-- Reply -->
|
2021-05-13 11:00:18 +02:00
|
|
|
<section id="reply">
|
|
|
|
<div class ="row">
|
|
|
|
<div class="column side"></div>
|
|
|
|
<div class="column middle">
|
|
|
|
<div class="code info">
|
|
|
|
'.$reply.'
|
2021-04-26 22:40:34 +02:00
|
|
|
</div>
|
2021-05-13 11:00:18 +02:00
|
|
|
</div>
|
|
|
|
<div class="column side"></div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
';
|
2021-04-26 22:40:34 +02:00
|
|
|
|
2021-05-12 22:24:10 +02:00
|
|
|
//General page content:
|
|
|
|
require RAIZ_APP.'/HTMLtemplate.php';
|
|
|
|
|
|
|
|
?>
|