From 8e871d80713c9dfd916ff5233dea633f19711a83 Mon Sep 17 00:00:00 2001 From: anomen Date: Wed, 1 Aug 2012 21:59:13 +0200 Subject: [PATCH] gc-fallout - minor changes by jedie --- www-apps/gc-fallout/dev/cert.php | 7 ++++++- www-apps/gc-fallout/dev/index.php | 7 ++++--- www-apps/gc-fallout/dev/styles.css | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/www-apps/gc-fallout/dev/cert.php b/www-apps/gc-fallout/dev/cert.php index 5641572..794c7a3 100644 --- a/www-apps/gc-fallout/dev/cert.php +++ b/www-apps/gc-fallout/dev/cert.php @@ -28,7 +28,7 @@ $text_color = imagecolorallocate($certimg, 0x00, 0x7f, 0x00); $ii = chr(0xED); $aa = chr(0xE1); $oo = chr(0xF3); - +$pperku = count($U['perky']); imagefill($certimg, 0, 0, $bg); $bg_img = imagecreatefrompng("img/cert_bg.png"); @@ -61,6 +61,11 @@ imagestring($certimg, 5, 50, 10, "Sk${oo}re ${U['skore']}", $text_color); if (!empty($U['cheater'])) { imagestring($certimg, 5, 900, 740, "Ch ${U['cheater']}", $text_color); } +if (!empty($U['perky'])) { + imagestring($certimg, 5, 650, 440, "Nalezeno ${pperku} ze 16 perku", $text_color); +} + + imagejpeg($certimg, NULL, 90); //imagepng($certimg); diff --git a/www-apps/gc-fallout/dev/index.php b/www-apps/gc-fallout/dev/index.php index dd2c310..d21b444 100644 --- a/www-apps/gc-fallout/dev/index.php +++ b/www-apps/gc-fallout/dev/index.php @@ -39,7 +39,7 @@ $valid = true;
-
+
@@ -62,13 +62,14 @@ $valid = true;
- +
- + +
diff --git a/www-apps/gc-fallout/dev/styles.css b/www-apps/gc-fallout/dev/styles.css index 17ac938..2e7d802 100644 --- a/www-apps/gc-fallout/dev/styles.css +++ b/www-apps/gc-fallout/dev/styles.css @@ -9,7 +9,7 @@ div#input_div { background-color: black; width : 400px; margin : auto; - margin-top:60px; + margin-top:50px; } -- 2.11.4.GIT