$im = imagecreatefrompng('images/DO-Banner.png'); // Create some colors $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $yellow = imagecolorallocate($im, 255, 255, 0); $black = imagecolorallocate($im, 0, 0, 0); //imagefilledrectangle($im, 0, 0, 399, 29, $white); $sql = "SELECT * FROM bs_dailyorder"; $result = mysql_query($sql); mysql_data_seek($result, mysql_num_rows($result) - 1); $row = mysql_fetch_array($result); // The text to draw $do_region = $row['Region']; $do_country = $row['Country']; $do_id = $row['ID']; // Replace path by your own font path $font = 'ci/system/fonts/texb.ttf'; // Add some shadow to the text imagettftext($im, 20, 0, 66, 78, $black, $font, $do_region); // Add the text imagettftext($im, 20, 0, 65, 77, $yellow, $font, $do_region); imagettftext($im, 14, 0, 275, 38, $white, $font, $do_country); // text // Using imagepng() results in clearer text compared with imagejpeg() echo ""; ob_start(); imagepng($im); printf('
|
Check out this band! (Click Here)
"; ?>
Citizen ID: Citizen Name: IRC Nickname: Clearance: Insignia: Herd: Supply Option: $goldVar = ($gold != 0 ? " | Gold: $gold" : $null); echo " [Food: $food | Tanks: $weapons$goldVar] "; ?> |
Division: Strength: Military Rank: () Rank Points: National Rank: Top Damage: Citizenship: Current Location: , Birthday: Level: Experience: |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
$query3 = "SELECT * FROM bs_accounts WHERE Team = '$dbherd' AND CitizenName != '$name' ORDER BY Insignia DESC"; $result3 = mysql_query($query3) or die("Query failed ($query3) - " . mysql_error()); $numrows3 = mysql_num_rows($result3); if ($numrows3 == 0) { echo "
Citizen Name | Insignia | Strength | Military Rank | National Rank | Top Damage | Commune | |||
---|---|---|---|---|---|---|---|---|---|
![]() | ";
echo "![]() | ";
echo "" . $db_insignia . " | "; echo "" . $db_strength . " | "; echo "" . $db_militaryrank . " | "; echo "" . $db_nationalrank . " | "; echo "" . $db_topdamage . " | "; echo "" . $db_commune . " | "; echo "";
?>
![]() |