forked from tomihuj/RFID-otvaranie-dveri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
odobrat.php
81 lines (72 loc) · 2.88 KB
/
odobrat.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
<?php
$stranka = "Odobrat";
?>
<!DOCTYPE html>
<html lang="en">
<?php
include("connect.php");
?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Webové rozhranie RFID vrátnika pre odobratie karty zo systému pre znefunkčnenie už overenej karty.">
<meta name="keywords" content="rfid, vrátnik, dochádzka, systém, overenie, otvorenie, dvere, solenoid, relé, esp8266, nodemcu, jazýček, kľučka">
<meta name="author" content="Martin Chlebovec">
<meta name="robots" content="index, follow">
<title>RFID vrátnik - ESP8266 - Odobratie karty</title>
<link rel="icon" type="image/png" href="https://i.nahraj.to/f/2g8C.png" />
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript">
window.smartlook||(function(d) {
var o=smartlook=function(){ o.api.push(arguments)},h=d.getElementsByTagName('head')[0];
var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';
c.charset='utf-8';c.src='https://rec.smartlook.com/recorder.js';h.appendChild(c);
})(document);
smartlook('init', 'db50efe9fff280a17db52b82be221240cbbd3dbe');
</script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top">
<div class="container">
<a class="navbar-brand" href="index.php">Webaplikácia - RFID vrátnik cez ESP8266</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<?php
include("menu.php");
?>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<div class="alert alert-success">
<strong>Verzia zdarma</strong> Vytvoril: <a href="https://www.facebook.com/martin.s.chlebovec">Martin Chlebovec</a>
</div>
<center><b>Posledných 5 interakcií</b></center>
<div id="last5"></div>
<b>Autorizované karty</b>
<div id="aut"></div>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
<script>
setInterval(function(){
$.get('last5.php', function(data){
$('#last5').html(data)
});
$.get('autorizovaneodobrat.php', function(data){
$('#aut').html(data)
});
},800);
</script>
</html>