-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.php
55 lines (43 loc) · 1.72 KB
/
signup.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
<?php
require_once './config.php';
require_once './partials/headerLogin.php';
?>
<section class="loginSection">
<div class="loginArea">
<form method="POST" action="./signup_action.php">
<h1>Cadastrar <i class='bx bxs-lock'></i></h1>
<p class="warning"><?=$_SESSION['warning']?></p>
<div class="label-float-login">
<input type="text" autofocus name="nome" required placeholder=" "/>
<label>Nome</label>
</div>
<div class="label-float-login">
<input type="email" autofocus name="email" required placeholder=" "/>
<label>Email</label>
</div>
<div class="label-float-login">
<input type="text" id="nascimento" name="nascimento" required placeholder=" "/>
<label>Data de nascimento</label>
</div>
<div class="label-float-login">
<input type="password" name="senha" required placeholder=" "/>
<label>Senha</label>
</div>
<div class="label-float-login">
<input type="password" name="confirma_senha" required placeholder=" "/>
<label>Confirmar senha</label>
</div>
<button type="submit" class="buttonLogin">Cadastrar</button>
<p class="signup">Já tem uma conta? <a href="<?=$base?>/login.php">Entre</a></p>
</form>
</div>
</section>
<script src="https://unpkg.com/imask"></script>
<script>
IMask(
document.getElementById("nascimento"),
{mask:'00/00/0000'}
);
document.title = "GoMoney - Cadastro";
</script>
<?php require_once './partials/footer.php'; ?>