<?php /** * Produce a total score. Call with parameter 'static' for * output suitable for static HTML pages. * * Part of the DOMjudge Programming Contest Jury System and licenced * under the GNU GPL. See README and COPYING for details. */ require 'init.php'; $title = "Scoreboard"; // set auto refresh $refresh = array("after" => "30", "url" => "./"); // This reads and sets a cookie, so must be called before headers are sent. $filter = initScorefilter(); $menu = true; require LIBWWWDIR . '/header.php'; $isstatic = @$_SERVER['argv'][1] == 'static' || isset($_REQUEST['static']); if (!$isstatic) { echo "<div id=\"menutopright\">\n"; putClock(); echo "</div>\n"; } // call the general putScoreBoard function from scoreboard.php putScoreBoard($cdata, null, $isstatic, $filter); echo "<script type=\"text/javascript\">initFavouriteTeams();</script>"; require LIBWWWDIR . '/footer.php';
<?php /** * Scoreboard * * Part of the DOMjudge Programming Contest Jury System and licenced * under the GNU GPL. See README and COPYING for details. */ require 'init.php'; $refresh = '30;url=scoreboard.php'; $title = 'Scoreboard'; $printercss = TRUE; require LIBWWWDIR . '/scoreboard.php'; // This reads and sets a cookie, so must be called before headers are sent. $filter = initScorefilter(); require LIBWWWDIR . '/header.php'; // call the general putScoreBoard function from scoreboard.php putScoreBoard($cdata, NULL, FALSE, $filter); require LIBWWWDIR . '/footer.php';
<?php /** * Scoreboard * * Part of the DOMjudge Programming Contest Jury System and licenced * under the GNU GPL. See README and COPYING for details. */ $pagename = basename($_SERVER['PHP_SELF']); require 'init.php'; $refresh = array('after' => 30, 'url' => 'scoreboard.php'); $title = 'Scoreboard'; // This reads and sets a cookie, so must be called before headers are sent. $filter = initScorefilter(); require LIBWWWDIR . '/header.php'; // call the general putScoreBoard function from scoreboad.php putScoreBoard($cdata, $teamid, FALSE, $filter); require LIBWWWDIR . '/footer.php';