Files
PQS/genconqueue.php
2026-07-01 10:59:51 -05:00

114 lines
3.9 KiB
PHP

<html>
<head>
<title>PQS - Extended 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});
}, 30000);
var auto_refreshtimer = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#mechpods').load('includes/mechpods.php');
}, 30000);
var auto_currgroup = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#currqueuediv').load('includes/getcurrent.php');
}, 30000);
var auto_group2 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group6').load('includes/getgroup.php', {group:6});
}, 30000);
var auto_group2 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group7').load('includes/getgroup.php', {group:7});
}, 30000);
var auto_group3 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group8').load('includes/getgroup.php', {group:8});
}, 30000);
var auto_group4 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group9').load('includes/getgroup.php', {group:9});
}, 30000);
var auto_group5 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group10').load('includes/getgroup.php', {group:10});
}, 30000);
var auto_group2 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group11').load('includes/getgroup.php', {group:11});
}, 30000);
var auto_group2 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group12').load('includes/getgroup.php', {group:12});
}, 30000);
var auto_group3 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group13').load('includes/getgroup.php', {group:13});
}, 30000);
var auto_group4 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group14').load('includes/getgroup.php', {group:14});
}, 30000);
var auto_group5 = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#group15').load('includes/getgroup.php', {group:15});
}, 30000);
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');
}
}
});
}, 30000);
var auto_currgroup = setInterval(function() {
$.ajaxSetup({ cache: false });
$('#timequeue').load('includes/now.php');
}, 30000);
</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='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group7' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group8' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group9' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group10' class='smallqueuediv3'>&nbsp;</div></td>";
echo "</tr></table>";
echo "<table width='94%' align='center'><tr>";
echo "<td width='20%' align='center' valign='top'><div id='group11' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group12' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group13' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='group14' class='smallqueuediv3'>&nbsp;</div></td>";
echo "<td width='20%' align='center' valign='top'><div id='timequeue' class='smallqueuediv3'>&nbsp;</div></td>";
echo "</tr></table></body></html>";
?>
<script type="text/javascript">
$('.infopanel').load('includes/infopanel.php');
</script>