aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Ribas <brunoribas@gmail.com>2020-11-16 18:32:16 +0000
committerBruno Ribas <brunoribas@gmail.com>2020-11-16 18:32:16 +0000
commitc13bc2bca5ad0e2ac93b4c36c2c496190c0bcfda (patch)
tree5cce90cc35f89b94e7234e1dd251de4d377ebcf1
parent9a199937f418af7e618e5ddfbda06854f29439b0 (diff)
downloadboca-c13bc2bca5ad0e2ac93b4c36c2c496190c0bcfda.tar.gz
boca-c13bc2bca5ad0e2ac93b4c36c2c496190c0bcfda.zip
judge/runchief.php: chief knows the teams
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
-rw-r--r--src/judge/runchief.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/judge/runchief.php b/src/judge/runchief.php
index b124fd8..ce0e29c 100644
--- a/src/judge/runchief.php
+++ b/src/judge/runchief.php
@@ -46,6 +46,7 @@ $order = myhtmlspecialchars($_GET["order"]);
<td><b><a href="<?php echo $runphp; ?>?order=judge">Judge (Site)</a></b></td>
<td><b>AJ</b></td>
<td><b><a href="<?php echo $runphp; ?>?order=answer">Answer</a></b></td>
+ <td><b>Team</b></td>
</tr>
<?php
if (($s=DBSiteInfo($_SESSION["usertable"]["contestnumber"],$_SESSION["usertable"]["usersitenumber"])) == null)
@@ -163,6 +164,8 @@ for ($i=0; $i<count($run); $i++) {
}
echo "</td>\n";
}
+ $u = DBUserInfo ($_SESSION["usertable"]["contestnumber"], $run[$i]["site"], $run[$i]["user"]);
+ echo "<td>".$u["username"]."</td>";
echo " </tr>\n";
}
}