Mercurial > hg > fapweb
view pages/results.inc.php @ 629:894a4a6bfb5f fap2013
Better fix for the DB migration issue.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 01 Nov 2014 07:03:10 +0200 |
parents | ce11ea112a65 |
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>"; } ?>