Creata base pagina login
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user