Location: PHPKode > scripts > Mod's Signature Generator > mods-signature-generator/siggy.php
<?
header("Content-Type: image/png");
$text = $_POST['texting'];
$text2 = $_POST['texting2'];
$text3 = $_POST['texting3'];
$text4 = $_POST['texting4'];
$text5 = $_POST['texting5'];
$raced = $_POST['race'];
$raced = $_REQUEST['race'];
$tierd = $_POST['tier'];
$tierd = $_REQUEST['tier'];

If ( $raced == "Female Orc Mage" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarFemaleM6.png");
}
If ( $raced == "Female Orc Priest" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarFemaleP6.png");
}
If ( $raced == "Orc Mage" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarMaleM6.png");
}
If ( $raced == "Orc Priest" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarMaleP6.png");
}
If ( $raced == "Orc Warrior" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarMaleW6.png");
}
If ( $raced == "Orc Rogue" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("KarMaleR6.png");
}
If ( $raced == "Male Human Priest" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumMaleP6.png");
}
If ( $raced == "Male Human Warrior" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumMaleW6.png");
}
If ( $raced == "Male Human Rogue" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumMaleR6.png");
}
If ( $raced == "Male Human Mage" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumMaleM6.png");
}
If ( $raced == "Female Human Priest" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumFemaleP6.png");
}
If ( $raced == "Female Human Warrior" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumFemaleW6.png");
}
If ( $raced == "Female Human Rogue" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumFemaleR6.png");
}
If ( $raced == "Female Human Mage" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumFemaleMage6.png");
}
If ( $raced == "Human Barbarian" AND $tierd == "Chitin Shell") {
$im = imagecreatefrompng("HumBarbW6.png");
}
$color = imagecolorallocate($im, 0, 0, 0);
$color2 = imagecolorallocate($im, 0, 0, 0);
$width = imagesx($im);
$height = imagesy($im);
$font = 3;
$font2 = 5;
$text = $_REQUEST['texting'];
$text2 = $_REQUEST['texting2'];
$text3 = $_REQUEST['texting3'];
$text4 = $_REQUEST['texting4'];
$text5 = $_REQUEST['texting5'];
$leftTextPos = ( $width - imagefontwidth(5)*strlen($text)-100);
$leftTextPos = ( $width - imagefontwidth(5)*strlen($text2)-100);
$leftTextPos = ( $width - imagefontwidth(5)*strlen($text3)-100);
$leftTextPos = ( $width - imagefontwidth(5)*strlen($text4)-100);
$leftTextPos = ( $width - imagefontwidth(5)*strlen($text5)-100);
$text = $_REQUEST['texting'];
$text2 = $_REQUEST['texting2'];
$text3 = $_REQUEST['texting3'];
$text4 = $_REQUEST['texting4'];
$text5 = $_REQUEST['texting5'];
imagestring($im, $font2, $leftTextPos, $height-100, "$text", $color);
imagestring($im, $font, $leftTextPos, $height-82, "Clan: $text2", $color2);
imagestring($im, $font, $leftTextPos, $height-66, "NP: $text4", $color);
imagestring($im, $font, $leftTextPos, $height-51, "Level: $text3", $color2);
imagestring($im, $font, $leftTextPos, $height-36, "Server: $text5", $color);
imagepng($im);
imagedestroy($im);
?>
Return current item: Mod's Signature Generator