Creata base pagina login

This commit is contained in:
2026-03-31 08:56:17 +02:00
parent 6ff180dbee
commit 4985e5cbbf
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
<body>
<div class="no">
<h2>Gestione Aeroporto</h2>
<a href="https://cdn.mtdv.me/video/rick.mp4"><button>Login</button></a><br>
<a href="login.php"><button>Login</button></a><br>
<a href="https://cdn.mtdv.me/video/rick.mp4"><button>Registrati</button></a><br>
<a href="https://cdn.mtdv.me/video/rick.mp4"><button>Logout</button></a><br>
</div>
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - Accesso aeroporto</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<?php
if(isset($_POST['username']) || isset($_POST['password'])){
echo "PUPPAMI LA FAVA<br><br>";
}
?>
<form class="form-group" action="" method="POST">
<h4 style="text-align: center;">Accedi</h4>
<label for="username">Nome utente</label>
<input type="text" id="username" name="username">
<label for="password">Password</label>
<input type="password" id="password" name="password">
<input type="submit" value="Accedi">
</form>
</body>
</html>