diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-06-05 11:52:54 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-06-05 11:52:54 +0000 |
| commit | 0fc1ba6dff3238360a0a0da3b7cc65b86b911c63 (patch) | |
| tree | 59451a4fd9f67a294d5be1c954661d4f3354d9c8 /src/balloon.php | |
| parent | 64451b33aa22fc5b96abc65bb416a2e0c78a2a98 (diff) | |
| download | boca-0fc1ba6dff3238360a0a0da3b7cc65b86b911c63.tar.gz boca-0fc1ba6dff3238360a0a0da3b7cc65b86b911c63.zip | |
Diffstat (limited to 'src/balloon.php')
| -rw-r--r-- | src/balloon.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/balloon.php b/src/balloon.php index ae5e186..81b7b5c 100644 --- a/src/balloon.php +++ b/src/balloon.php @@ -1,4 +1,5 @@ <?php + //////////////////////////////////////////////////////////////////////////////// //BOCA Online Contest Administrator // Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com) @@ -16,6 +17,7 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. //////////////////////////////////////////////////////////////////////////////// // Last modified 05/aug/2012 by cassio@ime.usp.br + ob_start(); header ("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); @@ -27,11 +29,15 @@ ob_end_flush(); require_once('fballoon.php'); $get_s=false; + if(isset($_GET["s"])) $get_s=true; + $get_color=null; + if(isset($_GET["color"])) $get_color=$_GET["color"]; balloonpng($_SESSION["locr"],$get_s,$get_color,null); + ?> |