if(empty($msg)){ print("
"); } else{ $im = imageCreateFromGif("/web/proj/playout/ban/cur.gif"); $msgLen = strlen($msg); if($msgLen == 5){ include("motif/$msgLen.php"); //corner yellow with blue 45 angle text and logo }else{ $blue = ImageColorAllocate($im,0x2c,0x6D,0xCF); ImageTTFText($im, 50, 0, 40, 60, $blue, "/usr/fonts/actionis.ttf", $msg); } ImageGif($im,"/web/dev/ban/cur.gif"); ImageDestroy($im); print(""); } ?>