<?php
include(\"database.php\");
$nick = $_GET[\"nick\"];
$result = mysql_query(\"SELECT * FROM `Accounts` WHERE user = \'$nick\'\");
$row = mysql_fetch_array($result);
header(\"Content-Type: image/png\");
$imgname = \"bootstrap/img/playerstatics.png\";
$im = @imagecreatefrompng($imgname)
or die(\"Cannot Initialize new GD image stream\");
$white = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
imagestring($im, 5, 295, 10, \"$row[user]\", $white);
imagestring($im, 3, 10, 10, \"ADMIN SZINT: $row[adminlvl]\", $black);
imagestring($im, 3, 10, 30, \"PÉNZ: $$row[money]\", $black);
imagestring($im, 3, 10, 50, \"E-MAIL: $row[email]\", $black);
imagestring($im, 3, 10, 70, \"VIP SZINT: $row[viplvl]\", $black);
imagestring($im, 3, 10, 90, \"VIP RANG: $row[viprank]\", $black);
imagestring($im, 3, 160, 10, \"HALÁLOK: $row[deaths]\", $black);
imagestring($im, 3, 160, 30, \"PONT: $row[score]\", $black);
if(!strlen($row[email])) $row[email] = \"Nincs beállítva\";
imagestring($im, 3, 160, 70, \"SKIN: $row[skin]\", $black);
imagepng($im);
imagedestroy($im);
?>
Copyright #
Loc.