From f2ebd9e0c37b461b608fb62ac5b8d14422f830cc Mon Sep 17 00:00:00 2001 From: Bruno Ribas Date: Thu, 5 Nov 2020 15:24:16 -0300 Subject: admin/{claredit,header,run}.php updates from 2018 and 2019 Signed-off-by: Bruno Ribas --- src/admin/claredit.php | 5 +++-- src/admin/header.php | 3 +++ src/admin/run.php | 11 +++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) (limited to 'src/admin') diff --git a/src/admin/claredit.php b/src/admin/claredit.php index cf9785c..6131747 100644 --- a/src/admin/claredit.php +++ b/src/admin/claredit.php @@ -125,13 +125,14 @@ if (($a = DBChiefGetClarToAnswer($clarnumber, $clarsitenumber, Clarification: - + Answer: - + diff --git a/src/admin/header.php b/src/admin/header.php index 116f4f6..59a5d31 100644 --- a/src/admin/header.php +++ b/src/admin/header.php @@ -89,4 +89,7 @@ if(!isset($_POST['noflush'])) { echo " \n"; echo "\n"; } + +//if(decryptData(encryptData("aaaaa","senha"),"senha")) MSGError("yay"); + ?> diff --git a/src/admin/run.php b/src/admin/run.php index cc0bb46..6de559f 100644 --- a/src/admin/run.php +++ b/src/admin/run.php @@ -88,7 +88,16 @@ if(isset($_POST)) { } $us = DBAllUserNames($_SESSION["usertable"]["contestnumber"]); + +for($judged=0; $judged<2; $judged++) { for ($i=0; $i\n"; @@ -156,6 +165,8 @@ for ($i=0; $i\n"; } +} +} echo ""; if (count($run) == 0) echo "
NO RUNS AVAILABLE
"; -- cgit v1.2.3