From e801af3ad5cee0864229bff8353ca359d3b5f225 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 30 Oct 2017 17:05:30 +0000 Subject: bf --- src/fextdata.php | 6 +++--- src/private/score.sep | 1 + src/site/getsite.php | 3 ++- src/staff/header.php | 8 ++++---- 4 files changed, 10 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/fextdata.php b/src/fextdata.php index 835c6cc..e126831 100644 --- a/src/fextdata.php +++ b/src/fextdata.php @@ -355,7 +355,7 @@ function getMainXML($contest,$timeo=5,$upd=false) { $opts['http']['header'] .= "\r\nProxy-Authorization: Basic " . $bocaproxypass; $opts['http']['timeout'] = $timeo; $context = stream_context_create($opts); - $logstr .= "Transferring data\n"; + $logstr .= "Transferring data to main server\n"; try { $s = @file_get_contents($siteurl . "site/getsite.php", 0, $context); } catch(Exception $e) { @@ -376,11 +376,11 @@ function getMainXML($contest,$timeo=5,$upd=false) { $chstr = "")); // LOGError("string: " . substr($s,0,50)); - $s = decryptData($s,myhash (trim($sitedata[2])),'xml from main not ok'); + $s = decryptData($s,myhash(trim($sitedata[2])),'xml from main not ok'); if(strtoupper(substr($s,0,5)) != "") { $logstr .= "Data corrupted\n"; return $logstr; diff --git a/src/private/score.sep b/src/private/score.sep index b4798d9..7863dde 100644 --- a/src/private/score.sep +++ b/src/private/score.sep @@ -17,3 +17,4 @@ Peru 108 PuertoRico 123 RepDominicana 121 Venezuela 103 +TEST 99 diff --git a/src/site/getsite.php b/src/site/getsite.php index 8e9cac1..c6f1a16 100644 --- a/src/site/getsite.php +++ b/src/site/getsite.php @@ -48,7 +48,8 @@ if($ct["contestlocalsite"]==$ct["contestmainsite"]) { } if(isset($_POST['updatetime']) && is_numeric($_POST['updatetime'])) { $xml = generateSiteXML($_SESSION["usertable"]["contestnumber"],$fromsite,$_POST['updatetime']); - echo ""; + echo ""; + // echo ""; } } else { echo "\n"; diff --git a/src/staff/header.php b/src/staff/header.php index 21f93f9..10b0338 100644 --- a/src/staff/header.php +++ b/src/staff/header.php @@ -69,11 +69,11 @@ echo " Score\n"; echo " Runs\n"; -echo " Statistics\n"; +//echo " Statistics\n"; -echo " Options\n"; +//echo " Options\n"; echo " Logout\n"; echo " \n"; echo "\n"; -- cgit v1.2.3