-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·137 lines (122 loc) · 5.89 KB
/
index.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Dashboard</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<!-- <link rel="stylesheet" href="assets/bootstrap/css/menu.css">-->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
<link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css">
<link rel="stylesheet" href="relogio.css">
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="functions.js"></script>
<script type="text/javascript">
var ip = location.host;
//alert(ip);
</script>
</head>
<body id="page-top" onload="relogio()">
<div id="wrapper">
<nav class="navbar navbar-dark align-items-start sidebar sidebar-dark accordion bg-gradient-primary p-0">
<div class="container-fluid d-flex flex-column p-0">
<a class="navbar-brand d-flex justify-content-center align-items-center sidebar-brand m-0" href="../../..">
<div class="sidebar-brand-icon"><i class="fas fa-hospital"></i></div>
<div class="sidebar-brand-text mx-3"><span>Hospital MagoPT</span></div>
</a>
<hr class="sidebar-divider my-0">
<ul class="nav navbar-nav text-light" id="accordionSidebar">
<li class="nav-item" role="presentation"><a class="nav-link active" href=""><i
class="fas fa-tachometer-alt"></i><span>Dashboard</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="senha/"><i
class="fas fa-plus-circle"></i><span>Retirar senha</span></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="adm"><i
class="fas fa-file-medical"></i><span>Administração</span></a></li>
<?php
session_start();
if (isset($_SESSION["user"])) {
$user = $_SESSION["user"];
$nome = $user['nome'];
echo "<li class='nav-item' role='presentation' onclick='logout()'><a class='nav-link' ><i class='fas fa-sign-out-alt'></i><span >Logout</span></a></li>";
}
?>
</ul>
<div class="text-center d-none d-md-inline">
<button class="btn rounded-circle border-0" id="sidebarToggle" type="button"></button>
</div>
<div class="text-center d-none d-md-inline">
<a id="relogio" class="relogio">?</a>
</div>
</div>
</nav>
<div class="d-flex flex-column"
style="align-items:center; padding-left: 55px; padding-top: 25px; border-style: dashed">
<div style="border-style: solid; font-size: xx-large">
Quadro Principal
</div>
<div class="buttons"
style="padding-inline: 5px; padding-top: 15px;font-size: 30px; align-content: center; display: inline-block">
<div style="border-style: solid; text-align:center;font-size: xx-large">
Geral
</div>
<a class="value" style="border-style: dashed"> Senhas totais:
<e class="ger_total">?</e>
</a>
<a class="value" style="border-style: solid"> Senha atual:
<e class="ger_atual">?</e>
</a>
</div>
<div class="buttons"
style="padding-inline: 5px; padding-top: 15px;font-size: 30px; align-content: center; display: inline-block">
<div style="border-style: solid; text-align:center;font-size: xx-large">
Oftalmologista
</div>
<a class="value" style="border-style: dashed"> Senhas totais:
<e class="oft_total">?</e>
</a>
<a class="value" style="border-style: solid"> Senha atual:
<e class="oft_atual">?</e>
</a>
</div>
<div class="buttons"
style="padding-inline: 5px; padding-top: 15px;font-size: 30px; align-content: center; display: inline-block">
<div style="border-style: solid; text-align:center;font-size: xx-large">
Cardiologia
</div>
<a class="value" style="border-style: dashed"> Senhas totais:
<e class="car_total">?</e>
</a>
<a class="value" style="border-style: solid"> Senha atual:
<e class="car_atual">?</e>
</a>
</div>
<div class="buttons"
style="padding-inline: 5px; padding-top: 15px;font-size: 30px; align-content: center; display: inline-block">
<div style="border-style: solid; text-align:center;font-size: xx-large">
Psicologia
</div>
<a class="value" style="border-style: dashed"> Senhas totais:
<e class="psi_total">?</e>
</a>
<a class="value" style="border-style: solid"> Senha atual:
<e class="psi_atual">?</e>
</a>
</div>
<div class="state">
<span class="users">?</span> online
</div>
<div>
<table class="ordem" style="font-size: xx-large; border-style: solid; text-align: center; vertical-align: center" id="fila">
</table>
<script> index()</script>
</div>
</div>
</div>
<a class="border rounded d-inline scroll-to-top" href="#page-top"><i class="fas fa-angle-up"></i></a>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.js"></script>
<script src="assets/js/theme.js"></script>
</body>
</html>