Initial commit of PQS
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>PQS - Player Queue</title>
|
||||
<link href="css/main.css" rel="stylesheet" type="text/css">
|
||||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
var auto_refreshqueue = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#queuediv').load('includes/getqueue.php', {combined:1});
|
||||
}, 10000);
|
||||
|
||||
var auto_currgroup = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#currqueuediv').load('includes/getcurrent.php');
|
||||
}, 10000);
|
||||
|
||||
var auto_currgroup = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#timequeue').load('includes/now.php');
|
||||
}, 10000);
|
||||
|
||||
var auto_group2 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group2').load('includes/getgroup.php', {group:2});
|
||||
}, 10000);
|
||||
|
||||
var auto_group3 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group3').load('includes/getgroup.php', {group:3});
|
||||
}, 10000);
|
||||
|
||||
var auto_group4 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group4').load('includes/getgroup.php', {group:4});
|
||||
}, 10000);
|
||||
|
||||
var auto_group5 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group5').load('includes/getgroup.php', {group:5});
|
||||
}, 10000);
|
||||
|
||||
var auto_infopanel = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$.ajax({
|
||||
url: 'includes/api.php',
|
||||
data: { call: "updateinfo" },
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
var updated = data[0];
|
||||
if (updated==1) {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('.infopanel').load('includes/infopanel.php');
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 10000);
|
||||
</script>
|
||||
</head>
|
||||
<body style='background: #000;'>
|
||||
<?php
|
||||
echo "<br><table width='94%' align='center'><tr>";
|
||||
echo "<td width='25%' align='center' valign='top'><div id='queuediv' class='queuediv16'> </div></td>";
|
||||
echo "<td width='19%' align='center' valign='top'><div id='group2' class='queuediv16'> </div></td>";
|
||||
echo "<td width='19%' align='center' valign='top'><div id='group3' class='queuediv16'> </div></td>";
|
||||
echo "<td width='19%' align='center' valign='top'><div id='group4' class='queuediv16'> </div></td>";
|
||||
echo "<td width='18%' align='center' valign='top'><div id='group5' class='queuediv16'> </div></td>";
|
||||
echo "</tr></table>";
|
||||
echo "<table width='94%' align='center'><tr>";
|
||||
echo "<td width='25%' align='center' valign='top'><div id='currqueuediv' class='queuediv4'> </div></td>";
|
||||
echo "<td width='25%' align='center' valign='top'><div id='timequeue' class='queuediv4'>";
|
||||
?>
|
||||
|
||||
<?php
|
||||
echo " </div></td>";
|
||||
echo "<td width='50%' align='center' valign='middle'><div class='infopanel'> </div></td>";
|
||||
echo "</tr></table></body></html>";
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
$('.infopanel').load('includes/infopanel.php');
|
||||
</script>
|
||||
Reference in New Issue
Block a user