view 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
line wrap: on
line source

<?
//
// FAPWeb - Simple Web-based Demoparty Management System
// Party information display system
// (C) Copyright 2012-2015 Tecnic Software productions (TNSP)
//
require_once "mconfig.inc.php";
require_once "msite.inc.php";
require_once "msession.inc.php";

$pageCSS = "css/show.css";

stSetupCacheControl();

cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM",
  "  <script type=\"text/javascript\" src=\"showajax.js.php\"></script>\n".
  "  <script type=\"text/javascript\" src=\"genajax.js\"></script>\n", FALSE);
?>

<noscript>
  <div class="notice">
    <h1>Javascript required</h1>
    <p>
    The compo system page requires Javascript to be enabled for the AJAX functionality.
    <br />
    <a href="#">Please enable Javascript and reload this page</a>.
    </p>
  </div>
</noscript>

<div class="showView" id="mainView"></div>

<?
cmPrintPageFooter(FALSE);
?>