-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
206 lines (189 loc) · 9.05 KB
/
index.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<?php
/**
* Include set of functions for use in this site
*/
include_once 'functions.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php include 'pageTitle.html'; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta http-equiv="refresh" content="30">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="stylesheet.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<div class="w3-container page-container">
<!-- Page Title Section -->
<?php echo sectionInclude("pageTitle.html", "page-title"); ?>
<!-- Event Title Section -->
<?php //echo sectionInclude("files/eventName.html", "event-title"); ?>
<?php echo eventTitleInclude("files/eventName.html", "event-title"); ?>
<!-- Sponsorship Section -->
<?php echo sectionInclude("sponsors.html", "sponsors"); ?>
<!-- Event Supplementals Section -->
<?php echo sectionLinkInclude("files/EventSupplementals.pdf", "event-supplementals", "Event Supplementals and Schedule"); ?>
<!-- Live Audio Section -->
<?php echo sectionLinkInclude("files/liveaudio.html", "audio-broadcast", "Click here for live audio broadcast"); ?>
<!-- FM Channel Section -->
<?php
/**
* If a number other than 0 was set in functions.php, show a line on the website indicating what frequency is in use
*/
if ($fmChannel != 0)
{
echo '<div class="w3-panel w3-center fm-channel">';
echo 'Local Site FM Channel: '.$fmChannel.'';
echo '</div>';
}
?>
<!-- Run Ticker Section -->
<?php echo sectionInclude("files/RunTickerTable.php", "w3-responsive run-ticker"); ?>
<!-- Class Links Section -->
<div class="w3-panel w3-center classes">
<div class="w3-padding panel-heading">CLASSES</div>
<div class="w3-padding scroll">SCROLL -></div>
<?php
if ($horizontalClasses)
{
include 'classes-horizontal.php';
}
else
{
include 'classes-vertical.php';
}
?>
</div>
<!-- PAX Times Section -->
<div class="w3-panel w3-center w3-responsive pax">
<table id="tblPax" class="w3-table w3-striped w3-border w3-bordered w3-centered data-table">
<thead>
<tr class="panel-heading">
<th colspan="3">
PAX
</th>
</tr>
</head>
<tbody>
<tr>
<td>
<?php echo tableFileExists("PaxIndexDay1.html", "PAX Day 1"); ?>
</td>
<td>
<?php echo tableFileExists("PaxIndexDay2.html", "PAX Day 2"); ?>
</td>
<td>
<?php echo tableFileExists("PaxIndexOverall.html", "PAX Overall"); ?>
</td>
</tr>
</tbody>
</table>
</div>
<!-- RAW Times Section -->
<div class="w3-panel w3-center w3-resposive raw">
<table id="tblRaw" class="w3-table w3-striped w3-border w3-bordered w3-centered data-table">
<thead>
<tr class="panel-heading">
<th align="center" colspan="3">
RAW
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php echo tableFileExists("RawDay1.html", "RAW Day 1"); ?>
</td>
<td>
<?php echo tableFileExists("RawDay2.html", "RAW Day 2"); ?>
</td>
<td>
<?php echo tableFileExists("RawOverall.html", "RAW Overall"); ?>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Novice Times Section -->
<div class="w3-panel w3-center w3-resposive raw">
<table id="tblRaw" class="w3-table w3-striped w3-border w3-bordered w3-centered data-table">
<thead>
<tr class="panel-heading">
<th align="center" colspan="3">
Novice
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php echo tableFileExists("NoviceIndexDay1.html", "Novice Day 1"); ?>
</td>
<td>
<?php echo tableFileExists("NoviceIndexDay2.html", "Novice Day 2"); ?>
</td>
<td>
<?php echo tableFileExists("NoviceIndexOverall.html", "Novice Overall"); ?>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Run/Work Order Section -->
<div class="w3-panel w3-center run-order">
<?php include 'runOrder.php'; ?>
</div>
<!-- Copyright Section -->
<div class="w3-panel w3-center copyright">
<table class="w3-table w3-centered">
<tbody>
<tr>
<td>
<b>Timing and Live Results, Powered by:</b>
</td>
</tr>
<tr>
<td>
<a href="https://www.ProntoTimingSystem.com">
<img src="https://www.ProntoTimingSystem.com/ProntoLogo.jpg" width="270" height="110">
</a>
</td>
</tr>
<tr>
<td>
<a href="https://www.ProntoTimingSystem.com">www.ProntoTimingSystem.com</a>
</td>
</tr>
<tr>
<td>
OFFICIAL Timing System of the SCCA National Solo Program
</td>
</tr>
<tr>
<td>
<b>Available for your region</b>
</td>
</tr>
<tr>
<td>
<a href="https://www.prontotimingsystem.com/"><font face="Arial" size="-2">Copyright © Pronto Timing System 2007-2023 All Rights Reserved.</font></a>
</td>
</tr>
<tr>
<td>
<font face="Arial" size="-2">No part of this website may be copied or reporoduced without Pronto Timing System's and IndySCCA's written consent.</font>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>