Mercurial > hg > fapweb
view pages/results.inc.php @ 792:b42b23073209
Improve printing of results with more options (in the admin interface).
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 21 Nov 2014 21:42:47 +0200 |
parents | dff9b125f774 |
children | ffacd904fd1f |
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"); 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>"; } ?>