login.php
1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8" />
<title>Bem vindo!</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="<?php echo URL;?>assets/css/signin.css" />
</head>
<body class="text-center">
<div class="container">
<form class="form-signin" method="post" action="">
<img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Área Administrativa</h1>
<?php
if (isset($_SESSION['msg'])) {
echo $_SESSION['msg'];
unset($_SESSION['msg']);
}
?>
<label for="iEmail" class="sr-only">E-mail:</label>
<input type="email" class="form-control" name="email" id="iEmail" placeholder="Digite seu e-mail" required autofocus>
<label for="iSenha" class="sr-only">Senha:</label>
<input type="password" class="form-control" name="password" id="iSenha" placeholder="Digite sua senha" required>
<div class="checkbox mb-3">
<label>
<input type="checkbox" value="remember-me"> Lembre-me
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" name="sendLogin" type="submit">Logar</button>
</form>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</div>
</body>
</html>