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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
|
<? include_once("init.php"); include("valida.jsp"); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="iso-8859-1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ico">
<title>Sivana</title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>" /> <!-- Bootstrap core CSS --> <link href="dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template --> <link href="css/sivana.css" rel="stylesheet"> <!-- Owl Carousel Assets --> <link href="owl-carousel/owl.carousel.css" rel="stylesheet"> <link href="owl-carousel/owl.theme.css" rel="stylesheet"> <!-- Just for debugging purposes. Don't actually copy these 2 lines! --> <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <script src="assets/js/ie-emulation-modes-warning.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <script src="assets/js/ie10-viewport-bug-workaround.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head>
<body> <? include ("topo.php") ?> <!-- Static navbar --> <? include ("menu.php") ?> <div class="conteudo"> <div class="container"> <? include ("aviso.php") ?> <div class="row"> <div class="col-md-8"> <div class="principal">
<h1>Banco de Talentos</h1> <p> Para cadatrar seu currículo em nosso BANCO DE TALENTOS, você deve informar seu CPF e preencher o formulário com os seus dados. É rápido e fácil! Seu currículo ficará disponível para todos os associados do SIVANA.<br> O cadastro é <strong>gratuíto!</strong> </p> <div class="clearfix"></div> <div class="col-md-6"> <div class="block"> <h1><i><img src="images/icon-calendario.png" class="nocem" /></i>Cadastrar Curriculo</h1> <div class="news"> <p>Para fazer o cadastro de seu currículo em nosso Banco de Talentos, informe o número do seu CPF.</p> <form id="etapa2" name="etapa2" method="post" action="cadastrar-curriculo.php" onsubmit="return validainsc1()"> <?php function erro(){?> <tr> <td><table class="alertaerro" width="80%" align="center"> <tr> <td align="center" style="color:#F03"><strong>C.P.F. Inválido</strong> </td> </tr> </table></td> </tr> <tr><td> </td></tr> <?php }?> <?php if (isset($_GET['cpf'])){ erro(); } ?> <?php function erro2(){?> <tr> <td><table class="alertaerro" width="80%" align="center"> <tr> <td align="center" style="color:#F03"><strong>C.P.F. já Cadastrado</strong> </td> </tr> </table></td> </tr> <tr><td> </td></tr> <?php }?> <?php if (isset($_GET['cpfe'])){ erro2(); } ?> <div class="input-group"> <span class="input-group-addon"><img src="images/user.png" class="nocem" /></span> <input type="text" class="form-control cpf" placeholder="CPF" id="cpf1" name="cpf1"> </div> <div class="vintespaco"></div> <input type="submit" class="btn botao" value="Novo Cadastro"></form> </form> </div> </div> </div> <div class="col-md-6"> <div class="block"> <h1><i><img src="images/icon-calendario.png" class="nocem" /></i>Login Currículo</h1> <div class="news" id="vola"> <p>Para fazer alterações no currículo cadastrado, informe abaixo o número do seu CPF e sua senha</p> <form action="logarcurriculo.php" name="login" id="login" method="post"> <?php function erro3(){?> <tr> <td><table class="alertaerro" width="80%" align="center"> <tr> <td align="center" style="color:#F03"><strong>C.P.F. Inválido ou Senha Incorreta</strong> </td> </tr> </table></td> </tr> <tr><td> </td></tr> <?php }?> <?php if (isset($_GET['registro'])){ erro3(); } ?> <div class="input-group"> <span class="input-group-addon"><img src="images/user.png" class="nocem" /></span> <input type="text" class="form-control cpf" placeholder="CPF" id="cpf5" name="cpf5"> </div> <div class="vintespaco"></div> <div class="input-group"> <span class="input-group-addon"><img src="images/cadeado.png" class="nocem" /></span> <input type="password" class="form-control" placeholder="senha" name="senha" id="senha"> </div> <div class="vintespaco"></div> <input type="submit" class="btn botao" value="Acessar"> <a id="click" class="pull-right link">Esqueci minha senha</a> <br> <div id="info"></div> </form> </div> <div class="vola2 news" id="vola2" style="display:none"> <p>Para recuperar a senha informe seu CPF será enviado um email com instruções para recuperar a senha</p> <form action="javascript:func()" name="recuperar" id="recuperar" method="post"> <div class="input-group"> <span class="input-group-addon"><img src="images/user.png" class="nocem" /></span> <input type="text" class="form-control cpf" placeholder="CPF" id="cpf6" name="cpf6"> </div> <div class="vintespaco"></div> <input type="submit" class="btn botao" value="Recuperar"> <a class="pull-right link" id="click2">cancelar</a> <br> <div class="" id="status"></div> </form> </div> </div> </div> <div class="clearfix"></div> </div> </div><!-- col 8 --> <div class="col-md-4"> <? include ("menu-rapido.php")?> </div> </div> <div class="vintespaco"></div> <? include("parceiros.php") ?> </div> <!-- /container --> <? include ("rodape.php") ?> </div><!-- Conteudo do site-->
<!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="dist/js/bootstrap.min.js"></script> <script src="owl-carousel/owl.carousel.js"></script> <script src="js/mascara.js"></script> <script> $(document).ready(function() { $("#owl-demo").owlCarousel({ autoPlay: 3000, navigation: true, slideSpeed: 300, paginationSpeed: 400, singleItem: true
// "singleItem:true" is a shortcut for: // items : 1, // itemsDesktop : false, // itemsDesktopSmall : false, // itemsTablet: false, // itemsMobile : false
}); $("#owl-demo2").owlCarousel({ autoPlay: 5000, navigation: false, pagination: false, slideSpeed: 900, paginationSpeed: 400, singleItem: true
// "singleItem:true" is a shortcut for: // items : 1, // itemsDesktop : false, // itemsDesktopSmall : false, // itemsTablet: false, // itemsMobile : false
}); }); $( "#click" ).click(function() { $( "#vola" ).hide(); $( "#vola2" ).show(); }); $( "#click2" ).click(function() { $( "#vola2" ).hide(); $( "#vola" ).show(); }); $("#recuperar").submit(function() { var cpf6 = $("#cpf6").val(); // Exibe mensagem de carregamento $("#status").html("Aguarde! Enviando email"); $("#status").slideDown(); $("#enviar").hide(); // Fazemos a requisao ajax com o arquivo enviar.php e enviamos os valores de cada campo através do método POST $.post('recuperar.php', {cpf6: cpf6 }, function(resposta) { // Quando terminada a requisiçao // Exibe a div status $("#status").slideDown(); // Se a resposta é um erro if (resposta != false) { // Exibe o erro na div $("#status").html(resposta); $("#enviar").show(); } // Se resposta for false, ou seja, nao ocorreu nenhum erro else { // Exibe mensagem de sucesso $( "#vola2" ).hide(); $( "#vola" ).show(); $("#info").html("Mensagem enviada com sucesso! <br> Verifique a caixa de entrada do seu email"); // Limpando todos os campos $("#cpf6").val(""); } }); }); </script> </script> </body> </html>
|