initial commit
This commit is contained in:
77
website_data/html/debug_log.php
Normal file
77
website_data/html/debug_log.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html><head>
|
||||
<meta name="description" content="fet.at - abgesagte Prüfungen">
|
||||
<meta name="author" content="fet.at">
|
||||
<link href="style.css" rel="stylesheet" type="text/css">
|
||||
<meta charset="UTF-8">
|
||||
<title>fet.at - Lab Doorknob</title>
|
||||
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function Ajax()
|
||||
{
|
||||
var
|
||||
$http,
|
||||
$self = arguments.callee;
|
||||
|
||||
if (window.XMLHttpRequest) {
|
||||
$http = new XMLHttpRequest();
|
||||
} else if (window.ActiveXObject) {
|
||||
try {
|
||||
$http = new ActiveXObject('Msxml2.XMLHTTP');
|
||||
} catch(e) {
|
||||
$http = new ActiveXObject('Microsoft.XMLHTTP');
|
||||
}
|
||||
}
|
||||
|
||||
if ($http) {
|
||||
$http.onreadystatechange = function()
|
||||
{
|
||||
if (/4|^complete$/.test($http.readyState)) {
|
||||
document.getElementById('ReloadThis').innerHTML = $http.responseText;
|
||||
setTimeout(function(){$self();}, 1000);
|
||||
}
|
||||
};
|
||||
$http.open('GET', 'get_debug_log.php?lines=20' + '&time=' + new Date().getTime(), true);
|
||||
$http.send(null);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script>0</script>
|
||||
<div class="breitenbegrenzer">
|
||||
<div class="centertext">
|
||||
<big><big>Sarah <br>DEBUG LOG</big></big><br>
|
||||
<a href="/">
|
||||
<img src="FET-Logo.png" height="100px">
|
||||
<br>
|
||||
HOME</a>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
|
||||
Hier wird live das debug log angezeigt. <br><br>
|
||||
|
||||
|
||||
Debug log:<br>
|
||||
<script type="text/javascript">
|
||||
setTimeout(function() {Ajax();}, 1000);
|
||||
</script>
|
||||
<div id="ReloadThis">Default text</div>
|
||||
|
||||
<div class="centertext">
|
||||
|
||||
<br><br><br>
|
||||
<a href="https://www.fet.at/kontakt">Kontakt</a> <br>fet.at - 2022
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user