annotate show.php @ 1065:511147c1e119

Move some of the show.php javascript code to show.js.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 13:13:48 +0200
parents f188caaedf0f
children 5f92fa5e683a
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";
384
357b81e39ab3 Rename majax.php -> majax.inc.php.
Matti Hamalainen <ccr@tnsp.org>
parents: 383
diff changeset
10 require_once "majax.inc.php";
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11
736
e1d5c3e19930 Work a bit on the party info display code.
Matti Hamalainen <ccr@tnsp.org>
parents: 731
diff changeset
12 $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
13
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 stSetupCacheControl();
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15
139
75cf14ee99a7 More work on party information system.
Matti Hamalainen <ccr@tnsp.org>
parents: 136
diff changeset
16 cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", "", FALSE);
731
4ac3d5f07178 Remove function argument that no longer exists.
Matti Hamalainen <ccr@tnsp.org>
parents: 600
diff changeset
17 stCommonAJAX("showajax.php", "show.php");
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
1065
511147c1e119 Move some of the show.php javascript code to show.js.
Matti Hamalainen <ccr@tnsp.org>
parents: 1041
diff changeset
33 <script type="text/javascript" src="show.js"></script>
125
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 <?
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 cmPrintPageFooter(FALSE);
f364b50e07f7 Some preliminary work on a potential "compo system announcement whatnot
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 ?>