-
Notifications
You must be signed in to change notification settings - Fork 0
/
usuario.html
57 lines (56 loc) · 1.67 KB
/
usuario.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
<HTML>
<HEAD>
<TITLE>EMAILESENHA</TITLE>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<SCRIPT LANGUAGE="JAVASCRIPT">
FUNCTION VERIFICA(){
VAR NOME = DOCUMENT.FCADASTRAR.FNOME.VALUE;
VAR NOME = DOCUMENT.FPESQUISAR.FSENHA.VALUE;
VAR RET = FALSE;
//OPERADOR LOGICO OU E REPRESENTADO POR || EM JAVASCRIPT
IF (NOME == "" || SENHA == "1234"){
ALERT("PREENCHA OS CAMPOS \N NOME E SENHA.")
}ELSE{
ALERT ("O FORMULARIO SERA ENVIADO!")
RET = TRUE;
}
RETURN (RET);
}
</SCRIPT>
</HEAD>
<BODY>
<table width = 100% height = 20% border = "4" bgcolor = "#006600" bordercolor = yellow>
<td>
<div align="center">
<font size="10" color = white ><b>HOME WAA LOCADORA </b>
</font>
</div>
</td>
<table width =100% height =80% border = "4" bordercolor = yellow bgcolor = "#00FFCC">
<td>
<div align="center"class="center"><font color=green size="6" ><b>SEJA BEM VINDO!!! </b></p>
</font>
<BR>
<CENTER>
<FORM METHOD=POST ACTION="HOME.HTML" NAME="FENVIAR" ONSUBMIT="RETURN(VERIFICA())">
<div>
<ul id="botao">
<li>
<a href="CAD_USUARIO.html"title="meu link"><p align="center">
<font size="3" color = white >CADASTRAR
<ul id="botao">
<li>
<a href="pesquisar_usuario.html"title="meu link"><p align="center">
<font size="3" color = white >PESQUISAR
</a></p>
</font>
</div>
</li>
</ul>
</DIV>
</FORM>
</CENTER>
</td>
</BODY>
</HTML>