aboutsummaryrefslogtreecommitdiff
path: root/old/webcast/runs
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-08-10 10:35:53 +0000
commit02b4aacc81613792b0fa618692145dc1e2989e42 (patch)
treeda7e9da7a587e8ffa9032ebf02a1022a315e9305 /old/webcast/runs
parente1b61094597488dcb3ef166013186b07bf379d76 (diff)
downloadboca-02b4aacc81613792b0fa618692145dc1e2989e42.tar.gz
boca-02b4aacc81613792b0fa618692145dc1e2989e42.zip
removal of old files, preparation for https
Diffstat (limited to 'old/webcast/runs')
-rw-r--r--old/webcast/runs/index.php41
1 files changed, 0 insertions, 41 deletions
diff --git a/old/webcast/runs/index.php b/old/webcast/runs/index.php
deleted file mode 100644
index e28567e..0000000
--- a/old/webcast/runs/index.php
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-
-require '../../db.php';
-require '../config.php';
-
-header('Content-type: text/plain; encoding=utf-8');
-
-$s = DBSiteInfo($contest, $site);
-
-$run = DBAllRunsInSites($contest, $site, 'run');
-
-$numRuns = count($run);
-
-for ($i = 0; $i < $numRuns; $i++) {
- $u = DBUserInfo($contest, $site, $run[$i]['user']);
-
- $runID = $run[$i]['number'];
- $runTime = dateconvminutes($run[$i]['timestamp']);
- $runTeam = $u['username'];
- $runProblem = $run[$i]['problem'];
-
- if ($runTime > $freezeTime) {
- continue;
- }
-
- echo
- $runID . '' .
- $runTime . '' .
- $runTeam . '' .
- $runProblem . '';
-
- if ($run[$i]['yes']=='t') {
- echo 'Y' . "\n";
- } else if ($run[$i]['answer'] == 'Not answered yet') {
- echo '?' . "\n";
- } else {
- echo 'N' . "\n";
- };
-}
-
-?>