annotate show.php @ 1069:5f92fa5e683a

Refactor how the "AJAX" stuff works.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 17:25:48 +0200
parents 511147c1e119
children 76e11ae923a7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 //
571
ce11ea112a65 Change the header blurb a bit.
Matti Hamalainen <ccr@tnsp.org>
parents: 565
diff changeset
3 // FAPWeb - Simple Web-based Demoparty Management System
136
aeebfedb5709 Add some copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents: 132
diff changeset
4 // Party information display system
1001
ffacd904fd1f Update copyrights.
Matti Hamalainen <ccr@tnsp.org>
parents: 989
diff changeset
5 // (C) Copyright 2012-2015 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 //
175
8df523e6326a User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents: 174
diff changeset
7 require_once "mconfig.inc.php";
8df523e6326a User require_once instead of require.
Matti Hamalainen <ccr@tnsp.org>
parents: 174
diff changeset
8 require_once "msite.inc.php";
383
2c61dc1e659d Add missing include.
Matti Hamalainen <ccr@tnsp.org>
parents: 342
diff changeset
9 require_once "msession.inc.php";
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10
736
e1d5c3e19930 Work a bit on the party info display code.
Matti Hamalainen <ccr@tnsp.org>
parents: 731
diff changeset
11 $pageCSS = "css/show.css";
180
a3f0f2a3551a Split stylesheets into separate files for different platforms and also split
Matti Hamalainen <ccr@tnsp.org>
parents: 175
diff changeset
12
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 stSetupCacheControl();
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14
1069
5f92fa5e683a Refactor how the "AJAX" stuff works.
Matti Hamalainen <ccr@tnsp.org>
parents: 1065
diff changeset
15 cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM",
5f92fa5e683a Refactor how the "AJAX" stuff works.
Matti Hamalainen <ccr@tnsp.org>
parents: 1065
diff changeset
16 " <script type=\"text/javascript\" src=\"showajax.js.php\"></script>\n".
5f92fa5e683a Refactor how the "AJAX" stuff works.
Matti Hamalainen <ccr@tnsp.org>
parents: 1065
diff changeset
17 " <script type=\"text/javascript\" src=\"genajax.js\"></script>\n", FALSE);
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 ?>
126
71c35d5302c2 More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents: 125
diff changeset
19
125
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
146
672c7f28fb97 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 145
diff changeset
31 <div class="showView" id="mainView"></div>
126
71c35d5302c2 More work on cleanups, and AJAX modularization.
Matti Hamalainen <ccr@tnsp.org>
parents: 125
diff changeset
32
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 <?
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 cmPrintPageFooter(FALSE);
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 ?>