2023-05-26 16:39:10 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<?php
|
|
|
|
session_start();
|
|
|
|
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
|
|
|
echo '
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta lang="de"/>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
|
|
|
<link rel="Stylesheet" type="text/css" href="style.css"/>
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
<title>Candle Bibliothek | Abmelden</title>
|
|
|
|
<link rel="icon" href="pictures/candle.png">
|
2023-06-12 10:30:40 +02:00
|
|
|
<script src="notwendiges_laden.js" defer></script>
|
2023-05-26 16:39:10 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2023-06-12 10:30:40 +02:00
|
|
|
<header id="header"></header>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
<!--------------------------------------------------------------------->
|
|
|
|
|
|
|
|
<div class="mainContentContainer">
|
|
|
|
<div class="titleContainer">
|
|
|
|
<h1 id="logOffTitle">Abmelden</h1>
|
|
|
|
</div>
|
|
|
|
<div class="mainContent">
|
|
|
|
<p id="mainText">
|
|
|
|
Sie sind bereits angemeldet, wollen Sie sich jetzt abmelden?
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<div class="buttonContainer">
|
|
|
|
<a id="backToHomeButton" href="abmelden_erfolgreich.php">Bestätigen</a>
|
2023-05-31 16:03:16 +02:00
|
|
|
<a id="logInAgainButton" href="anmelden_meinebuecher.php">Abbrechen</a>
|
2023-05-26 16:39:10 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<br><br><br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--------------------------------------------------------------------->
|
|
|
|
|
|
|
|
<!--Link JS file-->
|
|
|
|
<script src="burgerIcon.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var widthissue = false;
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
widthissue = false
|
|
|
|
unset()
|
|
|
|
}
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
})
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
<div class="navLinks">
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
<div class="line"></div>
|
|
|
|
<div class="line"></div>
|
|
|
|
<div class="line"></div>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
2023-06-12 10:30:40 +02:00
|
|
|
<footer id="footer" class="fuss" ></footer>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>';
|
|
|
|
|
|
|
|
}else{
|
2023-05-30 21:51:35 +02:00
|
|
|
|
2023-05-30 19:57:00 +02:00
|
|
|
|
2023-05-26 16:39:10 +02:00
|
|
|
echo '
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta lang="de"/>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
|
|
|
<link rel="Stylesheet" type="text/css" href="style.css"/>
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
<title>Candle Bibliothek | Abmelden</title>
|
|
|
|
<link rel="icon" href="pictures/candle.png">
|
2023-06-12 10:30:40 +02:00
|
|
|
<script src="notwendiges_laden.js" defer></script>
|
2023-05-26 16:39:10 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2023-06-12 10:30:40 +02:00
|
|
|
<header id="header"></header>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
<!--------------------------------------------------------------------->
|
|
|
|
|
|
|
|
<div class="mainContentContainer">
|
|
|
|
<div class="titleContainer">
|
|
|
|
<h1 id="logOffTitle">Abmelden</h1>
|
|
|
|
</div>
|
|
|
|
<div class="mainContent">
|
|
|
|
<p id="mainText">
|
|
|
|
Sie sind noch nicht angemeldet.
|
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<div class="buttonContainer">
|
2023-06-06 13:43:05 +02:00
|
|
|
<a id="backToHomeButton" href="index.html">Zurück zur Startseite</a>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br><br><br>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--------------------------------------------------------------------->
|
|
|
|
|
|
|
|
<!--Link JS file-->
|
|
|
|
<script src="burgerIcon.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var widthissue = false;
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
widthissue = false
|
|
|
|
unset()
|
|
|
|
}
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
})
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2023-06-12 11:23:37 +02:00
|
|
|
<nav id="activeid" class="active"></nav>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
|
2023-06-12 10:30:40 +02:00
|
|
|
<footer id="footer" class="fuss" ></footer>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>';
|
2023-05-30 19:57:00 +02:00
|
|
|
exit();
|
2023-05-26 16:39:10 +02:00
|
|
|
}
|
|
|
|
|
2023-05-31 13:51:15 +02:00
|
|
|
?>
|