-
Notifications
You must be signed in to change notification settings - Fork 0
/
live.php
62 lines (50 loc) · 1.58 KB
/
live.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
<?php
$title = 'Live Match';
include('template/header-live.php');
// Include page js
// are we in dev or prod?
if(DEBUG) {
$scripts[] = $js . 'dev/live.js?v=' . $version;
} else {
$scripts[] = $js . 'live.min.js?v=' . $version;
}
?>
<div class="container">
<div class="pull-right">
<a href="<?php echo $base_url; ?>" class="btn btn-default"><i class="fa fa-home"></i> Return Home</a>
</div><!-- /.pull-right -->
<h1 class="page-header">
Live Match
<small id="time" class="display-none">
Match Time:
<span class="hours">00</span>:<span class="minutes">00</span>:<span class="seconds">00</span>
</small>
</h1>
<div id="live-loader" class="jumbotron margin-b-0">
<div id="live-checker">
<i class="fa fa-refresh"></i> Retry
</div><!-- /#live-checker -->
<div id="live-loader-text">
Looking for a live match<div class="loading-dots">...</div>
</div><!-- /#live-loader-text -->
</div><!-- /#live-loader -->
<div id="table-tennis" class="display-none">
<div id="pong-ball"></div>
<div id="center-stripe"></div>
<div id="player1" class="side pull-left">
<div class="player"></div>
<div class="score">0</div>
<div class="player-msg"></div>
</div><!-- /#player1 -->
<div id="net" class="pull-left"></div><!-- /#net -->
<div id="player2" class="side pull-right">
<div class="player"></div>
<div class="score">0</div>
<div class="player-msg"></div>
</div><!-- /#player2 -->
<div class="clearfix"></div>
</div><!-- /#table-tennis -->
</div><!-- /.container -->
<?php
include('template/footer.php');
?>