-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
85 lines (75 loc) · 3.68 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
83
84
85
<?php
session_start();
require_once 'header.php' ?>
<!-- Login -->
<div class="row">
<div class="bloco-login">
<img src="img/icons8-fingerprint-scan-96.png" class="img-responsive">
<h1>Faça seu Login</h1>
<div class="formulario">
<form name="login" action="" method="POST">
<div class="col-md-12">
<input type="email" name="email_login" required="required" class="form-control" placeholder="E-mail" id="email_login">
</div>
<div class="col-md-12">
<input type="password" name="pass_login" required="required" class="form-control" placeholder="Senha" id="senha_login">
</div>
<input type="button" id="submit_login" class="btn btn-green" value="Entrar">
<button type="button" id="cad" class="btn btn-green" data-toggle="modal" data-target="#modalCad" onclick="list()">Cadastrar</button>
</form>
</div>
</div>
</div>
<!-- Modal Cadastro-->
<div class="modal fade" id="modalCad" tabindex="-1" role="dialog" aria-labelledby="modalCadastro">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="modalCadastro">
Cadastar Informações <i class="fa fa-database" aria-hidden="true"></i>
</h4>
</div>
<div class="modal-body">
<div class="formulario">
<form name="cad" action="" method="POST">
<div class="col-md-12">
<input type="text" name="nome" class="form-control azul" placeholder="Nome" required id="nome_cad">
</div>
<div class="col-md-12">
<input type="email" name="email" required class="form-control azul" placeholder="E-mail" id="email_cad">
</div>
<div class="col-md-12">
<input type="password" name="password" class="form-control azul" placeholder="Senha" id="senha_cad" required>
</div>
<div class="col-md-12">
<input type="password" name="password2" class="form-control azul" placeholder="Digite novamente a Senha" id="senha_cad2" required>
</div>
<select id="select"></select>
<button type="button" id="cadastro_login">Cadastrar <i class="fa fa-check" aria-hidden="true"></i></button>
</form>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Fechar <i class="fa fa-times" aria-hidden="true"></i></button>
</div>
</div>
</div>
</div>
<!-- Alerta de Sucesso no Cadastro -->
<div class="alert alert-success alert-dismissable" id="alert_cad">
<strong>Successo!</strong> Cadastro realizado com exito <i class="fa fa-sign-in" aria-hidden="true"></i>.
</div>
<!-- Alerta de E-mail Existente -->
<div class="alert alert-danger alert-dismissable" id="alert_exis">
<strong>Atenção!</strong> E-mail já existente.
</div>
<!-- Alerta de Senhas Diferentes -->
<div class="alert alert-danger alert-dismissable" id="alert_pass">
<strong>Atenção!</strong> Senhas Diferentes.
</div>
<!-- Alerta de Login ou Senha errados -->
<div class="alert alert-danger alert-dismissable" id="alert_log">
<strong>Opa!</strong> Email ou(e) Senha errado(s).
</div>
<?php require_once 'footer.php' ?>