-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtryscore.php
More file actions
78 lines (70 loc) · 2.01 KB
/
tryscore.php
File metadata and controls
78 lines (70 loc) · 2.01 KB
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
<?php include ('header.inc.php');?>
<div class="style29" style="width:240px; float:left;">
<?php include ('left.php');?>
</div>
<script>
function update_today() {
$("#notice_div").html('Loading..');
$.ajax({
type: 'GET',
url: 'tryscore-today.php',
timeout: 2000,
success: function(data) {
$("#reload_today").html(data);
//$("#notice_div").html('');
window.setTimeout(update_today, 100000);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
// $("#notice_div").html('Timeout contacting server..');
window.setTimeout(update_today, 100000);
}
});
}
function update_yesday() {
$("#notice_div").html('Loading..');
$.ajax({
type: 'GET',
url: 'tryscore-yesday.php',
timeout: 2000,
success: function(data) {
$("#reload_yesday").html(data);
//$("#notice_div").html('');
window.setTimeout(update_yesday, 100000);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
// $("#notice_div").html('Timeout contacting server..');
window.setTimeout(update_yesday, 100000);
}
});
}
$(document).ready(function(){
update_today();
update_yesday();
});
</script>
<style type="text/css">
<!--
.style68 {font-size: 12px; font-family: Tahoma; color: #CCCCCC; }
-->
</style>
<div style="width:790px; float:right; ">
<div id="reload_today">
<div align="center"><br />
<br />
<img src="images/loading-bar.gif" width="192" height="12" /> <br />
<span class="style29">กำลังโหลดทายผลบอล </span><br />
<br />
<br />
</div>
</div>
<div id="reload_yesday">
<div align="center"><br />
<br />
<img src="images/loading-bar.gif" width="192" height="12" /> <br />
<span class="style29">กำลังโหลดทายผลบอล </span><br />
<br />
<br />
</div>
</div>
</div>
<?php include('footer.inc.php');?>