Mercurial > hg > fapweb
annotate show.php @ 144:c030c3cf0d80
More work on display system.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 23 Oct 2013 01:42:21 +0300 |
parents | d2e9285b69ad |
children | 66b485431cac |
rev | line source |
---|---|
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
1 <? |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
2 // |
136
aeebfedb5709
Add some copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents:
132
diff
changeset
|
3 // FAPWeb Simple Demoparty System |
aeebfedb5709
Add some copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents:
132
diff
changeset
|
4 // Party information display system |
aeebfedb5709
Add some copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents:
132
diff
changeset
|
5 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP) |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
6 // |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
7 require "mconfig.inc.php"; |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
8 require "msite.inc.php"; |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
9 require "mcommon.inc.php"; |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
10 require "majax.php"; |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
11 |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
12 stSetupCacheControl(); |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
13 |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
14 cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", "", FALSE); |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
15 stCommonAJAX("showajax.php", "show.php", TRUE); |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
16 ?> |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
17 |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
18 <!-- ========================== --> |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
19 |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
20 <noscript> |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
21 <div class="notice"> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
22 <h1>Javascript required</h1> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
23 <p> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
24 The compo system page requires Javascript to be enabled for the AJAX functionality. |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
25 <br /> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
26 <a href="#">Please enable Javascript and reload this page</a>. |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
27 </p> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
28 </div> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
29 </noscript> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
30 |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
31 <div class="showView" id="mainView0"></div> |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
32 <div class="showView" id="mainView1"></div> |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
33 |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
34 <!-- ========================== --> |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
35 |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
36 <script type="text/javascript"> |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
37 |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
38 var failCount = 0; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
39 var prevView = -1, activeView = 0; |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
40 var activeSlide = -1, activeSlideMode = -1; |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
41 var errorView = false; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
42 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
43 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
44 function tickAnim() |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
45 { |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
46 if (activeView != prevView) |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
47 { |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
48 document.getElementById("mainView0").style.display = (activeView == 0) ? "block" : "none"; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
49 document.getElementById("mainView1").style.display = (activeView == 1) ? "block" : "none"; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
50 prevView = activeView; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
51 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
52 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
53 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
54 |
142
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
55 function updateView(txt) |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
56 { |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
57 var view = document.getElementById("mainView"+ activeView); |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
58 if (view) |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
59 { |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
60 view.innerHTML = txt; |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
61 } |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
62 } |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
63 |
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
64 |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
65 function displayError() |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
66 { |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
67 // Increase failure count |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
68 if (++failCount > 5 && !errorView) |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
69 { |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
70 errorView = true; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
71 updateView("... error ..."); |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
72 } |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
73 } |
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
74 |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
75 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
76 // |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
77 // Update view when triggered by main tick |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
78 // |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
79 function viewChanged() |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
80 { |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
81 var msuccess3 = function(txt) |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
82 { |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
83 // Successfully fetched new data, initiate view update |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
84 updateView(txt); |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
85 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
86 |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
87 var msuccess2 = function(txt) |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
88 { |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
89 activeSlide = txt; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
90 sendPOSTRequest("action=get&type=slide", msuccess3, displayError); |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
91 } |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
92 |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
93 var msuccess1 = function(txt) |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
94 { |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
95 activeSlideMode = txt; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
96 sendPOSTRequest("action=get&type=activeSlide", msuccess2, displayError); |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
97 } |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
98 |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
99 sendPOSTRequest("action=get&type=activeSlideMode", msuccess1, displayError); |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
100 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
101 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
102 |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
103 // |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
104 // Main tick function, check for updates from server |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
105 // |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
106 var timeOutSet = false; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
107 |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
108 function tickMain() |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
109 { |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
110 timeOutSet = false; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
111 |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
112 var msuccess = function(txt) |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
113 { |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
114 failCount = 0; |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
115 if (txt == "changed") |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
116 { |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
117 viewChanged(); |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
118 if (!timeOutSet) |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
119 { |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
120 setTimeout("tickMain();", 500); |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
121 timeOutSet = true; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
122 } |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
123 } |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
124 else |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
125 { |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
126 if (!timeOutSet) |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
127 { |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
128 setTimeout("tickMain();", 2000); |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
129 timeOutSet = true; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
130 } |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
131 } |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
132 } |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
133 |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
134 var mfail = function(txt) |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
135 { |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
136 displayError(); |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
137 if (!timeOutSet) |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
138 { |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
139 setTimeout("tickMain();", 5000); |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
140 timeOutSet = true; |
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
141 } |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
142 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
143 |
144
c030c3cf0d80
More work on display system.
Matti Hamalainen <ccr@tnsp.org>
parents:
142
diff
changeset
|
144 sendPOSTRequest("action=check&activeSlide="+activeSlide+"&activeSlideMode="+activeSlideMode, msuccess, mfail); |
132
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
145 } |
0436079bcf46
Some preliminary work on the compo system.
Matti Hamalainen <ccr@tnsp.org>
parents:
126
diff
changeset
|
146 |
139
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
147 setTimeout("tickMain();", 1000); |
75cf14ee99a7
More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents:
136
diff
changeset
|
148 setInterval("tickAnim();", 25); |
142
d2e9285b69ad
More work on the party info system.
Matti Hamalainen <ccr@tnsp.org>
parents:
139
diff
changeset
|
149 viewChanged(); |
126
71c35d5302c2
More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
125
diff
changeset
|
150 |
125
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
151 </script> |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
152 <? |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
153 cmPrintPageFooter(FALSE); |
f364b50e07f7
Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff
changeset
|
154 ?> |