<!--
    Seite: Profil
    Inhalt: Das eigene Profil, wenn man angemeldet ist. Dort hat man die Möglichkeit seine Angaben zu ändern.
-->
<!DOCTYPE html>
<html lang="de">

<head>
    <meta charset="utf-8">
    <meta name="description" content="EduForge">
    <meta name="author" content="Niklas Ortmann">
    <link rel="stylesheet" href="../css/main.css" />
    <title>EduForge</title>
</head>

<body>

    <nav style="background:#808080; height: 60px;">
        <div style="float:left; text-align: center;">
            <a href="../index.php">
    	        <img src="../images/logos/logo.png" alt="" style="height: 44px;">
    	    </a>
        |
    	<a href = "../content/informatik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Informatik</b></a>
    	|
    	<a href = "../content/mathe.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Mathe</b></a>
    	|
    	<a href = "../content/physik.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Physik</b></a>
    	|
    	<a href = "../content/profile.php" style = "padding: 5px; text-align: center; text-decoration: none; display: inline-block;"><b>Dein Profil</b></a>
    	|
    	</div>
        <div style="float:right; text-align: center;">
    	<?php
    	include_once '../includes/search.php';
    	?>
    	|
    	<a href = "../auth/login.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Anmelden </a>

    	<a href = "../auth/register.php" style = "background-color: #f44336; color: white; padding: 4px 20px; text-align: center; text-decoration: none; display: inline-block;"> Registrieren </a>
        </div>
    </nav>

    <main>

<hr>
        <div>
            <div>
                <h1>Benutzerdaten ändern</h1>
                <a href="/users"><img src="../images/logos/logo.png" alt="" width="120" height="72"></a>
            </div>
            <div>
                <div>
                    <label id="Vorname">Vorname</label>
                    <input type="text" name="Vorname" required placeholder="Vorname" value="<?php //DB-Daten ?>">
                </div>
                <div>
                    <label id="Nachname">Nachname</label>
                    <input type="text" name="Nachname" required placeholder="Nachname" value="<?php //DB-Daten ?>">
                </div>
                <div>
                     <label id="Email">Email-Adresse</label>
                     <input type="email" name="Email" required placeholder="mustermann@web.de" value="<?php //DB-Daten ?>">
                </div>
                <div>
                    <label id="Passwort">Passwort</label>
                    <input type="password" name="Passwort" required placeholder="Passwort">
                </div>
                <div>
                    <br>
                    <button type="submit" name="submit"><i></i> Speichern</button>
                </div>
            </div>
        </div>
    </main>

    <footer style="position:fixed;bottom:0;width:100%;background:#fff;text-align:center;">
        <a href="../legal/impressum.php">Impressum</a>
        <a href="../legal/datenschutz.php">Datenschutz</a>
        <a href="../legal/nutzungsbedingungen.php">Nutzungsbedingungen</a>
    </footer>
</body>

</html>