Initial commit of PQS
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
<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_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_group6 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group6').load('includes/getgroup.php', {group:6});
|
||||
}, 10000);
|
||||
|
||||
var auto_group7 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group7').load('includes/getgroup.php', {group:7});
|
||||
}, 10000);
|
||||
|
||||
var auto_group8 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group8').load('includes/getgroup.php', {group:8});
|
||||
}, 10000);
|
||||
|
||||
var auto_group9 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group9').load('includes/getgroup.php', {group:9});
|
||||
}, 10000);
|
||||
|
||||
var auto_group10 = setInterval(function() {
|
||||
$.ajaxSetup({ cache: false });
|
||||
$('#group10').load('includes/getgroup.php', {group:10});
|
||||
}, 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='20%' align='center' valign='top'><div id='group6' class='queuediv16'> </div></td>";
|
||||
echo "<td width='20%' align='center' valign='top'><div id='group7' class='queuediv16'> </div></td>";
|
||||
echo "<td width='20%' align='center' valign='top'><div id='group8' class='queuediv16'> </div></td>";
|
||||
echo "<td width='20%' align='center' valign='top'><div id='group9' class='queuediv16'> </div></td>";
|
||||
echo "<td width='20%' align='center' valign='top'><div id='group10' 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