2016-09-11 23:00:43 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<!-- Standard-Panel-Inhalt -->
|
|
|
|
<div class="panel-heading">Currently TXing</div>
|
|
|
|
<!-- Tabelle -->
|
2016-10-26 09:46:15 +02:00
|
|
|
<div class="table-responsive">
|
2016-09-11 23:00:43 +02:00
|
|
|
<table id="currtx" class="table table-condensed table-striped table-hover">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-11-03 21:21:58 +01:00
|
|
|
<th>Time (<?php echo TIMEZONE;?>)</th>
|
2016-09-11 23:00:43 +02:00
|
|
|
<th>Mode</th>
|
|
|
|
<th>Callsign</th>
|
|
|
|
<?php
|
|
|
|
if (defined("ENABLEXTDLOOKUP")) {
|
|
|
|
?>
|
|
|
|
<th>Name</th>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<th>DSTAR-ID</th>
|
|
|
|
<th>Target</th>
|
|
|
|
<th>Source</th>
|
2016-09-15 21:49:48 +02:00
|
|
|
<th>TX-Time</th>
|
2016-09-11 23:00:43 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2016-09-13 21:36:42 +02:00
|
|
|
<tbody id="txline">
|
2016-09-15 20:30:41 +02:00
|
|
|
</tbody>
|
2016-09-11 23:00:43 +02:00
|
|
|
</table>
|
2016-10-26 09:46:15 +02:00
|
|
|
</div>
|
2016-09-11 23:00:43 +02:00
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function doXMLHTTPRequest(scriptname, elem) {
|
2017-01-10 15:04:51 +01:00
|
|
|
var xmlhttp;
|
|
|
|
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
|
|
|
|
xmlhttp=new XMLHttpRequest();
|
|
|
|
} else {// code for IE6, IE5
|
|
|
|
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
|
|
|
}
|
|
|
|
xmlhttp.onreadystatechange=function() {
|
|
|
|
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
|
|
|
|
document.getElementById(elem).innerHTML=xmlhttp.responseText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
xmlhttp.open("GET",scriptname,true);
|
|
|
|
xmlhttp.send();
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
|
2016-10-09 22:34:09 +02:00
|
|
|
function refreshMode() {
|
2017-01-10 15:04:51 +01:00
|
|
|
doXMLHTTPRequest("ajax.php?section=mode","mode");
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var transmitting = false;
|
|
|
|
function loadXMLDoc() {
|
2017-01-10 15:04:51 +01:00
|
|
|
var xmlhttp;
|
|
|
|
if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
|
|
|
|
xmlhttp=new XMLHttpRequest();
|
|
|
|
} else {// code for IE6, IE5
|
|
|
|
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
|
|
|
|
}
|
|
|
|
xmlhttp.onreadystatechange=function() {
|
|
|
|
if (xmlhttp.readyState==4 && xmlhttp.status==200) {
|
|
|
|
document.getElementById("txline").innerHTML=xmlhttp.responseText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
xmlhttp.open("GET","txinfo.php",true);
|
|
|
|
xmlhttp.send();
|
2016-09-11 23:00:43 +02:00
|
|
|
|
2017-01-10 15:04:51 +01:00
|
|
|
var timeout = window.setTimeout("loadXMLDoc()", 1000);
|
|
|
|
refreshMode();
|
2016-09-11 23:00:43 +02:00
|
|
|
}
|
|
|
|
loadXMLDoc();
|
|
|
|
</script>
|