Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
martinius96 authored Nov 6, 2020
1 parent f7c8f06 commit 7dcfcb7
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions vykurovanie-online/system/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,14 @@
<!-- Javascript -->
<script>
$(function() {
$.get('get_tabulka.php', function(data){
$('#tabulka').html(data)
});
$.get('logika.php', function(data){
$('#logika').text(data)
});
$.get('logika.php', function(data){
$('#logika').text(data)
});
$.get('get_tabulka.php', function(data){
$('#tabulka').html(data)
});
});
</script>
<script>
setInterval(function(){
$.get('get_tabulka.php', function(data){
$('#tabulka').html(data)
});
$.get('logika.php', function(data){
$('#logika').text(data)
});
},15000);
</script>
</html>
<?php }else{
header("Location: ../index.php");
Expand Down

0 comments on commit 7dcfcb7

Please sign in to comment.