-
Notifications
You must be signed in to change notification settings - Fork 0
/
fichabuscaprocedimento.php
executable file
·86 lines (68 loc) · 3.12 KB
/
fichabuscaprocedimento.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
<!-- INCLUI O INICIO DO ARQUIVO -->
<? include ("header.php"); ?>
<script>
//function zerar() {
// document.getElementById("divcpf").className = "input-control text";
// document.getElementById("divnome").className = "input-control text";
// document.getElementById("salvapaciente").reset();
//}
function valida(form) {
if (form.codigo.value=="") {
alert("Código de Autorização não informado!!");
document.getElementById("divcodigo").className = "input-control text size2 error-state";
form.codigo.focus();
return false;
}
if (form.codigo.value!="") {
document.getElementById("divcodigo").className = "input-control text size2";
}
};
</script>
<!-- INICIO DO ARQUIVO -->
<body class="metro">
<br>
<img src="imagens/photo1.jpg" />
<center><img src="imagens/principal1.png" /></center>
<br><br>
<div class="grid">
<div class="row">
<? include ("menu.php"); ?>
<div class="span1"></div>
<div class="span10">
<form method="POST" onsubmit="return valida(this);" action="fichaprocedimento.php" name="buscaautorizacao" id="buscaautorizacao">
<div class="buscarficha">
<div class="tab-control" data-role="tab-control">
<ul class="tabs">
<li class="active"><a href="#_page_1">Buscar Autorização</a></li>
</ul>
<div class="frames">
<div class="frame" id="_page_1">
<label>Autorização</label>
<div class="input-control text size2" id="divcodigo" data-role="input-control">
<input type="text" id="codigo" name="codigo" placeholder="Número">
</div>
<center>
<button type="submit" class="image-button primary image-left">
Buscar
<i class="icon-search on-left" style="top: -3px; left: 7px">
</i>
</button>
<!--<button type="button" onclick="zerar();" class="image-button danger image-left">
Limpar
<i class="icon-spin on-left" style="top: -2px; left: 7px">
</i>
</button>-->
</center>
</div>
</div>
</div>
</div>
</form>
</div>
<br>
</div>
</div>
</body>
<!-- FIM DO ARQUIVO -->
<!-- INCLUI O FIM DO ARQUIVO -->
<? include ("footer.php"); ?>