-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrong_password.html
139 lines (111 loc) · 4.16 KB
/
wrong_password.html
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
<!DOCTYPE html>
<html lang="pt-BR" >
<head>
<title>DotPet</title>
<meta charset="utf-8">
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="logo\.Pet favicon.png" type="image/png"/>
<link rel="stylesheet" href="css/stylesheet.css" type="text/css" charset="utf-8" />
<script language="JavaScript" >
function enviardados(){
if(document.dados.tx_nome.value=="" || document.dados.tx_nome.value.length < 8)
{
alert( "Usuário incorreto ou vazio, favor verifique e tente novamente!" );
document.dados.tx_nome.focus();
return false;
}
if( document.dados.tx_email.value=="" )
{
alert( "Por favor, insire sua senha!!" );
document.dados.tx_email.focus();
return false;
}
if (document.dados.tx_email.value.length < 8 || document.dados.tx_email.value.length >16)
{
alert("Senha incorreta! Lembre-se que sua senha cadastrada possui de 8 à 16 caracteres.");
document.dados.tx_email.focus();
return false;
}
return true;
}
mybutton = document.getElementById("topo");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
}
</script>
</head>
<body>
<div style="background-color: ghostwhite;background-image: url(img/testdog_new.png); background-repeat: no-repeat;background-size: cover; position: relative; left: 5px;top: 5px;height: 600px;">
<a ref="" class="logo" style="position: absolute; top: 15px; left: 15px;"><strong>Dot</strong><span>Pet</span></a>
<li><img src='logo/white%20logo.png' style="position: absolute; top:300px;left: 100px;"></li>
</div>
<center>
<div style="position: absolute;top: 200px; left: 600px;background-color: ghostwhite; border: 10px solid #F8F8FF; border-radius: 20px;">
<h3>Senha Não Cadastrada ou incorreta !!!.</h3>
<h5>Para Efetuar o cadastro, pressione o botão Cadastre-se Abaixo:</h5>
</div></center>
<div id="id01" class="modal">
<form action="logincheck.php" method="post" name="dados" class='modal-content animate' >
<table align="center" style="color: white">
<tr>
<td>Usuário:</td>
<td>
<input name="tx_user" type="text" class="formbutton" id="tx_user" size="52" maxlength="150">
</td>
</tr>
<tr>
<td>Senha:</td>
<td> <input name="tx_senha" type="password" id="tx_senha" size="52" maxlength="150">
</td>
</tr>
<tr>
<td></td>
<td>
<input name="Submit" type="submit" class="button" value="ADOÇÃO">
<input name="Reset" type="reset" class="button" value="Limpar">
<center><a href="passwdreset.html">Recuperar sua senha.</a></center>
</td>
</tr>
</table>
</form>
</div>
<div class="banner">
<img src="logo/banner_icon.png" width="40%" style="position: absolute;left: 25%; top: 10%; opacity: 0.25">
<center class="ban_text">
<h3>Ainda não possui cadastro?</h3>
<h2>Inscreva-se <a href="signup.html">aqui</a>!</h2>
</center>
</div>
<footer style="position: absolute;bottom: -400px;">
<div class="navbar">
<a>Mapa do site</a>
<a href="index.html" class="active">Página Inicial</a>
<a href="passwdreset.html">Recuperação de Conta</a>
<a href="signup.html">Cadastre-se</a>
<a onclick="document.getElementById('id01').style.display='block'">Login</a>
<a id="topo" onclick="topFunction()">Voltar para o topo</a>
</div>
</footer>
<script>
// Get the modal
var modal = document.getElementById('id01');
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
</body>
</html>