forked from AdelinedeNazare/MaisHistoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
entre.php
41 lines (38 loc) · 1.18 KB
/
entre.php
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
39
40
41
<!DOCTYPE html>
<html lang="pt-br">
<?php
include_once 'carrosel.php';
?>
<body>
<div id="cabecalho" class="container">
<form action="valida.php" class="form-login" method="POST">
<div class="col-sm-4 col-sm-offset-4">
<div class="panel panel-success">
<div class="panel-heading"> Faça seu login aqui!</div>
<div class="form-group-sm">
<input type="email" class="form-control" id="exampleInputEmail1" name="email" placeholder="email"
required autofocus>
</div>
<div class="form-group-sm">
<input type="password" class="form-control" id="exampleInputPassword1" name="password"
placeholder="senha" required>
</div>
<button type="submit" class="btn btn-default btn-sm">Entrar</button>
<div class="panel-body">
<?php
if (!empty($_SESSION['usuario'])) {
include 'logado.php';
} else {
include 'naologado.php';
}
?>
</div>
</div>
</div>
</form>
</div>
<?php
include_once 'footer.php';
?>
</body>
</html>