Abmelde Button ist jetzt dynamisch
parent
9a64d32046
commit
6334b4ec1f
|
@ -1,11 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<?php
|
<html>
|
||||||
session_start();
|
|
||||||
session_unset();
|
|
||||||
session_destroy();
|
|
||||||
|
|
||||||
echo '
|
|
||||||
<html>
|
|
||||||
<head>
|
<head>
|
||||||
<meta lang="de"/>
|
<meta lang="de"/>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
|
@ -18,37 +12,49 @@ session_destroy();
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<h1 class="kopf" >
|
<h1 class="kopf" >
|
||||||
<br><br>
|
<br><br>
|
||||||
Bibliothek
|
Bibliothek
|
||||||
<a href="index.php" id="bildID">
|
<a href="index.html" 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.html">Ü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>
|
||||||
<form action="suchergebnisse.php">
|
<?php
|
||||||
<input type="hidden" name="searchType" value="simple">
|
session_start();
|
||||||
<input name="searchFor" class="suchleiste" type="search"
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
placeholder="Suche...">
|
echo "<a id='abmelden' href='abmelden.php'>Abmelden</a>";}
|
||||||
<button type="submit" id="buttonID" class="searchButton">
|
?>
|
||||||
<i class="fa fa-search"></i>
|
<form action="suchergebnisse.php">
|
||||||
</button>
|
<input type="hidden" name="searchType" value="simple">
|
||||||
</form>
|
<input name="searchFor" class="suchleiste" type="search"
|
||||||
<a id="erweitertesuche" href="erweitertesuche.html">
|
placeholder="Suche...">
|
||||||
Erweiterte Suche</a>
|
<button type="submit" id="buttonID" class="searchButton">
|
||||||
<a href="anmelden.php" id="warenKorbID">
|
<i class="fa fa-search"></i>
|
||||||
<img id="shoppingCard" src="pictures/einkaufswagen.png"
|
</button>
|
||||||
alt="Bild von einem Wagen" width="50" height="50"/>
|
</form>
|
||||||
</a>
|
<a id="erweitertesuche" href="erweitertesuche.html">
|
||||||
</div>
|
Erweiterte Suche</a>
|
||||||
</header>
|
<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
|
||||||
|
session_start();
|
||||||
|
session_unset();
|
||||||
|
session_destroy();
|
||||||
|
|
||||||
|
echo '
|
||||||
|
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
68
anmelden.php
68
anmelden.php
|
@ -1,24 +1,60 @@
|
||||||
|
<!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 | Anmeldung</title>
|
||||||
|
<link rel="icon" href="pictures/candle.png">
|
||||||
|
<script src="burgerIcon.js"></script>
|
||||||
|
<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 ){
|
||||||
require_once "warenkorb.php";
|
require_once "warenkorb.php";
|
||||||
}else{
|
}else{
|
||||||
echo '<!DOCTYPE html>
|
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 | Anmeldung</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="burgerIcon.js"></script>
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<div class="anmeldung">
|
<div class="anmeldung">
|
||||||
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
||||||
|
|
|
@ -1,25 +1,61 @@
|
||||||
|
<!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 | Anmeldung</title>
|
||||||
|
<link rel="icon" href="pictures/candle.png">
|
||||||
|
<script src="burgerIcon.js"></script>
|
||||||
|
<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 ){
|
||||||
require_once "meinebuecher.php";
|
require_once "meinebuecher.php";
|
||||||
}else{
|
}else{
|
||||||
echo '<!DOCTYPE html>
|
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 | Anmeldung</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="burgerIcon.js"></script>
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<div class="anmeldung">
|
<div class="anmeldung">
|
||||||
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
||||||
|
|
|
@ -1,3 +1,54 @@
|
||||||
|
<!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" type="text/css" href="suchergebnisse.css"/>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
<title>Candle Bibliothek | Meine Bücher</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();
|
||||||
$db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle', '3306');
|
$db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle', '3306');
|
||||||
|
@ -24,22 +75,7 @@ if(isset($_POST['submit'])){
|
||||||
if($row['COUNT(*)'] > 0){
|
if($row['COUNT(*)'] > 0){
|
||||||
|
|
||||||
$_SESSION['eingeloggt'] = 1;
|
$_SESSION['eingeloggt'] = 1;
|
||||||
echo '<!DOCTYPE html>
|
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" type="text/css" href="suchergebnisse.css"/>
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
||||||
<title>Candle Bibliothek | Meine Bücher</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<div class="hauptcontainer">
|
<div class="hauptcontainer">
|
||||||
<h1 id="searchResult_heading">Meine Bücher</h1>
|
<h1 id="searchResult_heading">Meine Bücher</h1>
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
|
|
||||||
document.getElementById("header").innerHTML = `
|
// document.getElementById("header").innerHTML = `
|
||||||
<h1 class='kopf' >
|
// <h1 class='kopf' >
|
||||||
<br><br>
|
// <br><br>
|
||||||
Bibliothek
|
// Bibliothek
|
||||||
<a href='index.php' 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.php'>Ü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.php'>
|
// <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>
|
||||||
|
|
|
@ -1,3 +1,53 @@
|
||||||
|
<!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 | Erfolgreich Registriert</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();
|
||||||
$db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle', '3306');
|
$db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle', '3306');
|
||||||
|
@ -72,21 +122,7 @@ function register($vorname,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<!DOCTYPE html>
|
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 | Erfolgreich Registriert</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,55 @@
|
||||||
|
<!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>
|
||||||
|
<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();
|
||||||
|
|
||||||
echo '<!DOCTYPE html>
|
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 | Registrierung</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
<div class="hauptcontainer">
|
<div class="hauptcontainer">
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,42 @@ TODO (optional):
|
||||||
<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.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>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
|
@ -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.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>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,42 @@ TODO (optional, geringe Priorität):
|
||||||
<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.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>
|
||||||
|
|
||||||
<!------------------------------------------------------------------------->
|
<!------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,53 @@
|
||||||
<!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 | Warenkorb</title>
|
||||||
|
<link rel="icon" href="pictures/candle.png">
|
||||||
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
|
</head>
|
||||||
|
<body style="background-color:#987554;">
|
||||||
|
|
||||||
|
<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
|
||||||
|
|
||||||
|
@ -28,20 +77,7 @@ $db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle
|
||||||
|
|
||||||
$_SESSION['eingeloggt'] = 1;
|
$_SESSION['eingeloggt'] = 1;
|
||||||
|
|
||||||
echo '<html>
|
echo '
|
||||||
<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 | Warenkorb</title>
|
|
||||||
<link rel="icon" href="pictures/candle.png">
|
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
|
||||||
</head>
|
|
||||||
<body style="background-color:#987554;">
|
|
||||||
|
|
||||||
<header id="header"></header>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="main">
|
<div class="main">
|
||||||
|
|
Loading…
Reference in New Issue