-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·51 lines (45 loc) · 1.21 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
<head>
<script src="https://gt3ch1.tk/js/1jquery.js"></script>
<script>
function getData(sys){
var xhttp = new XMLHttpRequest();
var test = document.getElementById(sys).name;
var info="status="+sys;
xhttp.open("GET", "submit.php?"+info, true);
console.log("sending");
console.log(info);
xhttp.send();
}
function update(){
$("#data").load("check.php");
}
$( document ).ready(function() {
setInterval(function(){
$("#data").load("check.php");
}, 2500);
});
</script>
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3.css">
<link href="style.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
<style>
.btn{
float:none!important;
}
</style>
<div style="position:fixed;top:0;left:0;">
<a href="../.." class="w3-btn w3-hover-pink" style="float: left">Home</a>
</div>
<center>
<?php if($_GET['error']=="perm"){
?>
<br>
<span id="alert" style="padding: 16px;"class="w3-gray w3-card-4">Error: Permission deined.</span>
<?php }
?>
<div id="data">
<?php include 'check.php'; ?>
</div>
</center>
</body>