/
relAtendidos.html
59 lines (42 loc) · 1.17 KB
/
relAtendidos.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
<DOCTYPE html>
<html>
<head>
<title>Relatório - Atendidos</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/agendados.css">
<link rel="stylesheet" type="text/css" href="css/tabela.css">
</head>
<body>
<div class="container"></div>
<header>
<h3 align="center"> +Psico -Pacientes Agendados </h1>
</header>
<hr>
<ul>
<li><a class="active" href="principal.php">Home</a></li>
<li><a href="agendados.html">Agendados</a></li>
<li><a href="">Relatórios</a> </li>
<li><a href="index.php">Sair</a></li>
</ul>
<hr>
<div id="info"></div>
<center><button onclick="atualizar()" class="button agend">Atualizar</button></center>
<script type="text/javascript">
var resultado = document.getElementById("info");
function atualizar(){
var xmlhttp;
if(window.XMLHttpRequest){
xmlhttp = new XMLHttpRequest();
}
xmlhttp.onreadystatechange=function(){
if(this.readyState==4 && this.status ==200){
resultado.innerHTML= this.responseText;
}
}
xmlhttp.open("GET","servidor.php",true);
xmlhttp.send();
}
</script>
<footer><center>Copyright © - Desenvolvido por @Vasconcellos </center></footer>
</body>
</html>