From c62fa9176141909f7d23cb52ebb2285932879ec8 Mon Sep 17 00:00:00 2001 From: anomen Date: Fri, 27 Jul 2012 19:14:53 +0200 Subject: [PATCH] gc-fallout - certificate --- www-apps/gc-fallout/dev/cert.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/www-apps/gc-fallout/dev/cert.php b/www-apps/gc-fallout/dev/cert.php index 737d7b5..000a5db 100644 --- a/www-apps/gc-fallout/dev/cert.php +++ b/www-apps/gc-fallout/dev/cert.php @@ -20,6 +20,8 @@ $bg = imagecolorallocate($certimg, 0xd0, 0xd0, 0xd0); $red_color = imagecolorallocate($certimg, 0xff, 0x00, 0x00); $text_color = imagecolorallocate($certimg, 0x00, 0x7f, 0x00); $ii = chr(0xED); +$aa = chr(0xE1); +$oo = chr(0xF3); imagefill($certimg, 0, 0, $bg); @@ -47,9 +49,9 @@ foreach($U['perky'] as $perk) { // imagestring($certimg, 5, PERK_WIDTH * 3 / 2, PERK_HEIGHT * ( $i / 3) , 'TEST', $red_color); //} -imagestring($certimg, 5, 20, 10, "${U['login']}", $red_color); -imagestring($certimg, 5, 20, 30, "Pen${ii}ze: ${U['penize']} | Karma: ${U['karma']} | J${ii}dlo: ${U['jidlo']}", $text_color); -imagestring($certimg, 5, 180, 10, "Skore ${U['skore']}", $text_color); +imagestring($certimg, 5, 250, 10, "${U['login']}", $red_color); +imagestring($certimg, 5, 600, 10, "Z${aa}tky: ${U['penize']} | Karma: ${U['karma']} | J${ii}dlo: ${U['jidlo']}", $text_color); +imagestring($certimg, 5, 50, 10, "Sk${oo}re ${U['skore']}", $text_color); //imagejpeg($certimg, NULL, 90); imagepng($certimg); -- 2.11.4.GIT