?> <input type="hidden" name="guild_edit_id" value="<?php echo $guild->id; ?> "> <table> <tr class="header"> <th colspan="2">Edit Guild</th> </tr> <tr> <th valign="top" width="20%">Description:</th> <td> <table> <tr class="transparent nopadding"> <td valign="top"><textarea name="guild_description"><?php echo lines($guild->description(), 5); ?> </textarea></td> </tr> </table> </td> </tr> <tr class="transparent noborderpadding"> <th></th> <td> <input type="submit" value="Submit" class="button"> <a href="<?php echo url('?subtopic=guilds&name=' . $guild->name()); ?> " class="button">Back</a>
} else { ?> <img src="<?php echo assets('storage/guild_images/default_guild.gif'); ?> " width="64" height="64"> <?php } ?> </th> </tr> <tr class="transparent noborderpadding"> <td colspan="3"> <p><?php echo nl2br(e(lines($guild->description(), 5))); ?> </p> </td> </tr> </table> <?php if ($guild->isOwner()) { ?> <table> <tr class="transparent noborderpadding"> <td> <a href="<?php echo url('?subtopic=guilds&name=' . $guild->name() . '&action=edit'); ?>
// Vertical position of the current value imagettftext($image, $font_size, $angle, $x, $y, $text_color, $font, $value); // Create the text //Random value inserted inside each the CAPTCHA $text_color2 = imagecolorallocatealpha($image, $text_colorr, $text_colorg, $text_colorb, 127); $randomvalue = randomname(1); $randomposition = mt_rand(-5, 5); imagettftext($image, $font_size, $angle, $x + $randomposition, $y + $randomposition, $text_color2, $font, $randomvalue); } // Waving the image $x = 0; $y = 0; $period = 10; wave_image($image, $x, $y, $image_width, $image_height, $amplitude); // Using lines function to create lines lines($image, $image_width, $image_height); // Create the image imagejpeg($image); } else { if ($_GET['lvl'] === "Captcha_with_noisy_background" and !empty($_GET['text'])) { header("Pragma: "); header("Cache-Control: "); header('Content-type: image/jpeg'); header("Content-Disposition: inline; filename=\"" . basename($name) . "\""); // Name the picture $image = imagecreatetruecolor($image_width, $image_height); // Create the image $background = imagecolorallocate($image, 0, 0, 0); //Create a noisy background imagefill($image, 0, 0, $background); for ($x = 0; $x < $image_width; $x++) { for ($y = 0; $y < $image_width; $y++) { $dotscolor = imagecolorallocate($image, mt_rand(145, 255), mt_rand(145, 255), mt_rand(145, 255));