From 02b4aacc81613792b0fa618692145dc1e2989e42 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Thu, 10 Aug 2017 11:35:53 +0100 Subject: removal of old files, preparation for https --- old/webcast/config.php | 25 ------------------ old/webcast/contest/index.php | 61 ------------------------------------------- old/webcast/index.php | 1 - old/webcast/runs/index.php | 41 ----------------------------- old/webcast/time/index.php | 12 --------- old/webcast/version/index.php | 10 ------- 6 files changed, 150 deletions(-) delete mode 100644 old/webcast/config.php delete mode 100644 old/webcast/contest/index.php delete mode 120000 old/webcast/index.php delete mode 100644 old/webcast/runs/index.php delete mode 100644 old/webcast/time/index.php delete mode 100644 old/webcast/version/index.php (limited to 'old/webcast') diff --git a/old/webcast/config.php b/old/webcast/config.php deleted file mode 100644 index b16deb6..0000000 --- a/old/webcast/config.php +++ /dev/null @@ -1,25 +0,0 @@ - 0) - $freezeTime = $ct['siteduration']; -else - $freezeTime = $ct['sitelastmilescore']; - -?> diff --git a/old/webcast/contest/index.php b/old/webcast/contest/index.php deleted file mode 100644 index 3efc719..0000000 --- a/old/webcast/contest/index.php +++ /dev/null @@ -1,61 +0,0 @@ - 0'); - -$numProblems = DBnlines($r); - -$r = DBExec($c, - 'SELECT username, userfullname FROM usertable' . - ' WHERE contestnumber = ' . $contest . - ' AND userenabled = \'t\' AND usersitenumber = ' . $site . - ' AND usertype = \'team\''); - -$numTeams = DBnlines($r); - -echo - $numTeams . '' . - $numProblems . "\n"; - -for ($i = 0; $i < $numTeams; $i++) { - $a = DBRow($r, $i); - $teamID = $a['username']; - if(isset($a['usershortname'])) - $teamName = $a['usershortname']; - else - $teamName = $a['userfullname']; - if(isset($a['usershortinstitution'])) - $teamUni = $a['usershortinstitution']; - else - $teamUni = $teamName; - - echo - $teamID . '' . - $teamUni . '' . - $teamName . "\n"; -} - -echo '1' . '' . '1' . "\n"; -echo $numProblems . '' . 'Y' . "\n"; - -?> diff --git a/old/webcast/index.php b/old/webcast/index.php deleted file mode 120000 index 4e9b47a..0000000 --- a/old/webcast/index.php +++ /dev/null @@ -1 +0,0 @@ -config.php \ No newline at end of file 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 @@ - $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"; - }; -} - -?> diff --git a/old/webcast/time/index.php b/old/webcast/time/index.php deleted file mode 100644 index 061c81f..0000000 --- a/old/webcast/time/index.php +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/old/webcast/version/index.php b/old/webcast/version/index.php deleted file mode 100644 index 4d474a2..0000000 --- a/old/webcast/version/index.php +++ /dev/null @@ -1,10 +0,0 @@ - -- cgit v1.2.3