AdatB projekt + htdocs mappa hozzáadva

This commit is contained in:
Tóth Ádám
2024-12-17 12:05:52 +01:00
parent ee92888e93
commit df5d992bf4
482 changed files with 79298 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
session_start();
if (isset($_SESSION["user"])) {
header(header: "Location: profile.php");
}
?>
<!DOCTYPE html>
<html lang="hu">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bejelentkezés</title>
</head>
<body>
<h1>Bejelentkezés</h1>
<form action="profile.php" method="POST">
<label for="nev">Név: </label><input type="text" name="nev" id="nev"><br>
<label for="jelszo">Jelszó: </label><input type="password" name="jelszo" id="jelszo"><br>
<input type="color" name="szin" id="szin"><br>
<button type="submit">Bejelentkezés</button>
</form>
</body>
</html>