-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCadastrar.php
87 lines (79 loc) · 4.01 KB
/
Cadastrar.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
86
87
<html>
<head>
<title>Insira o titulo aqui</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Fontes -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
<!--Ícone da página -->
<link rel="icon" href="img/Logo.png">
<!-- Conexão com o bootstrap/javascript/jquery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/MainStyle.css" rel="stylesheet">
</head>
<!-- Define estilos menores da pagina -->
<style>
body{
background-image: url(img/7961.jpg);
background-position: center; /* Center the image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: cover; /* Resize the background image to cover the entire container */
}
</style>
<body>
<div class="bg-info text-center bigger letraBranca">
<?php
session_start();
echo $_SESSION['erro'];
?>
</div>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-md-4">
</div>
<div class="col-md-4">
<!-- Logotipo de preferencia em PNG - Os col-md servem para centralizar o conteudo -->
<img src="img/logomarca.png" alt="Logo" class="rounded mx-auto d-block" style="width:200; ">
<div class="card card-LogCad">
<div class="card-header card-header-cad bg-success"><h1 class="letraBranca">Cadastro</h1>
<p class="letraBranca">Lorem ipsum et cetera</p>
</div>
<div class="card-body card-body-LogCad">
<!-- Inicio do formulario
ACTION mostra para que pagina o botao submit deve levar os valores
-->
<form method="post" action="Validar_cadastro.php">
<div class="form-group">
<div class="form-group">
<label for="name">Nome: </label>
<input type="text" class="form-control" name="nome" id="nome">
</div>
<label for="email">Email:</label>
<input type="text" name="email" class="form-control">
</div>
<div class="form-group">
<label for="pwd">Senha:</label>
<input type="password" class="form-control" name="senha1" id="pwd">
</div>
<div class="form-group">
<label for="pwd">Senha novamente:</label>
<input type="password" class="form-control" name="senha2" id="pwd">
</div>
<div class="form-group form-check">
<label class="form-check-label">
<input type="hidden" name="form_submitted" value="1" />
</label>
</div>
<button type="submit" class="btn btn-success">Cadastrar</button>
</form>
<p class="smaller text-center">Já possui cadastro ? <a href="Logar.php">Clique aqui</a></p>
</div>
</div>
</div>
<div class="col-md-4"></div>
</div>
</div>
</body>
</html>