Mercurial > hg > fapweb
view pages/results.inc.php @ 571:ce11ea112a65
Change the header blurb a bit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 23 May 2014 17:18:33 +0300 |
parents | ed2247111fdd |
children | dff9b125f774 |
line wrap: on
line source
<? // // FAPWeb - Simple Web-based Demoparty Management System // Competition results page // (C) Copyright 2012-2014 Tecnic Software productions (TNSP) // $showResults = stGetSetting("showResults"); $showAuthors = stGetSetting("showResAuthors"); 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>"; if (!$showAuthors) echo "<p class=\"notice\">Entry authors hidden from normal users.</p>"; $showResults = $showAuthors = TRUE; } if ($showResults) echo stGetCompoResultsASCIIStr($showAuthors, TRUE); else { echo "<p>Sorry, no results available! Nothing to see here, move along.</p>"; } ?>