-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·82 lines (67 loc) · 2.84 KB
/
index.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?php
session_start();
$usuario_id = $_SESSION["usuario_id"];
$url_inicial = $_SESSION["url_inicial"];
// if($usuario_id)
// header('Location: '.'/view/'.$url_inicial.'.php');
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Intranet</title>
<!-- Bootstrap core CSS-->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template-->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<!-- Custom styles for this template-->
<link href="css/sb-admin.css" rel="stylesheet">
</head>
<!-- <body background="images/office.jpg">!-->
<body style="background-color:#F0FFF0">
<div class="container" >
<div class="card card-login mx-auto mt-5" style="background-color: #F5FFFA no-repeat 0 0">
<div class="card-header"><center><b>Intranet</b></center></div>
<div class="card-body">
<form action="controller/login.php" method='POST'>
<div class="form-group">
<div class="form-label-group">
<input type="text" id="inputEmail" name="email" class="form-control" placeholder="E-mail" required="required" autofocus="autofocus">
<label for="inputEmail">E-mail</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<input type="password" id="inputPassword" name="senha" class="form-control" placeholder="Senha" required="required">
<label for="inputPassword">Senha</label>
</div>
</div>
<input type="submit" class="form-control" value="Login" style="background-color: #ced4da;">
</form><br>
<b><i><ul>
<li>Cadastro de avisos <i class='fas fa-check'></i></li>
<li>Calendário <i class='fas fa-check'></i></li>
<li>Repositório pra arquivos <i class='fas fa-check'></i></li>
</ul></i></b>
Quer experimentar gratuitamente? <a href="contato.php">Clique aqui <i class='fas fa-bolt'></i></a>
<br><br>
<?php
//mensagem de erro ao usuario
$msg = $_SESSION["msg_erro"];
if($msg)
echo "<i>".$msg."</i>";
?>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
</body>
</html>