abmelde button dynamisch für alle html dateien, angefangen es für die php dateien zu machen -> alle html dateien mussten zu php dateien verändert werden
parent
d6f6462e60
commit
cac72169a0
87
abmelden.php
87
abmelden.php
|
@ -1,23 +1,59 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
<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">
|
||||||
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.html" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.html">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.html">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
||||||
echo '
|
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">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
@ -56,16 +92,7 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav id="activeid" class="active">
|
<nav id="activeid" class="active"></nav>
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
<footer id="footer" class="fuss" ></footer>
|
<footer id="footer" class="fuss" ></footer>
|
||||||
|
@ -79,19 +106,7 @@
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<html>
|
<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">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
@ -105,7 +120,7 @@
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<div class="buttonContainer">
|
<div class="buttonContainer">
|
||||||
<a id="backToHomeButton" href="index.html">Zurück zur Startseite</a>
|
<a id="backToHomeButton" href="index.php">Zurück zur Startseite</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,37 @@ session_destroy();
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.html" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.html">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.html">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
@ -32,7 +62,7 @@ session_destroy();
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<div class="buttonContainer">
|
<div class="buttonContainer">
|
||||||
<a id="backToHomeButton" href="index.html">Zur Startseite</a>
|
<a id="backToHomeButton" href="index.php">Zur Startseite</a>
|
||||||
<a id="logInAgainButton" href="anmelden_meinebuecher.php">Erneut anmelden</a>
|
<a id="logInAgainButton" href="anmelden_meinebuecher.php">Erneut anmelden</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="anmeldung-text">
|
<div class="anmeldung-text">
|
||||||
|
|
||||||
<p id="obererText">Über die Webseite werden personenbezogene Daten erhoben und genutzt.
|
<p id="obererText">Über die Webseite werden personenbezogene Daten erhoben und genutzt.
|
||||||
Für Details, beziehen Sie sich bitte auf die Seite <a href="datenschutz.html">Datenschutz</a>.</p>
|
Für Details, beziehen Sie sich bitte auf die Seite <a href="datenschutz.php">Datenschutz</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="anmeldeInput">
|
<div class="anmeldeInput">
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
<nav id="activeid" class="active"></nav>
|
<nav id="activeid" class="active"></nav>
|
||||||
|
|
||||||
<header id="header"></header>
|
<footer id="footer" class="fuss" ></footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<div class="anmeldung-text">
|
<div class="anmeldung-text">
|
||||||
|
|
||||||
<p id="obererText">Über die Webseite werden personenbezogene Daten erhoben und genutzt.
|
<p id="obererText">Über die Webseite werden personenbezogene Daten erhoben und genutzt.
|
||||||
Für Details, beziehen Sie sich bitte auf die Seite <a href="datenschutz.html">Datenschutz</a>.</p>
|
Für Details, beziehen Sie sich bitte auf die Seite <a href="datenschutz.php">Datenschutz</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="anmeldeInput">
|
<div class="anmeldeInput">
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
37
buecher.php
37
buecher.php
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
<div class="hauptcontainer">
|
<div class="hauptcontainer">
|
||||||
<h1 id="searchResult_heading">Bücher</h1>
|
<h1 id="searchResult_heading">Bücher</h1>
|
||||||
<div id="searchResult_container">
|
<div id="searchResult_container">
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
|
@ -11,7 +11,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.html">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer">
|
<div class="hauptcontainer">
|
||||||
<span id="titelerweitertesuche" > Erweiterte Suche </span> <br><br>
|
<span id="titelerweitertesuche" > Erweiterte Suche </span> <br><br>
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.html" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Buch erfolgreich entfernt</h1>
|
<h1 id="verlängerungH1">Buch erfolgreich entfernt</h1>
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Buch erfolgreich entfernt</h1>
|
<h1 id="verlängerungH1">Buch erfolgreich entfernt</h1>
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Reservierung stornieren</h1>
|
<h1 id="verlängerungH1">Reservierung stornieren</h1>
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Buch entfernen</h1>
|
<h1 id="verlängerungH1">Buch entfernen</h1>
|
|
@ -152,9 +152,9 @@ if(isset($_POST['submit'])){
|
||||||
|
|
||||||
|
|
||||||
}else if($zeile['COUNT(*)'] > 0){
|
}else if($zeile['COUNT(*)'] > 0){
|
||||||
header("Location: passwort_stimmt_nicht.html");
|
header("Location: passwort_stimmt_nicht.php");
|
||||||
}else{
|
}else{
|
||||||
header("Location: benutzer_existiert_nicht.html");
|
header("Location: benutzer_existiert_nicht.php");
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
header("Location: 404.html");
|
header("Location: 404.html");
|
||||||
|
|
|
@ -1,41 +1,41 @@
|
||||||
|
|
||||||
document.getElementById("header").innerHTML = `
|
// document.getElementById("header").innerHTML = `
|
||||||
<h1 class='kopf' >
|
// <h1 class='kopf' >
|
||||||
<br><br>
|
// <br><br>
|
||||||
Bibliothek
|
// Bibliothek
|
||||||
<a href='index.html' id='bildID'>
|
// <a href='index.php' id='bildID'>
|
||||||
<img id='CandleID' src='pictures/candle.png'
|
// <img id='CandleID' src='pictures/candle.png'
|
||||||
alt='Bild von einer Kerze' width='200' height='192'/></a>
|
// alt='Bild von einer Kerze' width='200' height='192'/></a>
|
||||||
<br><br>
|
// <br><br>
|
||||||
Candle
|
// Candle
|
||||||
</h1>
|
// </h1>
|
||||||
<div>
|
// <div>
|
||||||
<a id='uberuns' href='uberuns.html'>Über Uns</a>
|
// <a id='uberuns' href='uberuns.php'>Über Uns</a>
|
||||||
<a id='buecher' href='buecher.php'>Bücher</a>
|
// <a id='buecher' href='buecher.php'>Bücher</a>
|
||||||
<a id='meinebuecher' href='anmelden_meinebuecher.php'>
|
// <a id='meinebuecher' href='anmelden_meinebuecher.php'>
|
||||||
Meine Bücher</a>
|
// Meine Bücher</a>
|
||||||
<a id='abmelden' href='abmelden.php'>Abmelden</a>
|
// <a id='abmelden' href='abmelden.php'>Abmelden</a>
|
||||||
<form action='suchergebnisse.php'>
|
// <form action='suchergebnisse.php'>
|
||||||
<input type="hidden" name="searchType" value="simple">
|
// <input type="hidden" name="searchType" value="simple">
|
||||||
<input name="searchFor" class='suchleiste' type='search'
|
// <input name="searchFor" class='suchleiste' type='search'
|
||||||
placeholder='Suche...'>
|
// placeholder='Suche...'>
|
||||||
<button type='submit' id='buttonID' class='searchButton'>
|
// <button type='submit' id='buttonID' class='searchButton'>
|
||||||
<i class='fa fa-search'></i>
|
// <i class='fa fa-search'></i>
|
||||||
</button>
|
// </button>
|
||||||
</form>
|
// </form>
|
||||||
<a id='erweitertesuche' href='erweitertesuche.html'>
|
// <a id='erweitertesuche' href='erweitertesuche.php'>
|
||||||
Erweiterte Suche</a>
|
// Erweiterte Suche</a>
|
||||||
<a href='anmelden.php' id='warenKorbID'>
|
// <a href='anmelden.php' id='warenKorbID'>
|
||||||
<img id='shoppingCard' src='pictures/einkaufswagen.png'
|
// <img id='shoppingCard' src='pictures/einkaufswagen.png'
|
||||||
alt='Bild von einem Wagen' width='50' height='50'/>
|
// alt='Bild von einem Wagen' width='50' height='50'/>
|
||||||
</a>
|
// </a>
|
||||||
</div>`;
|
// </div>`;
|
||||||
|
|
||||||
document.getElementById("footer").innerHTML = `
|
document.getElementById("footer").innerHTML = `
|
||||||
<div>
|
<div>
|
||||||
<a id="impressum" href="impressum.html">Impressum</a>
|
<a id="impressum" href="impressum.php">Impressum</a>
|
||||||
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
<a id="kontakt" href="kontakt.php">Kontakt</a>
|
||||||
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
<a id="datenschutz" href="datenschutz.php">Datenschutz</a>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
document.getElementById("activeid").innerHTML = `
|
document.getElementById("activeid").innerHTML = `
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
|
@ -31,7 +31,7 @@ function register($vorname,
|
||||||
|
|
||||||
if($row['COUNT(*)'] > 0)
|
if($row['COUNT(*)'] > 0)
|
||||||
{
|
{
|
||||||
header("Location: benutzer_schon_existiert.html");
|
header("Location: benutzer_schon_existiert.php");
|
||||||
return 'Es gibt schon einen Benutzer mit der angegebenen E-Mail Adresse';
|
return 'Es gibt schon einen Benutzer mit der angegebenen E-Mail Adresse';
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -1,140 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<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 | Registrierung</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<div class="hauptcontainer">
|
|
||||||
|
|
||||||
<!--Bei action wird später eine php-Datei eingefügt,
|
|
||||||
welche sich um die Verarbeitung der Daten kümmert.-->
|
|
||||||
<form id="registrierungForm" action="">
|
|
||||||
<div class="container">
|
|
||||||
<span id="registrierungTitel" > Registrierung </span>
|
|
||||||
<br>
|
|
||||||
<p id="datenSchutzHinweisRegistrierung" > Über diese Webseite werden personenbezogene Daten erhoben und genutzt. Für Details, beziehen Sie sich bite auf die Seite Datenschutz.</p>
|
|
||||||
<h4 id="registrierungAngabenZurRegistrierung">Angaben zur Registrierung<hr id="registrierungHr"></h4>
|
|
||||||
<br>
|
|
||||||
<div id="registrierungInputDiv" >
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="vorName"><b>Vorname</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="text" name="vorName" id="vorName" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="nachName"><b>Nachname</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="text" name="nachName" id="nachName" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="strasse"><b>Straße und Hausnummer</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="text" name="strasse" id="strasse">
|
|
||||||
|
|
||||||
<input type="text" name="hausnummer" id="hausNummer"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="postleitzahl"><b>Postleitzahl und Ort</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="text" name="postleitzahl" id="postleitzahl">
|
|
||||||
|
|
||||||
<input type="text" name="ort" id="ort"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="email"><b>E-Mail-Adresse</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="email" name="email" id="email" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="emailRep"><b>E-Mail-Adresse bestätigen</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="email" name="emailRep" id="emailRep" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="passwort"><b>Passwort</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="password" name="passwort" id="passwort" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<label for="passwortRep"><b>Passwort bestätigen</b></label>
|
|
||||||
<br>
|
|
||||||
<input type="password" name="passwortRep" id="passwortRep" class="registrierenNormalesTextfeld"><br>
|
|
||||||
<p class="errorMessage"></p>
|
|
||||||
<br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="field">
|
|
||||||
<input type="button" value="Registrieren" id="registrierenKnopf" class="registrierenKnopf">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<br><br>
|
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Sie habe bereits ein Konto?</summary>
|
|
||||||
<p id="registrierenAusklappe"> <a href="anmelden_warenkorb.html"> Jetzt anmelden</a></p>
|
|
||||||
</details>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!--Link JS file-->
|
|
||||||
<script src="burgerIcon.js"></script>
|
|
||||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
|
||||||
<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"></nav>
|
|
||||||
|
|
||||||
|
|
||||||
<footer id="footer" class="fuss" ></footer>
|
|
||||||
<script src="registrierung_verhalten.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
|
|
@ -17,7 +17,7 @@ if(isset($_POST['Registrieren'])){
|
||||||
empty($hausnummer) || empty($plz) || empty($ort) ||
|
empty($hausnummer) || empty($plz) || empty($ort) ||
|
||||||
empty($emailrep) || empty($email) || empty($passwort) || empty($passwortrep))
|
empty($emailrep) || empty($email) || empty($passwort) || empty($passwortrep))
|
||||||
{
|
{
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
|
|
||||||
}elseif (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $vorname)
|
}elseif (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $vorname)
|
||||||
|| !preg_match("/.{2,}/", $vorname)
|
|| !preg_match("/.{2,}/", $vorname)
|
||||||
|
@ -27,7 +27,7 @@ if(isset($_POST['Registrieren'])){
|
||||||
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([- ][A-ZÄÖÜ][a-zäöüß]+)*$/", $vorname)
|
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([- ][A-ZÄÖÜ][a-zäöüß]+)*$/", $vorname)
|
||||||
|| preg_match("/(\w)\1{2,}/", $vorname)) {
|
|| preg_match("/(\w)\1{2,}/", $vorname)) {
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
|
|
||||||
}elseif (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $nachname)
|
}elseif (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $nachname)
|
||||||
|| !preg_match("/.{2,}/", $nachname)
|
|| !preg_match("/.{2,}/", $nachname)
|
||||||
|
@ -39,7 +39,7 @@ if(isset($_POST['Registrieren'])){
|
||||||
|| !preg_match("/(^(von( der)?|zu|van)[ ][A-ZÄÖÜ][a-zäöüß]+|^[A-ZÄÖÜ][a-zäöüß]+)([-][A-ZÄÖÜ][a-zäöüß]+)?$/", $nachname)
|
|| !preg_match("/(^(von( der)?|zu|van)[ ][A-ZÄÖÜ][a-zäöüß]+|^[A-ZÄÖÜ][a-zäöüß]+)([-][A-ZÄÖÜ][a-zäöüß]+)?$/", $nachname)
|
||||||
|| preg_match("/(\w)\1{2,}/", $nachname)) {
|
|| preg_match("/(\w)\1{2,}/", $nachname)) {
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
|
|
||||||
}elseif ( !preg_match("/.{2,}/", $strasse)
|
}elseif ( !preg_match("/.{2,}/", $strasse)
|
||||||
|| !preg_match("/^[^0-9]*$|[0-9]$/", $strasse)
|
|| !preg_match("/^[^0-9]*$|[0-9]$/", $strasse)
|
||||||
|
@ -47,15 +47,15 @@ if(isset($_POST['Registrieren'])){
|
||||||
|| !preg_match("/^[A-ZÄÖÜ][ -]?[a-zäöü0-9ß']+([ -]?[A-ZÄÖÜ0-9][A-Za-z0-9ÄÖÜäöüß']+)*$/", $strasse)
|
|| !preg_match("/^[A-ZÄÖÜ][ -]?[a-zäöü0-9ß']+([ -]?[A-ZÄÖÜ0-9][A-Za-z0-9ÄÖÜäöüß']+)*$/", $strasse)
|
||||||
|| !preg_match("/[0-9]$|[a-zäöüß]$/", $strasse)) {
|
|| !preg_match("/[0-9]$|[a-zäöüß]$/", $strasse)) {
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif ( !preg_match("/^[0-9]/", $hausnummer)
|
}elseif ( !preg_match("/^[0-9]/", $hausnummer)
|
||||||
|| preg_match("/^0/", $hausnummer)
|
|| preg_match("/^0/", $hausnummer)
|
||||||
|| !preg_match("/^[1-9][0-9]{0,3}[a-z]?$/", $hausnummer)){
|
|| !preg_match("/^[1-9][0-9]{0,3}[a-z]?$/", $hausnummer)){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif ( !preg_match("/^(0100[1-9]|010[1-9][0-9]|01[1-9][0-9]{2}|0[2-9][0-9]{3}|[1-9][0-9]{4})$/", $plz)){
|
}elseif ( !preg_match("/^(0100[1-9]|010[1-9][0-9]|01[1-9][0-9]{2}|0[2-9][0-9]{3}|[1-9][0-9]{4})$/", $plz)){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif ( !preg_match("/.{2,}/", $ort)
|
}elseif ( !preg_match("/.{2,}/", $ort)
|
||||||
|| preg_match("/[ \/-][ \/-]/", $ort)
|
|| preg_match("/[ \/-][ \/-]/", $ort)
|
||||||
|| !preg_match("/^[A-ZÄÖÜa-zäöüß \/-]+$/", $ort)
|
|| !preg_match("/^[A-ZÄÖÜa-zäöüß \/-]+$/", $ort)
|
||||||
|
@ -64,20 +64,20 @@ if(isset($_POST['Registrieren'])){
|
||||||
|| !preg_match("/[a-zäöüß]$/", $ort)
|
|| !preg_match("/[a-zäöüß]$/", $ort)
|
||||||
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([ -\/][A-ZÄÖÜa-zäöü][a-zäöüß]+)*$/", $ort)){
|
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([ -\/][A-ZÄÖÜa-zäöü][a-zäöüß]+)*$/", $ort)){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif ( !preg_match("/[A-Za-z0-9_!#$%&'*+-\/=?^_`.{|}~]+[@][A-Za-z0-9-]+[.][A-Za-z]{2,}/", $email)){
|
}elseif ( !preg_match("/[A-Za-z0-9_!#$%&'*+-\/=?^_`.{|}~]+[@][A-Za-z0-9-]+[.][A-Za-z]{2,}/", $email)){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif($email != $emailrep){
|
}elseif($email != $emailrep){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif (!preg_match("/^(?=.*[A-ZÄÖÜ])(?=.*[a-zäöüß])(?=.*[0-9])(?=.*[!°`´@#$%^&*()_+\-=\[\]{};':\"\\|,.<>\/?]).{6,}$/", $passwort)
|
}elseif (!preg_match("/^(?=.*[A-ZÄÖÜ])(?=.*[a-zäöüß])(?=.*[0-9])(?=.*[!°`´@#$%^&*()_+\-=\[\]{};':\"\\|,.<>\/?]).{6,}$/", $passwort)
|
||||||
|| !preg_match("/.{6,}/", $passwort)){
|
|| !preg_match("/.{6,}/", $passwort)){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}elseif($passwort != $passwortrep){
|
}elseif($passwort != $passwortrep){
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.php");
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.html">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Buch verlängern</h1>
|
<h1 id="verlängerungH1">Buch verlängern</h1>
|
|
@ -12,7 +12,42 @@
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header id="header"></header>
|
<header id="header">
|
||||||
|
<h1 class="kopf" >
|
||||||
|
<br><br>
|
||||||
|
Bibliothek
|
||||||
|
<a href="index.php" id="bildID">
|
||||||
|
<img id="CandleID" src="pictures/candle.png"
|
||||||
|
alt="Bild von einer Kerze" width="200" height="192"/></a>
|
||||||
|
<br><br>
|
||||||
|
Candle
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
<a id="uberuns" href="uberuns.php">Über Uns</a>
|
||||||
|
<a id="buecher" href="buecher.php">Bücher</a>
|
||||||
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">
|
||||||
|
Meine Bücher</a>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
|
?>
|
||||||
|
<form action="suchergebnisse.php">
|
||||||
|
<input type="hidden" name="searchType" value="simple">
|
||||||
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
|
placeholder="Suche...">
|
||||||
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
</button>
|
||||||
|
</form>
|
||||||
|
<a id="erweitertesuche" href="erweitertesuche.php">
|
||||||
|
Erweiterte Suche</a>
|
||||||
|
<a href="anmelden.php" id="warenKorbID">
|
||||||
|
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
||||||
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
<div class="hauptcontainer" id="verlängerung">
|
<div class="hauptcontainer" id="verlängerung">
|
||||||
<h1 id="verlängerungH1">Buch erfolgreich verlängert</h1>
|
<h1 id="verlängerungH1">Buch erfolgreich verlängert</h1>
|
|
@ -60,7 +60,7 @@ $db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle
|
||||||
<!--Reservieren-->
|
<!--Reservieren-->
|
||||||
<div id="reservieren">
|
<div id="reservieren">
|
||||||
<h2 id="ArtikelWarenkorb"> </h2>
|
<h2 id="ArtikelWarenkorb"> </h2>
|
||||||
<a id="jetztReservieren" href="reservierung.html">Jetzt reservieren</a>
|
<a id="jetztReservieren" href="reservierung.php">Jetzt reservieren</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -84,9 +84,9 @@ $db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle
|
||||||
|
|
||||||
</html>';
|
</html>';
|
||||||
}else if($zeile['COUNT(*)'] > 0){
|
}else if($zeile['COUNT(*)'] > 0){
|
||||||
header("Location: passwort_stimmt_nicht.html");
|
header("Location: passwort_stimmt_nicht.php");
|
||||||
}else{
|
}else{
|
||||||
header("Location: benutzer_existiert_nicht.html");
|
header("Location: benutzer_existiert_nicht.php");
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
header("Location: 404.html");
|
header("Location: 404.html");
|
||||||
|
|
Loading…
Reference in New Issue