Mercurial > hg > fapweb
view pages/results.inc.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 | ffacd904fd1f |
children | 7e497188e4c6 |
line wrap: on
line source
<? // // FAPWeb - Simple Web-based Demoparty Management System // Competition results page // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) // $showResults = stGetSetting("showResults"); echo "<h1>Results</h1>\n"; // Show everything for the admin session if (stAdmSessionAuth()) { if (!$showResults) echo "<p class=\"notice\">Results hidden from normal users.</p>"; $showResults = TRUE; } if ($showResults) echo stGetCompoResultsASCIIStr(TRUE, RFLAG_NORMAL); else { echo "<p>Sorry, no results available! Nothing to see here, move along.</p>"; } ?>