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,11 +12,11 @@ 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>
|
||||||
|
@ -33,6 +27,11 @@ session_destroy();
|
||||||
<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>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION["eingeloggt"]) && $_SESSION["eingeloggt"] == 1 ){
|
||||||
|
echo "<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"
|
||||||
|
@ -48,7 +47,14 @@ session_destroy();
|
||||||
alt="Bild von einem Wagen" width="50" height="50"/>
|
alt="Bild von einem Wagen" width="50" height="50"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
session_unset();
|
||||||
|
session_destroy();
|
||||||
|
|
||||||
|
echo '
|
||||||
|
|
||||||
|
|
||||||
<!--------------------------------------------------------------------->
|
<!--------------------------------------------------------------------->
|
||||||
|
|
||||||
|
|
58
anmelden.php
58
anmelden.php
|
@ -1,11 +1,6 @@
|
||||||
<?php
|
<!DOCTYPE html>
|
||||||
session_start();
|
<html>
|
||||||
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
<head>
|
||||||
require_once "warenkorb.php";
|
|
||||||
}else{
|
|
||||||
echo '<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta lang="de"/>
|
<meta lang="de"/>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
||||||
|
@ -15,10 +10,51 @@
|
||||||
<link rel="icon" href="pictures/candle.png">
|
<link rel="icon" href="pictures/candle.png">
|
||||||
<script src="burgerIcon.js"></script>
|
<script src="burgerIcon.js"></script>
|
||||||
<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>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
||||||
|
require_once "warenkorb.php";
|
||||||
|
}else{
|
||||||
|
echo '
|
||||||
|
|
||||||
<div class="anmeldung">
|
<div class="anmeldung">
|
||||||
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
<h1 class="anmeldung-überschriften" >Anmelden</h1>
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
<?php
|
<!DOCTYPE html>
|
||||||
session_start();
|
<html>
|
||||||
|
<head>
|
||||||
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
|
||||||
require_once "meinebuecher.php";
|
|
||||||
}else{
|
|
||||||
echo '<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta lang="de"/>
|
<meta lang="de"/>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
||||||
|
@ -16,10 +10,52 @@
|
||||||
<link rel="icon" href="pictures/candle.png">
|
<link rel="icon" href="pictures/candle.png">
|
||||||
<script src="burgerIcon.js"></script>
|
<script src="burgerIcon.js"></script>
|
||||||
<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>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
if(isset($_SESSION['eingeloggt']) && $_SESSION['eingeloggt'] == 1 ){
|
||||||
|
require_once "meinebuecher.php";
|
||||||
|
}else{
|
||||||
|
echo '
|
||||||
|
|
||||||
<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,10 +1,7 @@
|
||||||
<?php
|
<!DOCTYPE html>
|
||||||
session_start();
|
<html>
|
||||||
|
|
||||||
echo '<!DOCTYPE html>
|
<head>
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<meta lang="de"/>
|
<meta lang="de"/>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
<meta name="viewport" content="device=device-width, initial-scaling=1"/>
|
||||||
|
@ -13,7 +10,46 @@ session_start();
|
||||||
<title>Candle Bibliothek | Registrierung</title>
|
<title>Candle Bibliothek | Registrierung</title>
|
||||||
<link rel="icon" href="pictures/candle.png">
|
<link rel="icon" href="pictures/candle.png">
|
||||||
<script src="notwendiges_laden.js" defer></script>
|
<script src="notwendiges_laden.js" defer></script>
|
||||||
<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>
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
echo '
|
||||||
|
|
||||||
<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