-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcadastro.php
40 lines (32 loc) · 1.74 KB
/
cadastro.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
<?php include("./include/header.php"); ?>
<div class="center-page height-100-vh">
<div class="form-center">
<form action="./action/cadastrar.php" method="POST">
<img class="mb-5 w-100" src="./assets/img/logo.png" alt="Logo sesi senai" />
<h1 class="h3 mb-4 text-center">Cadastre-se aqui</h1>
<?php if(!empty($_GET["aviso"])): ?>
<div class="alert alert-danger" role="alert">
<?= $_GET["aviso"]; ?>
</div>
<?php endif; ?>
<div class="form-floating mb-3">
<input type="text" name="nome" class="form-control" id="inputNome" placeholder="Seu nome">
<label for="inputNome">Nome</label>
</div>
<div class="form-floating mb-3">
<input type="text" name="usuario" class="form-control" id="inputUsuario" placeholder="Seu usuário">
<label for="inputUsuario">Usuário</label>
</div>
<div class="form-floating mb-3">
<input type="password" name="senha" class="form-control" id="inputSenha" placeholder="Sua senha">
<label for="inputSenha">Senha</label>
</div>
<div class="form-floating mb-3">
<input type="password" name="repeteSenha" class="form-control" id="inputRepeteSenha" placeholder="Repita a senha">
<label for="inputRepeteSenha">Repita a senha</label>
</div>
<button class="w-100 btn btn-lg btn-danger" type="submit">Cadastrar</button>
</form>
</div>
</div>
<?php include("./include/footer.php"); ?>