-
Notifications
You must be signed in to change notification settings - Fork 0
/
cadastro.php
160 lines (106 loc) · 6.04 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?php
require_once "classes/cadastro_login.class.php";
$Executar_cadastro = new Cadastro_login();
$Executar_cadastro->cadastrar();
?>
<!DOCTYPE html>
<html>
<head>
<title>Cadastro</title>
<meta charset="utf-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<!--===============================================================================================-->
<!-- <link rel="icon" type="image/png" href="images/icons/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="fonts/Linearicons-Free-v1.0.0/icon-font.min.css">
<link rel="stylesheet" type="text/css" href="vendor/animate/animate.css">
<link rel="stylesheet" type="text/css" href="vendor/css-hamburgers/hamburgers.min.css">
<link rel="stylesheet" type="text/css" href="vendor/animsition/css/animsition.min.css">
<link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css">
<link rel="stylesheet" type="text/css" href="vendor/daterangepicker/daterangepicker.css"> -->
<link rel="stylesheet" type="text/css" href="media/css/util.css">
<link rel="stylesheet" type="text/css" href="media/css/main.css">
<!--===============================================================================================-->
</head>
<body style="text-align: center;">
<div class="limiter">
<div class="container-login100">
<div class="wrap-login100">
<form class="login100-form" method="POST">
<span class="login100-form-title p-b-43 text-warning">
Criando minha conta
</span>
<div class="wrap-input100 validate-input">
<input class="input100" type="text" name="nome" id="nome" required="" placeholder="Nome" value="<?=utf8_encode($Executar_cadastro->nome)?>">
</div>
<div class="wrap-input100 validate-input">
<input class="input100" type="email" name="email" id="email" required="" placeholder="E-mail" value="<?=utf8_encode($Executar_cadastro->email)?>">
</div>
<div class="wrap-input100 validate-input" >
<input class="input100" type="password" name="senha" id="senha" required="" placeholder="Senha" value="<?=utf8_encode($Executar_cadastro->senha)?>">
</div>
<div class="wrap-input100 validate-input" >
<input class="input100" type="password" name="senha2" id="senha2" required="" placeholder="Repetir a senha">
</div>
<div class="wrap-input100 validate-input">
<input class="input100" type="number" name="telefone" id="telefone" placeholder="Número de Telefone" value="<?=$Executar_cadastro->telefone?>">
</div>
<div class="wrap-input100 validate-input" >
<input class="input100" type="number" name="celular" id="celular" placeholder="Número de celular" value="<?=$Executar_cadastro->celular?>">
</div>
<br><br>
<p class="p_cadastro"><center><BIG>Sexo</BIG></center></p>
<div class=" input-group-text" style="float: left; margin-left: 20px;">
<input class="" type="radio" id="masculino" name="sexo" value="Masculino" required="" <?php if (isset($_POST['sexo']) and ($_POST['sexo'] == "Masculino")) {echo "checked=''";}?>>Masculino
<label for="masculino"></label>
</div>
<div class="input-group-text" style="float: left; margin-left: 20px;">
<input type="radio" id="feminino" name="sexo" value="Feminino" <?php if (isset($_POST['sexo']) and $_POST['sexo'] == "Feminino") {echo "checked=''";}?>>Feminino
<label for="feminino"></label>
</div>
<br>
<p><BIG>Data de nascimento:</BIG></p>
<select name="dia" class="select" required="">
<option value="<?php if (isset($_POST['dia'])) { echo $_POST['dia'];} else { echo '';}?>"><?php if (isset($_POST['dia'])) { echo $_POST['dia'];} else { echo 'Dia';}?></option>
<?php for ($i = 1; $i <= 31; $i++) {?>
<option><?=$i?></option>
<?php } ?>
</select>
<select name="mes" class="select" required="">
<option value="<?php if (isset($_POST['mes'])) { echo $_POST['mes'];} else { echo '';}?>"><?php if (isset($_POST['mes'])) { echo $_POST['mes'];} else { echo 'Mês';}?></option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
<select name="ano" class="select" required="">
<option value="<?php if (isset($_POST['ano'])) { echo $_POST['ano'];} else { echo '';}?>"><?php if (isset($_POST['ano'])) { echo $_POST['ano'];} else { echo 'Ano';}?></option>
<?php for ($i = date('Y'); $i >= (date('Y') - 100); $i--) {?>
<option><?=$i?></option>
<?php } ?>
</select>
<br><br>
<div class="container-login100-form-btn ">
<button class="login100-form-btn btn-warning" name="cadastrar" type="submit">Enviar</button>
</div>
</form>
<div class="login100-more" style="background-image: url('media/images/caixas.jpg');">
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="media/js/main.js"></script>
</body>
</html>