2023-05-27 15:05:06 +02:00
|
|
|
|
<?php
|
2023-05-30 13:54:44 +02:00
|
|
|
|
session_start();
|
|
|
|
|
require('connect_db.php');
|
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 15:05:06 +02:00
|
|
|
|
if(isset($_POST['submit'])){
|
2023-05-27 17:16:45 +02:00
|
|
|
|
$vorname = $_POST["vorName"];
|
|
|
|
|
$nachname = $_POST['nachName'];
|
|
|
|
|
$strasse = $_POST['strasse'];
|
|
|
|
|
$hausnummer = $_POST['hausnummer'];
|
|
|
|
|
$plz = $_POST['postleitzahl'];
|
|
|
|
|
$ort = $_POST['ort'];
|
|
|
|
|
$emailrep = $_POST['emailRep'];
|
|
|
|
|
$email = $_POST['email'];
|
|
|
|
|
$passwort = $_POST['passwort'];
|
|
|
|
|
$passwortrep = $_POST['passwortRep'];
|
|
|
|
|
|
2023-05-27 15:05:06 +02:00
|
|
|
|
if(empty($_POST['vorName']) || empty($_POST['nachName']) || empty($_POST['strasse']) ||
|
|
|
|
|
empty($_POST['hausnummer']) || empty($_POST['postleitzahl']) || empty($_POST['ort']) ||
|
|
|
|
|
empty($_POST['emailRep']) || empty($_POST['email']) || empty($_POST['passwort']) || empty($_POST['passwortRep']))
|
|
|
|
|
{
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!DOCTYPE html>
|
|
|
|
|
<html>
|
2023-05-27 15:05:06 +02:00
|
|
|
|
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 15:05:06 +02:00
|
|
|
|
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $vorname)
|
|
|
|
|
|| !preg_match("/.{2,}/", $vorname)
|
|
|
|
|
|| !preg_match("/(?:([- ])\1{1,}|( -)|(- ))/", $vorname)
|
|
|
|
|
|| !preg_match("/^([A-ZÄÖÜa-zäöüß]{2,}[ -]?)+$/", $vorname)
|
|
|
|
|
|| !preg_match("/(\w)\1{2,}/", $vorname)) {
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else if (!preg_match("/^[A-Za-zÄÖÜäöüß -]*$/", $nachname)
|
|
|
|
|
|| !preg_match("/.{2,}/", $nachname)
|
|
|
|
|
|| !preg_match("/(?:([- ])\1{1,}|( -)|(- ))/", $nachname)
|
|
|
|
|
|| !preg_match("/^([A-ZÄÖÜa-zäöüß]{2,}[ -]?)+$/", $nachname)
|
|
|
|
|
|| !preg_match("/(\w)\1{2,}/", $nachname)
|
|
|
|
|
|| !preg_match("/[A-ZÄÖÜ][a-zäöüß]+[ ]+[A-ZÄÖÜ][a-zäöüß]+/", $nachname)
|
|
|
|
|
|| !preg_match("/^(von( der)?|zu)[ ][A-ZÄÖÜ]|^[A-ZÄÖÜ]/", $nachname)) {
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
|
|
|
|
|
}else if ( !preg_match("/.{2,}/", $strasse)
|
|
|
|
|
|| !preg_match("/^[^0-9]*$|[0-9]$/", $strasse)
|
|
|
|
|
|| !preg_match("/^[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)) {
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="regisrtrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
|
|
|
|
|
}else if ( !preg_match("/^[0-9]/", $hausnummer)
|
|
|
|
|
|| !preg_match("/^0/", $hausnummer)
|
|
|
|
|
|| !preg_match("/^[A-Za-z0-9ÄÖÜäöüß' -]+$/", $hausnummer)
|
|
|
|
|
|| !preg_match("/^[1-9][0-9]{0,3}[a-z]?$/", $hausnummer)){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if ( !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)){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if ( !preg_match("/.{2,}/", $ort)
|
|
|
|
|
|| !preg_match("/[ \/-][ \/-]/", $ort)
|
|
|
|
|
|| !preg_match("/^[A-ZÄÖÜa-zäöüß \/-]+$/", $ort)
|
|
|
|
|
|| !preg_match("/(\w)\1{2,}/", $ort)
|
|
|
|
|
|| !preg_match("/^[A-ZÄÖÜ]/", $ort)
|
|
|
|
|
|| !preg_match("/[a-zäöüß]$/", $ort)
|
|
|
|
|
|| !preg_match("/^[A-ZÄÖÜ][a-zäöüß]+([ -\/][A-ZÄÖÜa-zäöü][a-zäöüß]+)*$/", $ort)){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if ( !preg_match("/[A-Za-z0-9_!#$%&'*+-\/=?^_`.{|}~]+[@][A-Za-z0-9-]+[.][A-Za-z]{2,}/", $ort)){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
2023-05-27 17:16:45 +02:00
|
|
|
|
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if($email != $emailrep){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if (!preg_match("/^(?=.*[A-ZÄÖÜ])(?=.*[a-zäöüß])(?=.*[0-9])(?=.*[!°`´@#$%^&*()_+\-=\[\]{};':\"\\|,.<>\/?]).{6,}$/", $hausnummer)
|
|
|
|
|
|| !preg_match("/.{6,}/", $ort)){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}else if($passwort != $passwortrep){
|
2023-05-27 17:42:56 +02:00
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
2023-05-30 13:54:44 +02:00
|
|
|
|
<form id="registrierungForm" action="registrierung.php" method="POST">
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|
2023-05-27 17:42:56 +02:00
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
|
|
|
|
}else{
|
2023-05-30 13:54:44 +02:00
|
|
|
|
$erg = register($vorname,
|
|
|
|
|
$nachname ,
|
|
|
|
|
$strasse,
|
|
|
|
|
$hausnummer,
|
|
|
|
|
$plz,
|
|
|
|
|
$ort,
|
|
|
|
|
$emailrep,
|
|
|
|
|
$email,
|
|
|
|
|
$passwort,
|
|
|
|
|
$passwortrep);
|
|
|
|
|
echo '<!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">
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<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.html">Bücher</a>
|
|
|
|
|
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
|
|
|
|
|
<a id="abmelden" href="abmelden.php">Abmelden</a>
|
|
|
|
|
<form action="">
|
|
|
|
|
<input 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">
|
|
|
|
|
|
|
|
|
|
<!--Bei action wird später eine php-Datei eingefügt,
|
|
|
|
|
welche sich um die Verarbeitung der Daten kümmert.-->
|
|
|
|
|
<form id="registrierungForm" action="connect_db.php" method="POST">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<span id="registrierungTitel" > Registrierung erfolgreich abgeschlossen! Vielen Dank </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>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
var widthissue = false;
|
|
|
|
|
window.addEventListener("resize", function(event) {
|
|
|
|
|
if(window.innerWidth > 800 && widthissue) {
|
|
|
|
|
widthissue = false
|
|
|
|
|
unset()
|
|
|
|
|
}
|
|
|
|
|
else if(window.innerWidth < 800) widthissue = true;
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<nav id="activeid" class="active">
|
|
|
|
|
<div class="navLinks">
|
|
|
|
|
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";>
|
|
|
|
|
<label for="nav-toggle" class="icon-burger" >
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
<div class="line"></div>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="fuss" >
|
|
|
|
|
<div>
|
|
|
|
|
<a id="impressum" href="impressum.html">Impressum</a>
|
|
|
|
|
<a id="kontakt" href="kontakt.html">Kontakt</a>
|
|
|
|
|
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
<script src="registrierung_verhalten.js"></script>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>';
|
|
|
|
|
|
2023-05-27 17:16:45 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
?>
|
2023-05-26 16:39:10 +02:00
|
|
|
|
|