first commit
This commit is contained in:
commit
d975e212f9
35 changed files with 813 additions and 0 deletions
39
login/index.php
Normal file
39
login/index.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<?php require "includes/security.php" ?>
|
||||
<!DOCTYPE HTML>
|
||||
<html lang="it">
|
||||
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<?php require "includes/head.php" ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h1>Login</h1>
|
||||
<?php
|
||||
if (isset($_SESSION["error"])) {
|
||||
?>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
Errore! Riprova
|
||||
</div>
|
||||
<?php }
|
||||
session_unset();
|
||||
?>
|
||||
<form action="home.php" method="post">
|
||||
<div class="mb-3">
|
||||
<label for="nome" class="form-label">Nome Utente</label>
|
||||
<input type="text" class="form-control" id="nome" name="nome">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label">Password</label>
|
||||
<input type="password" class="form-control" id="password" name="password">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php require "includes/footer.php" ?>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue