diff options
| author | Bruno Ribas <brunoribas@gmail.com> | 2020-11-05 19:08:50 +0000 |
|---|---|---|
| committer | Bruno Ribas <brunoribas@gmail.com> | 2020-11-05 19:08:50 +0000 |
| commit | 47ab1e05f6246b2ff269dbca490f5282f1528798 (patch) | |
| tree | cc798ee4afb152e0a8dfd9ad37c4b1440f4675cf /src | |
| parent | 3d0717ae8b300e647b326b95162ebd9d93a47215 (diff) | |
| download | boca-47ab1e05f6246b2ff269dbca490f5282f1528798.tar.gz boca-47ab1e05f6246b2ff269dbca490f5282f1528798.zip | |
team/problem.php updated
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/team/problem.php | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/src/team/problem.php b/src/team/problem.php index a411760..23ade30 100644 --- a/src/team/problem.php +++ b/src/team/problem.php @@ -22,7 +22,34 @@ if(($ct = DBContestInfo($_SESSION["usertable"]["contestnumber"])) == null) ForceLoad("../index.php"); ?> -<br> +<br><b>Information:</b> +<?php +/* +<br>General information: <a href="https://global.naquadah.com.br/boca/info_sheet.pdf">info_sheet.pdf</a> + +<br>Timelimits: +<a href="https://global.naquadah.com.br/boca/contest_times.pdf">contest_times.pdf</a> + */ + +if(is_readable('/var/www/boca/src/pdfwarm19/info_sheet.pdf')) { +?> +<a href="https://global.naquadah.com.br/boca/pdfwarm19/info_sheet.pdf">info_sheet.pdf</a> +<?php +} +if(is_readable('/var/www/boca/src/pdfOLL123/contest_onesided.pdf')) { +?> + <a href="https://global.naquadah.com.br/boca/pdfOLL123/contest_onesided.pdf">contest.pdf</a> +<?php +} +if(is_readable('/var/www/boca/src/pdfOLL123/contest_times.pdf')) { +?> + <a href="https://global.naquadah.com.br/boca/pdfOLL123/contest_times.pdf">contest_times.pdf</a> +<?php +} +?> + + +<br><br><br> <table width="100%" border=1> <tr> <td><b>Name</b></td> @@ -31,7 +58,7 @@ if(($ct = DBContestInfo($_SESSION["usertable"]["contestnumber"])) == null) <td><b>Descfile</b></td> </tr> <?php -$prob = DBGetProblems($_SESSION["usertable"]["contestnumber"]); +$prob = DBGetProblems($_SESSION["usertable"]["contestnumber"],false); for ($i=0; $i<count($prob); $i++) { echo " <tr>\n"; // echo " <td nowrap>" . $prob[$i]["number"] . "</td>\n"; @@ -51,7 +78,7 @@ for ($i=0; $i<count($prob); $i++) { echo " </tr>\n"; } echo "</table>"; -if (count($prob) == 0) echo "<br><center><b><font color=\"#ff0000\">NO PROBLEMS AVAILABLE YET</font></b></center>"; +if (count($prob) == 0) echo "<br><center><b><font color=\"#ff0000\">NO PROBLEMS AVAILABLE</font></b></center>"; ?> </body> |