-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboard.php
executable file
·49 lines (36 loc) · 1.41 KB
/
dashboard.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php session_start();
$contestdashboard = 1;
include('header.php');
$sql = "select os.contestcallsign, os.licenseclassid, op.parkid as location ";
$sql = $sql . "from ospotasettings os ";
$sql = $sql . "join ospotaparks op on op.ospotaparkid = os.parkid ";
$result = $conn->query($sql);
while($row = $result->fetch_assoc()) {
$contestcallsign = $row["contestcallsign"];
$location = $row["location"];
$licenseclassid = $row["licenseclassid"];
}
echo "<hr>";
echo "<form method=post action=bmchange.php>";
echo "<h2>Exchange: " . $contestcallsign . ", " . $location ."</h2>";
echo '<b>Local Time:</b> <input type=text value = "' . date("H:i") . '" readonly style="width: 50px"> ';
echo '<b>UTC Time: <input type=text value = "' . gmdate("H:i") . '" readonly style="width: 50px"> ';
echo '<br><br>*Page Auto-refreshes every 2 minutes';
echo "<hr>";
echo "<table border = 0>"; //Overall table for each block. One Row
echo "<tr>";
echo "<td valign = top>"; // Realtime log list
include('realtimelist.php');
echo"</td>";
echo "<td> </td>"; // Spacer
echo "<td valign = top>"; //Realtime Score
include('currentscores.php');
echo "</td>";
echo "<td> </td>"; // Spacer
echo "<td valign = top>"; // Sections worked/not worked
include('currentparks.php');
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</body></html>";
?>