This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
72 lines (66 loc) · 2.1 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
<?php include "head.php";
session_start();
if(!empty($_SESSION["cpf"])){
echo "<script>location.href='inicio.php';</script>";
}
?>
<div class="container" style="margin-top: 45px;">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="well">
<center><h1>SICVIGO <small>Sistema de Chamados da Vice Governadoria</small></h1></center>
</div>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<?php
switch ($_GET['acao']) {
case 'usuarioInvalido':
echo "<div class='alert alert-success' role='alert'><p>CPF ou senha inválidos!</p></div>";
break;
case 'deslogado':
echo "<div class='alert alert-success' role='alert'><p>Precisa estar logado para acessar o sistema.</p></div>";
break;
}
?>
<div class="jumbotron">
<div class="container">
<form method="POST" action="validarLogin.php">
<div class="form-group">
<label for="cpfLogin">CPF</label>
<input type="text" name="cpfLogin" class="form-control" id="cpfLogin">
</div>
<div class="form-group">
<label for="senhaLogin">Senha</label>
<input type="password" name="senhaLogin" class="form-control" id="senhaLogin">
</div>
<div class="form-group">
<label>Domínio: BURITI</label>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block">Entrar</button>
</form>
</div>
</div>
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="well">
<center><address class="text-left">
<strong>Coordenadoria de Tecnologia da Informação - Vice Governadoria</strong><br>
Anexo do Palácio do Buriti, Praça do Buriti, 16º andar<br>
Brasília, DF 71691-004<br>
<abbr title="telefone">Telefone</abbr>: 3961-1796 / 3961-1795<br>
</address></center>
</div>
</div>
<div class="col-md-2"></div>
</div>
</div>
<?php include "footer.php"; ?>